🪵 Log Calculator
Log Calculator
Change of Base
logb(x) = log(x) ÷ log(b) — any logarithm as a fraction of base-10 logs your keypad already has.
A logarithm answers the question “how many times must I multiply the base by itself to get this number?” Since 10³ = 1000, log₁₀(1000) = 3. Logs turn multiplication into addition, which is why they power everything from earthquake scales to compound interest.
Enter the number and pick the base: 10 for common logs, e for the natural log, 2 for computing, or type any custom base. The number must be positive and the base must be positive and not 1.
How to use this calculator
Type the number, choose the logarithm base, and press Calculate.
- Type a positive number into the Number field.
- Pick the Base: 10 for the common log, e for the natural log, 2 for computing, or Custom.
- If you chose Custom, type your own base into the Custom base field.
- Press Calculate and read the logarithm as the headline result.
What is a logarithm?
A logarithm answers how many times you multiply the base by itself to reach the number. Since 10 x 10 x 10 = 1000, log base 10 of 1000 equals 3.
The question a logarithm answers
A logarithm answers one question: "the base, raised to what power, gives this number?" log₁₀(1000) = 3 because 10³ = 1000. log₂(32) = 5 because 2⁵ = 32. Every logarithm is an exponent wearing a question mark — once that clicks, the notation stops being mysterious: log base, answer = exponent.
Worked example: log₁₀(1000) — the question this page loads with
The calculator loads with number 1000 and base 10, and a logarithm is a question: 10, raised to what power, gives 1000?
Step 1 — climb the powers of ten: 10¹ = 10, 10² = 100, 10³ = 1000
Step 2 — the power that lands exactly on 1000 is 3, so log₁₀(1000) = 3 — the display shows exactly 3.
Three quantities — solve for any of them
| You know | You want | Example | Answer |
|---|---|---|---|
| Base 2, number 32 | The result | log₂(32) | 5, because 2⁵ = 32 |
| Base 10, result 2.5 | The number (antilog) | 10^2.5 | ≈ 316.23 |
| Number 81, result 4 | The base | 81 = x⁴, so x = ⁴√81 | 3 |
| Base e, number e³ | The result | ln(e³) | 3, by definition of ln |
The third row is the one most calculators refuse to do: finding the base. It is just the power equation read backwards — if x⁴ = 81, the base is the fourth root of 81, which is 3.
The three bases you will actually meet
Base 10 (log) is the everyday scale — pH, decibels, Richter. Base e (ln, the natural log) runs growth and decay: ln(e³) = 3 exactly, because ln simply undoes e raised to a power. Base 2 belongs to computing, where everything doubles: five doublings is 2⁵ = 32, so log₂(32) = 5 counts the doublings. The custom base covers everything else — the rules do not change, only the number.
Change of base: any log in terms of logs you have
Most keypads only carry log (base 10) and ln (base e). The change-of-base formula turns any logarithm into a fraction of those: log_b(x) = log(x) ÷ log(b). Worked: log₂(10) = log(10) ÷ log(2) = 1 ÷ 0.30103 ≈ 3.3219 — and the check agrees, since 2^3.3219 ≈ 10. The mini-tool above does this directly, but the formula is worth owning.
The log laws
| Law | Rule | Check |
|---|---|---|
| Product | log(a × b) = log(a) + log(b) | log₁₀(1000) = log₁₀(100) + log₁₀(10) = 2 + 1 = 3 |
| Quotient | log(a ÷ b) = log(a) − log(b) | log₁₀(1000 ÷ 10) = 3 − 1 = 2 |
| Power | log(aⁿ) = n × log(a) | ln(e³) = 3 × ln(e) = 3 × 1 = 3 |
| Change of base | log_b(x) = log(x) ÷ log(b) | log₂(10) ≈ 3.3219 |
These are the exponent laws seen from the other side — multiplication of powers becomes addition of logs, which is the entire historical reason logarithms were invented: they turn hard multiplication into easy addition.
Frequently asked questions
What is log₂(32)?
5, because 2 raised to the power 5 is 32. A logarithm is the exponent in disguise — the answer to "2 to what power gives 32?". The calculator reports base-2 logs directly, or any custom base.
How do I find the antilog of 2.5 (base 10)?
Raise the base to the result: 10^2.5 ≈ 316.23. The antilog undoes the logarithm — if log₁₀(316.23) ≈ 2.5, then the antilog of 2.5 is 316.23. Enter the base and the result in the calculator, choose Number in the Solve for select — or use antilog mode.
How can I work out a log with a base my calculator doesn't have, like log₂(10)?
Use the change of base: divide logs in any base you do have. log₂(10) = log(10) ÷ log(2) ≈ 3.3219. Check: 2^3.3219 ≈ 10. The change-of-base mini-tool on this page does it in one step.
What base makes log of 81 equal to 4?
Base 3, because 3⁴ = 81. This calculator solves for the base as well as the result or the number — enter any two of the three quantities and the third is worked out, a direction most log tools leave out.
Why is ln(e³) exactly 3?
Because ln is the base-e logarithm, and a logarithm asks "e to what power gives e³?" — the answer is written in the question: 3. In general ln(eˣ) = x, just as log₁₀(10ˣ) = x. Each log undoes its own base's power.







































