Logarithm Calculator
Free online logarithm calculator. Natural log, log base 10, custom base. Accurate and easy to use.
Base must be positive and not 1
log10(100) = 2.000000
Natural log (ln)
4.605170
Log₁₀
2.000000
Antilog: 10^2.000000 = 100.000000
Rule: logₐ(b) = ln(b) / ln(a) = 4.605170 / 2.302585
Embed this tool
Copy and paste the code below into your website to embed this tool for free. An attribution link to The Util Box is required.
<iframe src="https://www.theutilbox.org/embed/logarithm-calculator" width="600" height="500" frameborder="0" style="border: none; max-width: 100%;" title="Free Logarithm Calculator tool from The Util Box"></iframe> <!-- Free tool by The Util Box — https://www.theutilbox.org/tools/logarithm-calculator --> <a href="https://www.theutilbox.org/tools/logarithm-calculator">Logarithm Calculator by The Util Box</a>
Frequently Asked Questions about Logarithm Calculator
Logarithm Calculator — Any Base, with the Change of Base Rule
This logarithm calculator works in base 10, base e, base 2 or any base you care to type, and shows the change-of-base working that produces the answer. Alongside the result you get the natural logarithm, the base-10 logarithm and the antilogarithm.
The rule it applies is the one worth memorising:
logₐ(b) = ln(b) / ln(a). That single identity is what lets you evaluate a
logarithm in any base using the natural log you have a calculator for.
The Buttons Explained
log₁₀
The common logarithm — the one on the base-10 button of a scientific calculator, and the scale that Richter and pH both use.
ln (e)
The natural logarithm, with base e ≈ 2.71828. This is the form that appears in calculus and in compound interest growth.
lb (2)
The binary logarithm, used wherever doubling is the natural step — Shannon's information content and decibel scales both rest on it.
Custom
Any other base you type. The antilogarithm is shown for the preset bases but not for a custom one.
Honest Limits
- The base warning is shown at the wrong moment. The "Base must be positive and not 1" message appears when the base is valid rather than when it is invalid, so an unusable base gives you the generic "Enter a positive value and valid base" prompt instead of the specific reason.
- A base of exactly 1 is undefined — every power of 1 is 1, so no logarithm to base 1 exists — and the tool correctly refuses to compute it.
- Negative and zero values have no logarithm, and the value field does report that properly.
- Results are shown to six decimal places, and there is no significant-figures control for when that is not enough precision.
Related Calculators
- Exponent Calculator — the other direction, and the exact inverse of a logarithm.
- Scientific Calculator — the general numeric workbench.
- Compound Interest Calculator — where the natural logarithm does the real work.
- Number Sequence Generator — for the sequences logarithms describe.
- Rounding Calculator — when six decimal places is not the precision you need.
- Decimal to Fraction — for the exact rational behind a decimal result.
- Base64 Decoder — the encoding that hides in plain sight.
The calculation runs entirely in your browser and works offline.