Logarithm Calculator
Choose a mode, enter your values, and get instant step-by-step logarithm calculations with full verification
log(1000) = 3 · log(1) = 0 · log(0.1) = -1Calculation Summary
Step-by-Step Working
Verification — Reverse Check
Related Log Values
Full Details
What Is a Logarithm? A Complete Beginner's Guide
Understand logarithms from first principles — definition, notation, bases, and why logarithms matter in science and engineering
A logarithm answers the question: "What power must I raise the base to, in order to get this number?" Written formally: if bx = N, then logb(N) = x. The logarithm and the exponential are exact inverses of each other — just as multiplication and division are inverses.
For example: since 103 = 1000, we write log10(1000) = 3. Since 28 = 256, we write log2(256) = 8. Since e1 = e ≈ 2.718, we write ln(e) = 1.
There are three logarithm types you will encounter most often: log₁₀ (common logarithm, written as just "log"), ln (natural logarithm, base e ≈ 2.71828), and log₂ (binary logarithm, widely used in computer science and information theory). Each has the same rules — only the base differs.
Laws of Logarithms — Complete Reference Table
Every logarithm rule and identity you need, with examples and practical applications
| Law / Rule | Formula | Example | Used For |
|---|---|---|---|
| Product Rule | log(AB) = log A + log B | log(200) = log(2) + log(100) | Splitting products into sums |
| Quotient Rule | log(A/B) = log A − log B | log(50) = log(100) − log(2) | Splitting fractions into differences |
| Power Rule | log(A^n) = n · log A | log(1000) = 3 · log(10) = 3 | Bringing exponents down as multipliers |
| Change of Base | log_b(N) = ln(N) / ln(b) | log₂(8) = ln(8)/ln(2) = 3 | Computing any-base log with ln or log |
| Log of 1 | log_b(1) = 0 | log(1) = 0 · ln(1) = 0 | Any base raised to 0 = 1 |
| Log of Base | log_b(b) = 1 | log(10) = 1 · ln(e) = 1 | Any base raised to 1 = itself |
| Inverse Identity | b^(log_b(N)) = N | 10^(log 500) = 500 | Antilog is the inverse of log |
| Reciprocal Rule | log_b(1/N) = −log_b(N) | log(0.01) = −log(100) = −2 | Log of fractions less than 1 are negative |
| Root Rule | log(√N) = ½ · log(N) | log(√1000) = 1.5 | Roots as fractional powers: √N = N^(1/2) |
How to Use This Logarithm Calculator
Guide to all five modes — log₁₀, natural log, any-base, antilog, and log equation solver
- 1
Choose Your Calculator Mode
Log (base 10) — find log₁₀(N) for any positive number. Ln (Natural) — find ln(N) = logₑ(N). Any Base — compute log_b(N) for any base b and number N using change-of-base. Antilog — reverse a log: find b^x given base and exponent. Log Equation — solve log_b(x) = c for x.
- 2
Use Quick Examples or Enter Your Values
Click any quick-example button to auto-fill a sample calculation, or type your own values. All inputs accept positive real numbers. The base must be greater than 0 and not equal to 1. The number N must be greater than 0.
- 3
Click "Calculate — Show Step-by-Step"
The calculator shows: the exact result (up to 10 decimal places), a fully annotated step-by-step working using the relevant log rules, characteristic and mantissa breakdown for log₁₀, and which law of logarithms applies at each step.
- 4
Review the Verification
After every calculation, the result is automatically verified by computing the inverse operation. For log: 10^(result) is shown to equal N. For antilog: log(result) equals the input. This confirms accuracy and reinforces the log↔antilog relationship.
- 5
Explore Related Values & Share
The Related Log Values panel shows log, ln, log₂, and antilog all for the same input — great for comparing across bases. Copy the full solution, share on WhatsApp, or tweet it.
Real-World Applications of Logarithms
Where logarithms appear in science, engineering, finance, and everyday life
Richter Scale (Earthquakes)
Each unit increase on the Richter scale represents a 10× increase in amplitude and ~31.6× more energy. A magnitude 7.0 earthquake releases 1,000× more energy than a 5.0. This is a base-10 logarithmic scale.
pH Scale (Chemistry)
pH = −log₁₀[H⁺]. Each pH unit represents a 10× change in hydrogen ion concentration. pH 3 (vinegar) is 10× more acidic than pH 4 and 100× more acidic than pH 5. A perfect example of log compression.
Decibels (Sound)
dB = 10 · log₁₀(I/I₀). Every 10 dB increase represents a 10× increase in intensity. A 60 dB conversation is 1,000× more intense than a 30 dB whisper. Logarithms match human perception of loudness.
Compound Interest & Finance
To find how long it takes to double money at rate r: t = ln(2)/ln(1+r). The Rule of 72: years to double ≈ 72/interest rate%. Logarithms appear in Black-Scholes options pricing and information entropy in portfolio theory.
Algorithm Complexity (CS)
Binary search on n elements takes log₂(n) steps. Searching 1 billion items takes only 30 comparisons. Merge sort runs in O(n log n). Logarithms are why efficient algorithms can handle enormous datasets in milliseconds.
Radioactive Decay
N(t) = N₀·e^(−λt). To find the half-life: t½ = ln(2)/λ. To find when only 10% remains: t = ln(0.1)/(-λ). Natural logs (ln) appear throughout all exponential decay and growth problems in physics and biology.
Frequently Asked Questions — Logarithm Calculator
Answers to the most common logarithm questions from students and learners