Log Calculator

Quick answer

The log calculator finds the logarithm of any positive number in base 10, base e, base 2 or any custom base, and works backwards from a logarithm to the number.

log_b(x)
ln x
6.907755278982
log₁₀ x
3
log₂ x
9.965784284662

A logarithm answers “to what power must I raise the base to get this number?”. Logarithms turn multiplication into addition, which is why they power slide rules, decibels, the Richter scale, pH, star magnitudes and the analysis of algorithms.

How to use the Log Calculator

  1. Logarithm base
  2. Custom base
  3. Number x
  4. Every result field is editable: type into log_b(x) and Number x plus every other field update to match.

Results update as you type, and everything is calculated in your browser.

How it works

Choose the base and enter x. Every base is computed as ln x / ln b. Type into the result field to find the x that gives that logarithm.

Inputs explained

Field What to enter
Logarithm base Choose one: 10 (common log), e (natural log), 2 (binary log), Custom base
Custom base A number
Number x A number

What each result means

  • ln x = [ln x]([Number x])
  • log₁₀ x = [ln x]([Number x])÷[ln x](10)
  • log₂ x = [ln x]([Number x])÷[ln x](2)

Example values

How the main result changes when Number x changes and everything else stays at the example values above:

Number x log_b(x)
500 2.699
750 2.8751
1,000 3
1,250 3.0969
1,500 3.1761
2,000 3.301

Formula

y = log_b(x) ⇔ bʸ = x log_b(x) = ln x / ln b

Worked example

Inputs: Logarithm base: 10 (common log); Number x: 1,000.
Results: log_b(x) = 3; ln x = 6.907755278982; log₁₀ x = 3; log₂ x = 9.965784284662.

Key terms

Logarithm
The exponent to which a base must be raised.

Frequently asked questions

What is log₁₀ 1000?

3, because 10³ = 1000.

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

No real power of a positive base is negative.

What is log of 1 in any base?

0.

How do I change the base?

log_b x = log_k x / log_k b for any k.

Sources

  1. OpenStax: College Algebra 2e
  2. OpenStax: Precalculus 2e
  3. Wolfram MathWorld: Logarithm

Cite this calculator

Speedy Calculator. (2026). Log Calculator. Speedy Calculator. https://speedycalculator.com/calculators/math/logarithm/