Log Calculator

Free log calculator for any base. Compute logarithms, anti-logs, find the base, and change of base with step-by-step solutions and verification. Includes common log values table, logarithm rules, and real-world applications. Supports log₂, ln, log₁₀, and custom bases.

log10(100) = ?
log_10(100) = 2
2
Common Logarithm (log₁₀)

Equivalent Forms

The same relationship expressed differently

Logarithmic Form
log_10(100) = 2
Exponential Form
10^2 = 100
Decimal Value
2

Step-by-Step Solution

See how the answer is calculated — free, no paywall

1Apply the definition of logarithm

log_b(x) = y means b^y = x

We need y such that 10^y = 100

2Use the common logarithm directly

log₁₀(x) = log(x)

log₁₀(100)

= 2

3Verify the result

10^2 should equal 100

10^2 = 100

= Verified ✓

Log Values for Base 10

Quick reference table of common logarithm values

log(1)0
log(2)0.30103
log(3)0.477121
log(4)0.60206
log(5)0.69897
log(10)1
log(20)1.30103
log(50)1.69897
log(100)2
log(1000)3

Common Logarithm Values

Reference table across log₂, ln, and log₁₀

xlog₂(x)ln(x)log₁₀(x)
1000
210.69310.301
e1.442710.4343
52.32191.60940.699
103.32192.30261
505.64393.9121.699
1006.64394.60522
5008.96586.21462.699
10009.96586.90783

How to Calculate Logarithms

Understanding base, argument, and the logarithm formula

A logarithm answers the question: "What power must we raise the base to in order to get a given number?" In the expression logb(x) = y, we are saying that by = x. The base b must be positive and not equal to 1.

Change of Base Formula

logb(x) = ln(x) / ln(b) = log(x) / log(b)

This calculator supports four modes: computing a logarithm (log), computing an anti-logarithm (inverse log), finding an unknown base, and converting between different bases. Results include step-by-step solutions with verification.

Three common logarithm bases are: base 10 (common log, written as "log"), base e (natural log, written as "ln", where e ≈ 2.71828), and base 2 (binary log, used in computer science).

Logarithm Rules & Properties

The fundamental rules that govern how logarithms work

Product Rule

logb(xy) = logb(x) + logb(y)

Log of a product equals the sum of the logs

Quotient Rule

logb(x/y) = logb(x) − logb(y)

Log of a quotient equals the difference of the logs

Power Rule

logb(xn) = n · logb(x)

The exponent can be brought in front as a multiplier

Change of Base

logb(x) = logc(x) / logc(b)

Convert any logarithm base using a different base

Reciprocal Rule

logb(1/x) = −logb(x)

Log of a reciprocal is the negative of the log

Identity & Zero

logb(b) = 1  &  logb(1) = 0

Log of the base is 1; log of 1 is always 0

Common Mistakes with Logarithms

Avoid these frequent errors when working with logs

log(a + b) ≠ log(a) + log(b)

The product rule applies to multiplication, not addition. log(a + b) cannot be simplified. Only log(a × b) = log(a) + log(b).

log(0) is undefined, not 0

No power of a positive base can equal zero. As x approaches 0 from the right, log(x) approaches −∞. Similarly, log of a negative number is undefined in real numbers.

Confusing log and ln notation

In most contexts, "log" means base 10, and "ln" means base e. But in some fields (pure math, CS), "log" may mean base e or base 2. Always check the convention.

Base must be positive and ≠ 1

The base of a logarithm must satisfy b > 0 and b ≠ 1. If b = 1, then 1 raised to any power is always 1, so log1(x) is undefined for x ≠ 1.

Real-World Applications of Logarithms

Where logarithms appear in science, engineering, and everyday life

pH Scale (Chemistry)

pH = −log₁₀[H⁺]. A pH of 3 means [H⁺] = 10⁻³ = 0.001 mol/L. Each pH unit represents a 10× change in acidity.

Richter Scale (Seismology)

Earthquake magnitude uses log₁₀. A magnitude 6 earthquake has 10× the amplitude of a magnitude 5, and 31.6× more energy.

Decibels (Sound & Signal)

dB = 10 · log₁₀(P₁/P₀). A 10 dB increase means 10× the power. Human hearing spans ~120 dB, a trillion-fold power range.

Computer Science (Big-O)

Binary search runs in O(log₂ n) time. To search 1 billion items, you need at most log₂(10⁹) ≈ 30 comparisons.

Frequently Asked Questions

Common questions about logarithms and how to calculate them