Math calculator

Logarithm Rules Calculator

Three rules, and one that does not exist.

Three rules, and one that does not exist

Build the expression; watch it expand.

log₂(x³·y / z²)

3 log₂(x) + log₂(y) − 2 log₂(z)

Each factor becomes its own logarithm: multiplication becomes addition, division becomes subtraction, and an exponent becomes a coefficient in front.

Which rule produced each term

  1. 1add3 log₂(x)power rule: an exponent becomes a coefficient
  2. 2addlog₂(y)product rule: a multiplication becomes an addition
  3. 3subtract2 log₂(z)quotient and power rules together

Expanding and condensing are the same three rules run in opposite directions.

Condensed

log₂(x³·y / z²)

as a single logarithm

Expanded

3 log₂(x) + log₂(y) − 2 log₂(z)

as a sum and difference

Base

2

unchanged by any expansion

Terms

3

one per factor

  • There are only three rules, and every expansion is some combination of them: a product becomes a sum, a quotient becomes a difference, and an exponent becomes a coefficient in front.
  • The rules work because a logarithm IS an exponent. Multiplying powers adds their exponents, so taking logs of a product adds the logs — the rule is the exponent law read backwards.
  • The fourth rule people apply does not exist: log(a + b) is NOT log a + log b. Addition inside a logarithm cannot be broken up at all, and that is the single commonest error on this topic. There is no rule for a sum because there is no exponent law for one.
  • The base never changes during an expansion. Every term keeps the base it started with, and mixing bases in one expression is a different operation — a change of base — that needs its own step.

log(a + b) is not log a + log b. Addition inside a logarithm cannot be broken up at all — there is no exponent law for a sum.

What this tool shows

There are only three rules: a product becomes a sum, a quotient becomes a difference, and an exponent becomes a coefficient. The fourth one people apply — log(a + b) = log a + log b — is not a rule and never was.

  • The product rule
  • The quotient rule
  • The power rule
  • Expanding and condensing as one skill
  • Why the rules work at all
  • The rule that does not exist
Expand and condense Rule named per term The non-rule Any base

Build the expression; each term names the rule that produced it.

Updated 7 September 2026 · Works in any browser, no installation

Three rules, and that is all there are. A product becomes a sum, a quotient becomes a difference, and an exponent becomes a coefficient. So log₂(x³y/z²) expands to 3 log₂x + log₂y − 2 log₂z. There is no rule for a sum inside the logarithm.

At a glance

Formula shown
log(xy) = log x + log y; log(x/y) = log x − log y; log(xⁿ) = n log x. The base is unchanged by all three, and there is no rule at all for log(x + y).
Scenario support
Expanding a logarithm before differentiating; condensing several logarithms into one to solve an equation; checking a step in an exam answer.
Educational estimate
Planning support from the values you enter — not professional advice.

Why the rules work

The rules are not arbitrary. A logarithm is an exponent, and each rule is an exponent law read backwards.

Multiplying powers of the same base adds their exponents: b^m × b^n = b^(m+n). Take logarithms of both sides and that becomes log(xy) = log x + log y. The product rule is the multiplication law, restated.

Dividing powers subtracts exponents, which gives the quotient rule. Raising a power to a power multiplies exponents, which gives the power rule.

Seeing it that way makes the rules impossible to misremember, and it makes the missing fourth rule obvious: there is no exponent law for b^m + b^n, so there can be no logarithm rule for a sum.

The three rules

Product: log(xy) = log x + log y. Multiplication inside becomes addition outside.

Quotient: log(x/y) = log x − log y. Division becomes subtraction.

Power: log(xⁿ) = n log x. An exponent comes out as a coefficient in front.

All three keep the base unchanged. A change of base is a separate operation with its own formula, and mixing bases inside one expansion is a step that has to be done deliberately.

The power rule covers roots too, since a root is a fractional exponent: log(√x) is ½ log x. That is worth knowing, because it is the version that appears most often in practice.

The rule that does not exist

log(a + b) is NOT log a + log b. This is the single commonest error on the topic, and it is worth stating as bluntly as possible.

Addition inside a logarithm cannot be broken up at all. There is no rule, no identity, and no rearrangement that helps.

A single example settles it. log₁₀(10 + 90) = log₁₀(100) = 2. But log₁₀10 + log₁₀90 = 1 + 1.954 = 2.954. Not close, and not a rounding.

The mistake comes from pattern-matching the product rule, and the fix is to remember why the rules exist: they mirror exponent laws, and there is no exponent law for a sum.

Nor is log(a − b) anything in particular. Only multiplication, division and exponentiation inside a logarithm can be moved outside.

Expanding and condensing

They are the same three rules run in opposite directions, which is why this page shows both forms at once.

Expanding breaks one logarithm into several. It is what you do before differentiating — logarithmic differentiation turns a messy product into a sum, and a sum is far easier to differentiate.

Condensing gathers several into one. It is what you do to solve an equation, because once both sides are a single logarithm with the same base you can drop the logarithms entirely.

One caution on condensing: coefficients must go back inside as exponents first. Writing 2 log x + log y as log(2x · y) is wrong; it is log(x²y).

And a solution obtained by condensing must be checked against the original, because the domain can change — log x + log(x−3) requires x > 3, while log(x²−3x) alone permits negative x as well. Extraneous solutions arise exactly there.

Where it gets used

Solving equations. Condense both sides to a single logarithm and the logarithms cancel, leaving something ordinary.

Calculus. Logarithmic differentiation expands a product into a sum before differentiating, which turns the product rule applied five times into five easy terms.

Statistics. Log-likelihoods turn products of probabilities into sums, which is both numerically safer and analytically easier — multiplying a thousand probabilities underflows to zero, and adding their logarithms does not.

Scales. Decibels, pH and the Richter scale are logarithmic, so combining or comparing values on them uses these rules directly.

Sources and methodology

The logarithm laws are standard; these are the references.

Method. Structured input rather than expression parsing, deliberately: the rules are the subject, and a parser would move the difficulty into the typing. Each output term names the rule that produced it, so the page teaches the derivation rather than only the answer. The base is carried through unchanged, because none of the three rules touches it — mixing bases is a separate operation with its own step. That engine is verified on every change against 99 hand-written assertions, including that a product, quotient and power combined expand to the correct three-term form, and that the page states explicitly that log(a + b) is not log a + log b. The count and the per-case breakdown are published on the formula verification page.

Related calculators

Where this goes next:

LogLogarithms in any base with the exponential form beside them, whole answers confirmed by raising the base back, and change of base worked through.
ExponentPowers with the awkward cases right — a negative exponent is a reciprocal not a sign, a fractional one is a root, and zero to the zero is reported as contested.
Exponential GrowthGrowth, decay, doubling time and half-life from one rate — with the widening period-on-period change that is what exponential actually means.
Simplify RadicalsSimplest radical form at any index from 2 to 12 with a coefficient in front, shown prime by prime, plus the rationalised denominator.
Partial Fraction DecompositionSplit a rational function into simple fractions by the cover-up method — one substitution per term, with improper fractions and repeated roots refused for the right reasons.
ScientificTrigonometry, logarithms, powers, roots, and factorials with correct order of operations, memory registers, history, and keyboard entry.

More in Math, or browse all calculators.

Read the guide

To evaluate a logarithm rather than rearrange one, the Log Calculator handles any base including the change-of-base step.

Educational use disclaimer

This is an educational tool. It applies the product, quotient and power rules symbolically; it does not evaluate the logarithms numerically.

How we calculate · Found an error? email us

Authorship & verification

Written and maintained by , a business operator who builds spreadsheet-based calculators.

What's changed (3 updates)

Published 7 September 2026

  1. Published the logarithm rules page taking structured input rather than parsing an expression, since the rules are what the page teaches and a parser would put the difficulty into the typing instead.
  2. Names the rule that produced each output term, so the page shows the derivation rather than only the answer — and explains that the rules work because a logarithm IS an exponent, so each one is an exponent law read backwards.
  3. States outright that log(a + b) is not log a + log b, with a numeric counterexample, because it is the commonest error on the topic and there is no exponent law for a sum for it to mirror.

Add this calculator to your site

Responsive embed — and private: nothing your visitors type leaves their browser.