log Logarithm Calculator
Calculate common log, natural log, and custom-base logarithms with change-of-base steps and inverse-power checks.
log, ln, and Custom Base — Inverse of Exponentiation
BrainyCalculators editorial insight — unique to this tool
log₁₀(1000) = 3; ln(e) = 1. pH = −log₁₀[H⁺] in chemistry; decibels use log scale for sound intensity. log₂ appears in algorithm complexity (O(n log n)) and information theory (entropy bits).
When to use this calculator
Use when solving equations or evaluating logs in any base. For powers directly, use Exponent.
Raising a number to a power instead?
This page finds logarithms. For power evaluation and scientific notation, use the Exponent Calculator →
Logarithm
Antilogarithm
Enter a log value to find the original number (base^value).
What is a Logarithm Calculator?
A logarithm calculator finds log₁₀, ln, or log_b(x) and shows change-of-base working. Logarithms answer “to what power must the base be raised to get x?”
Use this page for pH, decibels, compound growth inversion, and log-scale data. It is the inverse of exponentiation, not a general equation solver.
For b^n directly, use the Exponent Calculator. For polynomial or matrix work, use Algebra or Matrix tools instead.
Logarithm Formulas
Worked Examples
Example — log₅(125)
Example — Antilog of 3
How the Logarithm Calculator Works
Formula, assumptions, and calculation steps for this math tool.
Methodology
Math calculators apply the relevant arithmetic, algebraic, geometric, or numeric rule to the values entered and simplify the result where possible.
Calculation Steps
- Read the values and operation selected.
- Normalize signs, decimals, fractions, or units if needed.
- Apply the mathematical rule or formula.
- Format the answer and any intermediate values for checking.
Assumptions and Limits
- Inputs must be within the supported domain of the operation.
- Decimal answers may be rounded for readability.
- Symbolic simplification is limited to the calculator scope.
Frequently Asked Questions
A logarithm answers the question: to what exponent must we raise the base to get a given number? If logₐ(x) = y, then aʸ = x. Logarithms are the inverse of exponentiation.
log (common logarithm) uses base 10, while ln (natural logarithm) uses base e ≈ 2.71828. ln appears naturally in calculus, growth/decay models, and statistics, while log base 10 is common in chemistry (pH) and engineering (decibels).
The change-of-base formula allows computing logₐ(x) using any other base: logₐ(x) = log(x)/log(a) = ln(x)/ln(a). This is how calculators compute logarithms in arbitrary bases.
The antilogarithm is the inverse of the logarithm. If log(x) = y, then the antilog of y is x = 10ʸ. For natural logs, the antilog of y is eʸ. Antilogs are used to reverse logarithmic transformations.
Real-World Applications
Common Mistakes
Logarithm Laws Quick Reference
| Law | Formula | Example |
|---|---|---|
| Product rule | log(ab) = log a + log b | log(100) = log(10) + log(10) = 2 |
| Quotient rule | log(a/b) = log a − log b | log(1000/10) = 3 − 1 = 2 |
| Power rule | log(aⁿ) = n·log a | log(10⁶) = 6·log(10) = 6 |
| Change of base | log_b(x) = ln x / ln b | log₂(8) = ln 8 / ln 2 = 3 |
| Identity | log_b(b) = 1 | log₁₀(10) = 1; ln(e) = 1 |
| Zero | log_b(1) = 0 | log(1) = 0; ln(1) = 0 |
References
- Napier, John. Mirifici Logarithmorum Canonis Descriptio. Edinburgh, 1614.
- Stewart, James. Calculus: Early Transcendentals. Cengage, 2015.
- Abramowitz, M. and Stegun, I.A. Handbook of Mathematical Functions. Dover, 1965.
- NIST. NIST Digital Library of Mathematical Functions — Logarithm Function. dlmf.nist.gov, 2024.
- Knuth, Donald. The Art of Computer Programming, Vol. 2 — Seminumerical Algorithms. Addison-Wesley, 1997.
Related Calculators
Browse all Math calculators →Exponent Calculator
Calculate exponents, powers, and scientific notation instantly.
Root Calculator
Calculate square root, cube root, and nth root of any number.
Scientific Calculator
Full-featured scientific calculator with trigonometry, logarithms, and advanced math functions.