Expand Logarithms Calculator - Break Into Sum of Logs

Try an example:
log()

Use * to multiply, / to divide, ^ for powers, and sqrt( ) or cbrt( ) for roots. Variables are single letters. Example: sqrt(x/y) or 8*x^4.

Expanded into a sum of logarithms

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

Logarithm

base 10 · common log

Terms produced

1 → 3

Rules applied

Quotient, Product, Power

Step-by-step

  1. 1

    Split across × and ÷ — the product rule adds, the quotient rule subtracts.

    log(x3)+log(y)log(z2)

  2. 2

    Power rule — bring every exponent and root down as a coefficient.

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

Sanity check — the two forms are identical

Substitute x = 2, y = 3, z = 5. The original single log and the expanded sum return the same value.

Original log

-0.017729

Expanded sum

-0.017729

How to Use This Calculator

  1. Choose the Logarithm base — common log, natural log (ln), base 2, or a custom base.
  2. In the expression field, type what sits inside the log using *, /, ^, parentheses, and sqrt( ) for roots.
  3. Tap a Try an example chip to load a ready-made expression like x³y/z² or 8x⁴.
  4. Read the Expanded card for the finished sum, then open Step-by-step to watch the quotient, product, and power rules fire in order.
  5. The Sanity check plugs in test numbers to prove the expanded form matches the original — or gives the exact decimal when every argument is a number.

Share this calculator

Help others solve their calculations

Found this calculator helpful? Share it with your friends, students, or colleagues who might need it!

How an Expand Logarithms Calculator Splits One Log Into Many

About the Author

Marko Šinko - Co-Founder & Lead Developer

Marko Šinko

Co-Founder & Lead Developer, AI Math Calculator

Lepoglava, Croatia
Advanced Algorithm Expert

Croatian developer with a Computer Science degree from University of Zagreb and expertise in advanced algorithms. Co-founder of award-winning projects, ensuring precise mathematical computations and reliable calculator tools.

📅 Published:
Expand Logarithms Calculator illustration: one crowded logarithm splitting into a sum and difference of simpler log terms.

An Expand Logarithms Calculator takes a single crowded logarithm — something like log(x³y / z²) — and stretches it into a tidy sum and difference of simple terms: 3 log x + log y − 2 log z. That is the whole trick, and it rests on just three identities. This article shows you how to read the structure inside a log, the order to peel it apart, why a square root turns into a fraction out front, and the one situation where expanding is flat-out impossible.

Start by Reading the Shape Inside the Log

Before touching a single rule, look at what lives inside the parentheses and ask three questions: is anything divided, is anything multiplied, and is anything raised to a power or a root? Those three features map one-to-one onto the three log rules, and spotting them first turns expansion from guesswork into a checklist.

Take log(x³y / z²). The fraction bar signals a quotient, the x³ times y up top is a product, and the little exponents (3 on x, 2 on z) are powers. Three features, three rules — so before you write anything you already know the answer will have a subtraction from the ÷, two positive terms from the ×, and coefficients of 3 and 2 from the powers. Reading the shape this way is the same instinct you use to simplify an algebraic expression: find the structure, then act on it.

Peel It Apart Outside-In: Quotient, Then Product, Then Power

Order matters, and it is the exact reverse of combining logs. When you condense logarithms you deal with the powers first; when you expand, you work from the outside in — split the big division, then the multiplication, and save the exponents for last. Here are the three tools, written in the direction you actually use them for expanding:

The three logarithm rules written in expansion direction
Feature inside the logRuleExpands to
Division: log(M / N)Quotientlog M − log N
Multiplication: log(M · N)Productlog M + log N
Exponent: log(Mᵏ)Powerk · log M

One caution that trips people up: the quotient rule subtracts the entire denominator's worth of logs, not just the first factor down there. If the bottom of the fraction is itself a product, every one of its factors picks up a minus sign. The calculator above enforces this automatically, which is why its first step always splits the division before it touches anything else.

Expanding log₂(32x⁵ / z³) One Rule at a Time

Let's expand log₂(32x⁵ / z³) in base 2 and watch all three rules — plus a bonus fourth move — play out.

Step 1 — quotient rule. The fraction bar splits into a subtraction: log₂(32x⁵) − log₂(z³). The numerator's logs stay positive; the denominator's go negative.

Step 2 — product rule. The 32 and the x⁵ up top are multiplied, so their log splits into a sum: log₂(32) + log₂(x⁵) − log₂(z³).

Step 3 — power rule. Bring the exponents down in front: log₂(32) + 5 log₂(x) − 3 log₂(z).

Step 4 — evaluate the constant. Here is where base 2 pays off: log₂(32) is just asking “2 to what power gives 32?” The answer is 5, because 2⁵ = 32. So the finished expansion is 5 + 5 log₂(x) − 3 log₂(z) — a messy single log turned into three clean pieces. If you ever doubt the exponent arithmetic, an exponent calculator confirms facts like 2⁵ = 32 in a tap.

Roots and Radicals Come Out as Fractions

Students hesitate the moment a square root appears, but a radical is just a power wearing a disguise. A square root is the ½ power, a cube root is the ⅓ power, and once you rewrite the root as a fractional exponent the power rule behaves exactly as before — it drops that fraction out front as the coefficient.

How roots inside a logarithm expand into fractional coefficients
Root inside the logRewrite as a powerExpanded coefficient
log(√x)log(x^½)½ log x
log(∛x)log(x^⅓)⅓ log x
log(√(x/y))log((x/y)^½)½ log x − ½ log y

That last row is the one worth staring at. The ½ sits on the whole fraction, so when you split the quotient both terms keep the ½ — you get ½ log x − ½ log y, never ½ log x − log y. Forgetting to spread the root's exponent across every term is the single most common slip in this whole topic. Type sqrt(x/y) into the calculator and it shows both halves carrying the ½ for you.

When a Number Inside Collapses to a Clean Value

Not every piece of an expanded log stays symbolic. When a plain number sits inside and it happens to be an exact power of the base, that term is not “log of something” — it's a number you should simply write down. We just saw log₂(32) = 5. The same collapse happens with log₁₀(1000) = 3, log₂(8) = 3, or log₅(25) = 2.

This is a real difference between expanding and condensing: expansion often leaves you a stray constant to tidy up, and leaving log₂(8) sitting there instead of writing 3 is technically an unfinished answer. But don't force it — log₁₀(7) is not a whole number, so it stays as log 7. The rule of thumb is simple: if the number is a clean power of the base, evaluate it; otherwise leave it as a log term and, when you finally need a decimal, drop it into an online scientific calculator.

Where Expanding Actually Earns Its Keep

Expanding a log feels like busywork until you reach calculus. In logarithmic differentiation, you take the log of an ugly product-and-quotient like y = (x²√(x+1)) / (2x−3)³, and the entire point is to expand it first. One log of a nightmare becomes a sum of easy logs, and each easy log differentiates in a single line. Skip the expansion and the derivative is brutal; do it first and the problem nearly finishes itself.

The move shows up outside math class too. In chemistry, pH is defined with a base-10 logarithm, and expanding lets you separate the effect of concentration from dilution. In information theory, entropy calculations split the log of a product of probabilities into a sum of contributions. Wherever a logarithm wraps a product or a ratio, expansion is how you get at the individual pieces. For a deeper look at the identities and their proofs, the Wikipedia article on logarithms walks through each one in detail.

The One Limit of Any Expand Logarithms Calculator: Sums Inside a Log

Here is the boundary that catches almost everyone at least once: log(x + y) does not expand. There is no rule for the log of a sum. log(x + y) is not log x + log y, and no clever algebra makes it so. Plug in numbers to feel it: log₁₀(2 + 8) = log₁₀(10) = 1, but log₁₀(2) + log₁₀(8) ≈ 0.301 + 0.903 = 1.204. Different answers — the identity simply is not true.

The three rules only touch multiplication, division, and exponents. A plus or minus sign inside the parentheses is a dead end for expansion, which is why the calculator rejects an entry like x + y rather than fake a result. If you meet log(x + y) in a problem, your only hope is to factor the inside first: log(x² − y²) becomes log((x − y)(x + y)), which now is a product and does expand to log(x − y) + log(x + y). Factor first, then expand — and a general algebra calculator can help you spot whether the inside factors at all.

Frequently Asked Questions

Still Have Questions?

The detailed content on this page provides comprehensive explanations and examples to help you understand better.