📐 Logarithm Calculator

Calculate logarithms or antilogarithms with your chosen base. Presets for log₁₀, ln (natural log) and log₂. You can also enter a custom base.

Change of base: log_b(x) = ln(x) / ln(b)

Base

Result

2

Formula

log_10(100) = ln(100) / ln(10) = 2

The logarithm calculator works out a logarithm in any base — common log₁₀, natural log ln, log₂ or a custom base. It also computes the antilogarithm and shows the change of base formula, so you understand how the result is formed.

How the calculator works and what it’s for

What a logarithm means

A logarithm answers the question: to what power must the base be raised to produce a given number. For example log₁₀(1000) is 3, because 10 to the third power is 1000.

The natural log ln uses Euler's number e as its base, and log₂ is central in computing, where numbers are stored as bits.

The change of base formula

When a base is not directly available, the change of base formula lets you express any logarithm as the ratio of two familiar logarithms, for example by dividing natural logs.

The calculator displays this conversion so you can see the reasoning rather than just the final value.

The antilogarithm

The antilogarithm is the inverse of a logarithm. It recovers the original number by raising the base to a power, such as 10^x or e^x.

This is useful once you have solved an equation in logarithmic form and want to return to an ordinary number.

Where logarithms are used

Logarithms appear in compound interest, pH values, sound decibels and earthquake scales, where vast ranges are compressed into manageable figures.

They are also the basis for solving exponential equations in maths courses.

🔄 Reviewed June 2026

Frequently asked questions

Related calculators