Quick answer
logb(x) = log(x) / log(b) when log means base 10 on a calculator.
Formula
- General: log_b(x) = log_a(x) / log_a(b)
- Base 10: log_b(x) = log(x) / log(b)
- Natural: log_b(x) = ln(x) / ln(b)
Introduction
The change of base formula is one line on paper, but textbooks present it in several calculator-ready forms. Each form is equivalent when inputs are valid.
Students lose points when they mix logarithm laws with base conversion. This page keeps the identity separate: one division, same auxiliary base in numerator and denominator.
If you are unsure whether you need conversion at all, read what the change of base formula means first; if you want the short algebraic reason the ratio is true, the why the change of base formula works walks through the logic without heavy theory.
Use calculator in the home page hero to compare hand calculation with browser output for the same x, a, and b.
Standard formula and calculator forms
General form: logb(x) = loga(x) / loga(b). Here a is any valid auxiliary base you choose for evaluation.
Base 10 conversion: logb(x) = log(x) / log(b) when the log key represents common logarithm.
Natural logarithm conversion: logb(x) = ln(x) / ln(b), the form used when only ln is available in software.
Mathematical interpretation: the numerator counts the exponent relationship for x in base-a units; dividing by loga(b) rescales to base-b units.
Restrictions should be written beside every form: x > 0; bases positive; bases not equal to 1.
Choosing the auxiliary base: use the base already in the problem when possible; otherwise use 10 or e to match calculator keys.
Forms to memorize
- log_b(x) = log_a(x) / log_a(b)
- log_b(x) = log(x) / log(b)
- log_b(x) = ln(x) / ln(b)
Memorize the general line first, then treat the log and ln versions as special cases with a = 10 and a = e.
All three lines describe the same exponent count; the auxiliary base only changes how you measure it.
Do not insert unrelated identities (such as product rules) into the denominator; keep the structure as a ratio of two logs with identical base.
Applying each form
- Select the form that matches your tools. If your instructor says log means base 10, the middle line is fastest. Lab spreadsheets often prefer ln.
- Evaluate numerator and denominator. Store extra digits when the final answer will be rounded for science class.
- Simplify fractions when possible. If loga(x) and loga(b) share factors, reduce before rounding.
- State the final base clearly. Write logb(x) = ... so graders see you converted notation correctly.
Base 10 and natural log samples
Base 10: log5(125) = log(125) / log(5). Since 125 = 53, the value is exactly 3.
Natural log: log7(49) = ln(49) / ln(7) = 2 because 49 = 72.
When decimals appear, compare with {{calcHero}} and rewrite the ratio line if notation still feels unclear.


Share this page