Natural Log vs Common Log: ln(x) vs log(x)
ln(x) is the natural logarithm, with base e ≈ 2.718; log(x) usually means the common logarithm, with base 10. Both pass through (1, 0) and have the asymptote x = 0, but ln(x) grows faster: ln(10) ≈ 2.303 while log(10) = 1. They are related by ln(x) = log(x) ⁄ log(e) ≈ 2.303·log(x).
Check it yourself: every example here can be loaded into the Logarithmic Graphing Calculator.
Open the Logarithmic Graphing CalculatorThe two definitions
| Natural log | Common log | |
|---|---|---|
| Written | ln x | log x (or log₁₀ x) |
| Base | e ≈ 2.71828 | 10 |
| Means | the power of e that gives x | the power of 10 that gives x |
| Example | ln(e³) = 3 | log(1000) = 3 |
| Inverse | eˣ | 10ˣ |
On Graphing Calculator Lab, type ln(x) for the natural log and log(x) or log10(x) for base 10.
Values compared
| x | 0.1 | 1 | 2 | e | 10 | 100 |
|---|---|---|---|---|---|---|
| ln x | −2.303 | 0 | 0.693 | 1 | 2.303 | 4.605 |
| log x | −1 | 0 | 0.301 | 0.434 | 1 | 2 |
Notice that every ln value is about 2.303 times the log value. That constant is ln 10.
Text description of this figure
Graph comparing y = ln(x) and y = log(x) for x from 0 to 12, with the vertical distance between them at x = 10 marked: ln 10 ≈ 2.303 and log 10 = 1.
- Both pass through (1, 0): any log of 1 is 0.
- ln reaches 1 at x = e ≈ 2.718; log reaches 1 at x = 10.
- ln x = 2.303 × log x for every x > 0.
The graphs
Both curves share the features of every basic log graph — domain x > 0, vertical asymptote x = 0, x-intercept (1, 0) — and both increase. The only difference is a vertical stretch: ln x = (ln 10)·log x, so the ln graph is the log graph stretched by 2.303. It rises faster, reaching 1 at x = e instead of x = 10.
- Graph ln(x) and log(x) together — opens the Graphing Calculator
Change of base
To find a logarithm in any base b, divide by the log of the base — in either system:
Example: log₂ 20 = ln 20 ⁄ ln 2 ≈ 2.996 ⁄ 0.693 ≈ 4.32. Check: 2^4.32 ≈ 20 ✓.
Where each one is used
- ln — continuous growth and decay (A = Pe^(rt)), calculus, physics, biology, finance.
- log₁₀ — scales that span powers of ten: decibels, the pH scale, the Richter magnitude scale, significant figures and orders of magnitude.
Solving with each one
- eˣ = 7 → x = ln 7 ≈ 1.946.
- 10ˣ = 7 → x = log 7 ≈ 0.845.
- 3ˣ = 7 → x = ln 7 ⁄ ln 3 ≈ 1.771 (either log works with the change-of-base rule).
- Explore y = ln(x) in the log calculator — opens the Logarithmic Graphing Calculator
Common mistakes
- Assuming ln and log give the same answer. ln 100 ≈ 4.605; log 100 = 2.
- Writing ln(x + 2) = ln x + ln 2. The log of a sum does not split; ln(xy) = ln x + ln y is the product rule.
- Taking ln or log of zero or a negative number. Both are undefined there.
- Using log in a calculator that treats it as ln. Check the convention — or check log(10): it should be 1 for base 10.
For graphing any base with shifts and stretches, see how to graph logarithmic functions.
Questions
Why is e used as a base at all?
Because eˣ is the function whose rate of change equals itself. This makes ln and eˣ the natural choice for continuous growth, calculus and many science formulas.
Does log always mean base 10?
In school maths and on this site, yes. In some advanced maths and programming languages log means ln, and in computer science it may mean base 2. Check the convention.
How do I calculate log base 2?
Use the change of base rule: log₂ x = ln x ⁄ ln 2 = log x ⁄ log 2. On this site you can also type log(x, 2).
Graph your own example with the Logarithmic Graphing Calculator — free, in your browser.
Try it nowSources and further reading
- OpenStax, College Algebra 2e — 6.3 Logarithmic Functions
- OpenStax, College Algebra 2e — 6.5 Logarithmic Properties
Worked examples and figures were produced and checked with the Graphing Calculator Lab engine. See the editorial policy.