Among infinitely many possible bases, two have earned special notation and widespread use. The common logarithm uses base 10, aligning with the decimal system and appearing throughout applied sciences. The natural logarithm uses base e≈2.71828, emerging from calculus and dominating theoretical mathematics. Understanding when to use each — and how to convert between them — is essential for practical computation.
The Common Logarithm
The common logarithm is the logarithm with base 10. It is written log(x) without a subscript, or log10(x) when clarity is needed.
Base 10 connects directly to the decimal number system. Each power of 10 corresponds to a place value: 101=10, 102=100, 103=1000. The common logarithm inverts this relationship, reporting how many powers of ten a number contains.
For powers of 10, the values are immediate: log(10)=1, log(100)=2, log(1000)=3, log(0.1)=−1, log(0.01)=−2. For other numbers, the integer part indicates the order of magnitude. Since log(500)≈2.699, the number 500 lies between 102=100 and 103=1000, closer to the latter.
Historically, common logarithms enabled calculation before electronic computers. Logarithm tables converted multiplication into addition — a far simpler operation to perform by hand. Though tables are obsolete, the notation persists, and base 10 remains natural for human-scale quantities.
The Natural Logarithm
The natural logarithm is the logarithm with base e, where e≈2.71828. It is written ln(x), read "natural log of x," or occasionally loge(x).
The number e is not chosen arbitrarily. It emerges from the study of continuous growth: if a quantity grows at a rate proportional to its current size, e appears in the formula describing that growth. Compound interest computed with infinitely many compounding periods, radioactive decay, population dynamics — all involve e naturally.
In calculus, e has a unique property: the derivative of ex is ex itself. No other base produces this self-replicating behavior under differentiation. The natural logarithm inherits a corresponding property: the derivative of ln(x) is 1/x, the simplest possible form.
The values ln(1)=0 and ln(e)=1 follow from the general properties. Additional reference points: ln(2)≈0.693, ln(10)≈2.303. These approximations appear frequently in applications.
The Number e
The constant e is an irrational number approximately equal to 2.71828. Its decimal expansion continues without repeating: e=2.718281828459045...
One definition comes from compound interest. If \1earns100\%interestperyear,compoundedntimes,theyear−endbalanceis(1 + 1/n)^n.Asnincreases—daily,hourly,everysecond,continuously—thisexpressionapproachese$:
e=n→∞lim(1+n1)n
Another definition uses an infinite series:
e=1+1+2!1+3!1+4!1+⋯=n=0∑∞n!1
The number appears throughout mathematics far beyond logarithms — in probability, complex analysis, differential equations, and number theory. Its ubiquity justifies elevating loge to the status of "natural."
Calculator Conventions
Scientific calculators and programming languages use varying conventions for logarithm notation, which can cause confusion.
Most scientific calculators have two buttons: log for the common logarithm (base 10) and ln for the natural logarithm (base e). This matches standard mathematical notation. To compute a logarithm with a different base, the change of base formula is required.
Some programming languages diverge. In Python, the math.log(x) function computes the natural logarithm by default, not the common logarithm. The common logarithm requires math.log10(x). Other languages follow similar patterns — always check documentation.
Spreadsheet software like Excel uses LOG(x) for common logarithm and LN(x) for natural logarithm, matching calculator conventions. The function LOG(x, base) allows arbitrary bases.
When in doubt, test with known values. If the software returns 1 for log(10), it uses base 10. If it returns 1 for log(e), it uses base e.
When to Use Which
The choice between common and natural logarithms depends on context.
Use common logarithms when working with orders of magnitude, human-readable scales, or decimal-based measurements. The Richter scale for earthquakes, the decibel scale for sound intensity, and the pH scale for acidity all employ base 10. A change of 1 on these scales represents a factor of 10 — intuitive for decimal-system thinkers.
Use natural logarithms when working with continuous growth or decay, calculus, or theoretical derivations. Exponential models of the form Aekt pair naturally with ln. Solving e2x=5 is cleanest with natural logarithms: 2x=ln(5), so x=ln(5)/2.
For solving general exponential equations, either logarithm works. The equation 3x=7 can be solved as x=log(7)/log(3) or x=ln(7)/ln(3) — both yield the same numerical answer. Choose whichever is available or conventional in the given context.
Converting Between Bases
The change of base formula from logarithm rules enables conversion between common and natural logarithms:
loga(x)=logb(a)logb(x)
To convert a logarithm of any base to common logarithms:
loga(x)=log(a)log(x)
To convert to natural logarithms:
loga(x)=ln(a)ln(x)
For example, log2(10)=ln(2)ln(10)=0.6932.303≈3.322. Verification: 23.322≈10.
Converting between common and natural logarithms directly uses ln(10)≈2.303:
ln(x)=log(x)⋅ln(10)≈2.303⋅log(x)
log(x)=ln(10)ln(x)≈2.303ln(x)
These conversions allow computation with any base using only the log and ln buttons available on standard calculators.
Comparing Graphs
The graphs of y=log(x) and y=ln(x) share the same basic shape but differ in steepness.
Both pass through (1,0) — all logarithms satisfy loga(1)=0. The common logarithm passes through (10,1); the natural logarithm passes through (e,1)≈(2.718,1). Both have vertical asymptotes at x=0 and extend to +∞ as x increases.
Since e<10, the natural logarithm reaches 1 at a smaller input value. This makes ln(x) grow faster initially and appear steeper for small x. For any positive x>1, ln(x)>log(x) because the natural logarithm uses a smaller base.
The ratio between them is constant: ln(x)=ln(10)⋅log(x)≈2.303⋅log(x). The graphs are vertical stretches of each other. Multiplying every output of the common logarithm by ln(10) produces the natural logarithm.