Skip to content
Math

Expanding Logarithms Calculator

Enter a logarithm base, choose the property you want to apply (product, quotient, or power), fill in the arguments, and get the expanded form with a full step-by-step breakdown. The calculator evaluates numerical results when all inputs are known numbers and shows the exact algebraic expansion rule used.

Your details

Choose which log property to expand. Product and quotient rules take two arguments; the power rule takes a base argument and an exponent.
Select a standard base or choose "Custom base" to enter any positive base other than 1.
The first factor (product/quotient rules) or the base argument (power rule). Must be positive.
The second factor (product rule) or divisor (quotient rule). Must be positive.
Expanded expression
log(8) + log(4)

The logarithm written out using the selected property

log(a) value0.90309
log(b) or k-log(a) value0.60206
Combined numerical result1.50515
log(a)0.90309
log(b) / k*log(a)0.60206
Combined result1.50515

Expanded using the product rule: log(8) + log(4)

  • The product rule splits one logarithm of a product into a sum of two separate logarithms, making many expressions easier to work with algebraically.
  • log(a) evaluates to 0.9031 and log(b) evaluates to 0.6021, summing to 1.5051.
  • This rule is the foundation for logarithm-based proofs and simplifications in algebra and calculus.

Next stepIf your expression combines product, quotient, and power terms together, apply each rule in turn - products and quotients first, then bring down exponents with the power rule.

Formula

logn(ab)=logn(a)+logn(b)logn ⁣(ab)=logn(a)logn(b)logn(ak)=klogn(a)\log_n(a \cdot b) = \log_n(a) + \log_n(b) \quad \log_n\!\left(\tfrac{a}{b}\right) = \log_n(a) - \log_n(b) \quad \log_n(a^k) = k\,\log_n(a)

Worked example

Expand log(8 * 4) using base 10. Product rule: log(8) + log(4) = 0.9031 + 0.6021 = 1.5052. This equals log(32), confirming the identity. Using the power rule on log(8) = log(2^3) = 3 * log(2) = 3 * 0.3010 = 0.9031.

What does expanding a logarithm mean?

Expanding a logarithm means rewriting a single logarithm that contains multiplication, division, or exponents inside it as a simpler combination of individual logarithms. The three core properties that make this possible are the product rule, the quotient rule, and the power rule. These identities follow directly from the definition of the logarithm as the inverse of exponentiation, and they work for any positive base other than 1. Expanding is especially useful in algebra (rearranging equations), calculus (differentiating log functions), information theory (measuring entropy), and any field where large numbers appear as products or powers.

The three expansion rules explained

The product rule states that log_n(a * b) = log_n(a) + log_n(b). It works because multiplying the arguments of a logarithm is the same as adding separate logarithms, which mirrors the exponent law x^m * x^n = x^(m+n). The quotient rule states that log_n(a / b) = log_n(a) - log_n(b), mirroring x^m / x^n = x^(m-n). The power rule states that log_n(a^k) = k * log_n(a), mirroring (x^m)^n = x^(m*n). Combined, these three rules let you break apart almost any logarithmic expression into a sum and difference of simpler terms, each involving a single argument and a coefficient.

Choosing the right base: common, natural, and binary logs

The base of a logarithm controls the unit of measurement but does not change the algebraic structure of the expansion. Base 10 (written log or log_10) is the common logarithm used in pH, decibels, and earthquake magnitude. Base e (written ln) is the natural logarithm used throughout calculus and statistics, because its derivative is simply 1/x. Base 2 (written log_2 or lg) is the binary logarithm used in computer science, information theory, and algorithm analysis. All three obey the same product, quotient, and power rules. You can convert between bases using the change-of-base formula: log_n(x) = log(x) / log(n), which this calculator applies internally when evaluating numerical results.

How to expand a composite logarithm step by step

Start by identifying whether the argument contains products, quotients, or powers - or a combination. Apply the product rule to split products and the quotient rule to split fractions first, working from the outermost structure inward. Then apply the power rule to pull down any exponents as coefficients. If a number inside the log is a perfect power of the base (for example log_2(8) = log_2(2^3) = 3), that term simplifies to a plain integer. Working through a combined example: log_2(32x) = log_2(32) + log_2(x) = log_2(2^5) + log_2(x) = 5 + log_2(x). Another: log(100 / y^2) = log(100) - log(y^2) = 2 - 2*log(y).

The three logarithm expansion rules

RuleOriginal formExpanded formRequirement
Productlog_n(a * b)log_n(a) + log_n(b)a > 0, b > 0
Quotientlog_n(a / b)log_n(a) - log_n(b)a > 0, b > 0
Powerlog_n(a^k)k * log_n(a)a > 0, k real
Special: lnln(a * b)ln(a) + ln(b)Base = e
Special: log10log(a^k)k * log(a)Base = 10

These identities hold for any valid base n > 0, n not equal to 1, and positive arguments.

Frequently asked questions

Why must the argument of a logarithm be positive?

The logarithm is defined only for positive real arguments because it is the inverse of an exponential function, and a real exponential b^x is always positive. Feeding zero or a negative number into a logarithm produces an undefined or complex result, so the calculator returns a blank when a or b is zero or negative.

Can I expand a logarithm when the base is 1?

No. A base of 1 is undefined because 1 raised to any power always equals 1, so there is no way to represent different values. Similarly, a negative base is excluded because the resulting function is not continuous over the real numbers. The calculator blocks these inputs.

What is the change-of-base formula and how is it used here?

The change-of-base formula states that log_n(x) = log(x) / log(n), where log on the right can be any convenient base (usually 10 or e). This calculator uses it internally to evaluate any custom base numerically. Algebraic expansions like log_n(a*b) = log_n(a) + log_n(b) hold regardless of base and do not require a numerical conversion.

Can I expand a logarithm that combines product, quotient, and power together?

Yes, though this calculator handles one rule at a time. For composite expressions like log(x^3 * y / z^2), apply the quotient rule first to separate the fraction, then the product rule to split the numerator, then the power rule to pull down the exponents: log(x^3) + log(y) - log(z^2) = 3*log(x) + log(y) - 2*log(z). Work through the calculator once per rule and combine the resulting terms.

How does expanding logarithms help solve equations?

Expanding turns multiplicative relationships inside a logarithm into additive ones outside it, which often allows you to isolate unknowns. For example, log(xy) = 5 expands to log(x) + log(y) = 5, so if you know x you can solve for y. In calculus, expanding log expressions before differentiating or integrating simplifies the computation significantly, because the derivative of a sum is the sum of the derivatives.

What is the difference between expanding and condensing logarithms?

Expanding breaks a single complex logarithm into a sum or difference of simpler ones. Condensing does the opposite: it combines multiple logarithmic terms into one. For example, log(a) + log(b) condenses back to log(a*b). Both operations use the same three properties, just applied in reverse. Condensing is useful when solving log equations that have isolated log terms on both sides.

Sources

Written by Dr. Rajiv Menon, PhD Applied Mathematician · Bengaluru, India

Applied mathematician bridging algebraic theory and computational tools for students, engineers, and everyday problem-solvers.

Search 3,500+ calculators

Loading search…