Free Online Calculator

Log Calculator (Logarithm)

Find the logarithm of a number to any base.

Last updated: Free, no sign-up Private — runs in your browser

Quick answer: what is a logarithm?

log_b(x) is the power you raise b to get x. log₁₀(1000) = 3 because 10³ = 1000.

Overview of the Log Calculator (Logarithm)

A logarithm answers the question: to what power must the base be raised to get this number? This calculator finds logarithms to base 10 (common log), base e (natural log, ln), base 2 or any positive base other than 1, shows ln, log₁₀ and log₂ side by side, and has an antilog tool that goes the other way.

Logarithms undo exponents — see the Exponent Calculator — and appear in pH, decibels, earthquake magnitude and compound growth. See also the Scientific Calculator, Half-Life Calculator and Root Calculator.

How We Calculate

The calculator applies the standard method step by step.

  1. Pick the base b (10, e, 2 or custom).
  2. Use the change-of-base formula: log_b(x) = ln(x) ÷ ln(b).
  3. Exact powers are detected, so log₂(8) shows exactly 3.
  4. Antilog: if log_b(x) = y then x = bʸ.
log_b(x) = ln(x) ÷ ln(b)   if log_b(x) = y then x = bʸ
Worked example — log calculator (logarithm)
ItemValue
log₁₀(x)3
ln(x) = logₑ(x)6.9077552789821
log₂(x)9.9657842846621
Your base3
Check: base ^ answer1000
Logarithms of different numbers
LogarithmValue
log₁₀(1000)3
log₂(8)3
ln(e)1
log₃(81)4
log₁₀(0.01)-2
Common logarithms
xlog₁₀(x)ln(x)log₂(x)
10.00000.00000.0000
20.30100.69311.0000
30.47711.09861.5850
50.69901.60942.3219
101.00002.30263.3219
201.30102.99574.3219
501.69903.91205.6439
1002.00004.60526.6439
10003.00006.90789.9658

Log Calculator (Logarithm) — Frequently Asked Questions

What is a logarithm?

The exponent you must raise the base to in order to get a number: log₂(8) = 3 because 2³ = 8.

What is the difference between log and ln?

log usually means base 10 (common log); ln means base e ≈ 2.71828 (natural log).

What are the rules of logarithms?

Product: log(ab) = log a + log b. Quotient: log(a/b) = log a − log b. Power: log(aⁿ) = n log a.

Why can't I take the log of zero or a negative number?

No real power of a positive base gives 0 or a negative number, so the logarithm is undefined.

What is an antilog?

The inverse of a logarithm: antilog_b(y) = bʸ. The antilog of 3 in base 10 is 1,000.

Where are logarithms used?

In pH, decibels, the Richter scale, compound interest, half-life and information theory (bits).

How is the log calculator (logarithm) calculated?

It uses the standard method: log_b(x) = ln(x) ÷ ln(b)   if log_b(x) = y then x = bʸ The full working and a worked example are shown on this page.

How accurate is this calculator?

Decimal results use standard double-precision arithmetic (about 15–16 significant digits). Tools that work with whole numbers — big numbers, factors, bases, combinations — use exact integer arithmetic, so no digits are lost.

Can I use it for homework or exams?

Yes for checking your work and learning the method. The steps and formula are shown so you can understand the answer, but follow your teacher's rules about calculators in exams.

Is my data stored?

No. Everything is calculated in your browser and nothing you enter is uploaded or saved.

More Free Calculators You May Need

Need a custom calculator or tool on your website?

Our team designs and develops fast, SEO-ready websites and web tools. Tell us what you need.

Call Us WhatsApp

Get a Free Quote

Tell us a bit about your project — we'll get back to you shortly.

5 + 2 =
Call WhatsApp