Logarithm Rules Explained with Examples

Published 16 November 2026 · Math

Try it nowLog Calculator →

A logarithm answers: “what power do I raise the base to?” Since 2⁵ = 32, log₂(32) = 5. Check any value with the log calculator.

The main rules

RuleFormulaExample
Productlog(ab) = log a + log blog 20 = log 2 + log 10 ≈ 1.301
Quotientlog(a/b) = log a − log blog 5 = log 10 − log 2 ≈ 0.699
Powerlog(aⁿ) = n log alog 8 = 3 log 2 ≈ 0.903
Change of baselog_b x = ln x ÷ ln blog₃ 81 = 4

Solving exponential equations

Solve 3ˣ = 50: take logs of both sides, x = ln 50 ÷ ln 3 = 3.912 ÷ 1.0986 = 3.561.

Common mistakes

  • log(a + b) is not log a + log b.
  • You cannot take the log of zero or a negative number.
  • “log” usually means base 10 on calculators, but often means ln in advanced maths.

Keep reading