One Calculator Logo One Calculator
Mathematics & Statistics • Formulas shown

Log Calculator

Quick Answer

The logarithm log_b(x) is the power to which b must be raised to get x. log₁₀(1,000) = 3 because 10³ = 1,000. Any base can be computed with log_b(x) = ln(x) ÷ ln(b).

Result

log_10(1,000) = 3

ln(x)6.907755279
log₁₀(x)3
log₂(x)9.965784285
Step-by-step calculation
  1. log_b(x) = ln(x) ÷ ln(b) (change of base)
  2. Result = 3

About the Log Calculator

Choose the type of logarithm, enter x, and for a general base enter b. The calculator shows the answer along with ln, log₁₀ and log₂ of the same number for comparison.

Logarithms turn multiplication into addition and are used for decibels, pH, earthquake magnitude, compound growth and algorithm analysis. They are defined only for positive numbers, and the base must be positive and different from 1. The antilog option reverses the process by computing b^y.

How to Use the Log Calculator

  1. Choose the logarithm type.
  2. Enter x and the base if needed.
  3. Read the result and the other logs.

Formula and Method

Definition

log_b(x) = y ⇔ bʸ = x

Change of base

log_b(x) = ln(x) ÷ ln(b)

Product rule

log(xy) = log x + log y

Worked Example

A common log

Input: log₁₀(1,000)

  • 10³ = 1,000

Result: 3.

Frequently Asked Questions

What is ln?

The natural logarithm, with base e ≈ 2.71828.

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

No power of a positive base equals zero or a negative number.

What is an antilog?

The inverse of a log: antilog_b(y) = bʸ.

How are logs used?

In pH, decibels, the Richter scale, finance and computer science.

Related Calculators

All Math & Statistics Calculators →

Sources and Further Reading

Accuracy and Scope

Results use standard IEEE-754 double-precision arithmetic and are rounded for display. For exam, engineering or research work, verify critical values with a second method. See our full disclaimer.