Math and number tools

Log Calculator

Calculate logarithms in any valid base, including common logarithms (base 10), natural logarithms (ln), and binary logarithms (base 2). View related logarithms, the antilog, and clear step-by-step working.

Any valid baselog · ln · log₂Antilog and formula steps
Calculator

Calculate a logarithm

The number must be greater than zero.
The base must be positive and cannot equal 1. Use e for natural log via the quick button.
log₁₀(100)
2
Common log · log₁₀(x)2
Natural log · ln(x)4.605170186
Binary log · log₂(x)6.64385619
Antilog · bʸ100
Step-by-step solution
log₁₀(100) = ln(100) ÷ ln(10) = 2
Reverse calculation

Antilog calculator

Find the original number when you know the base and logarithm result. If logb(x) = y, then x = by.

Original number · bʸ
100
Exponential form10² = 100
Remember

A logarithm answers: “What power must the base be raised to, to get this number?” For example, log₂(8) = 3 because 2³ = 8.

How to use this log calculator

  1. Enter a positive number in the Number field.
  2. Enter a valid base, or select log₁₀, log₂, or ln.
  3. Choose Calculate logarithm to see the result and related values.
  4. Read the change-of-base working or copy the result.

What is a logarithm?

A logarithm is the inverse of exponentiation. The statement logb(x) = y means that by = x. The base b must be positive and different from 1, and x must be positive for real-valued logarithms.

Common logarithms use base 10, natural logarithms use base e (approximately 2.71828), and binary logarithms use base 2.

Logarithm formula

For any valid base b and positive number x:

logb(x) = ln(x) ÷ ln(b)

This is called the change-of-base formula. For example, log₂(8) = ln(8) ÷ ln(2) = 3.

Common logarithm rules

  • Product: logb(xy) = logb(x) + logb(y)
  • Quotient: logb(x/y) = logb(x) − logb(y)
  • Power: logb(xn) = n logb(x)
  • Log of 1: logb(1) = 0
  • Log of the base: logb(b) = 1

Frequently asked questions

What does log mean on a calculator?

Unless another base is specified, log usually means the common logarithm with base 10. The ln button means natural logarithm with base e.

How do I calculate a logarithm with any base?

Use the change-of-base formula: logb(x) = ln(x) / ln(b), where x is positive and b is positive but not equal to 1.

Why can't I calculate the logarithm of zero or a negative number?

In the real number system, no real power of a positive base produces zero or a negative number. Therefore, the real logarithm is undefined for these inputs.

What is the difference between log and ln?

They use different bases. log usually uses base 10, while ln uses base e, approximately 2.71828.

What is an antilogarithm?

The antilogarithm reverses a logarithm. If logb(x) = y, then the antilog is x = by.