Skip to content

Log Calculator (Logarithm)

Work out logarithms in any base, or solve for the number or the base.

Type e for the natural log.

log₍10₎ 1,000

3

ln x (base e)
6.907755278982
log₁₀ x
3
log₂ x
9.965784284662

How it was calculated

  1. log_10(1,000) = ln(1,000) / ln(10) (change of base)
  2. = 6.907755278982 / 2.302585092994
  3. = 3
  4. Check: 10^3 = 1,000

Calculations run on this device and your inputs are not uploaded. A share link puts your inputs in the URL, so anyone with the link can read them.

More Math Calculators

All calculators

How the log calculator works

A logarithm answers the question "what power do I raise the base to, to get this number?" log_b(x) = y means b^y = x. So log₁₀(1000) = 3 because 10³ = 1000.

Calculators usually only have ln (base e ≈ 2.71828) and log (base 10), so other bases use the change-of-base rule: log_b(x) = ln(x) / ln(b). This calculator applies it for any base and shows the check b^y = x.

Logs are only defined for positive numbers, and the base must be positive and not equal to 1.

Using and checking your result

Published by JustYourCalculator. Check the units and assumptions above, and compare a known example before relying on the output. Calculations use browser arithmetic and may round displayed values.

Share links may contain your input values. Anyone with the URL can read them; avoid sharing sensitive personal or financial information.

Frequently asked questions

log usually means base 10 and ln means the natural log, base e (about 2.71828). ln(x) = log(x) × 2.302585...

3, because 2³ = 8.

A positive base raised to any real power is always positive, so no real exponent gives a negative number or zero.

Yes. Every calculator is free with no sign-up. Clearly labeled ads keep it that way.

Calculations run in your browser. Share links put inputs in the URL, which can be read by anyone you send it to and is sent to the hosting server when opened. Avoid sharing sensitive numbers. Currency conversion requests public exchange rates.

Results follow the formulas and assumptions shown, with normal rounding and numerical limits. Taxes, rates and health guidance can change, so treat these as estimates and confirm important decisions with a qualified professional.