Calculate and convert logarithms effortlessly. Master any base with ease using this intuitive tool—explore your math potential and verify results fast.
You're just a few steps away from mastering logarithms!
A logarithm answers the question: "To what power must a base number be raised to obtain a given value?"
logb(x) = y ⟺ b^y = x
Most calculators support only log base 10 (log) or base e (ln). To compute logarithms of other bases, use:
logb(x) = logc(x) / logc(b)
logb(x) = y ⟺ b^y = x
logc(b^y) = logc(x)
y * logc(b) = logc(x)
y = logc(x) / logc(b)
If your investment doubles every 10 years, to grow 8x:
log2(8) = 3 → 3 × 10 = 30 years
To search 1024 items using binary search:
log2(1024) = 10 → 10 comparisons max
Try the calculator now and turn complex logs into clear answers in seconds!
Input | Base | Result | Explanation |
---|---|---|---|
100 | 10 | 2 | 102 = 100 |
8 | 2 | 3 | 23 = 8 |
1000 | e | 6.908 | e6.908 ≈ 1000 |
1 | 5 | 0 | Any base raised to 0 equals 1 |
256 | 2 | 8 | 28 = 256 |
0 | 10 | Undefined | log10(0) is undefined (approaches -∞) |
-5 | 2 | Undefined | logarithms of negative numbers are undefined in real numbers |
10 | 1 | Undefined | Base 1 makes the function degenerate (1^x = 1) |