“ln” on a calculator is the natural logarithm: the power you’d have to raise the number e (about 2.718) to, to get your number. So ln(e) = 1, ln(1) = 0 and ln(10) ≈ 2.3026. The “log” key is different: it’s the base-10 logarithm, so log(100) = 2. Use ln for growth, decay and compound interest problems, and log for anything built on powers of 10.
ln vs log at a Glance
| x | ln(x), base e | log(x), base 10 |
|---|---|---|
| 0.5 | −0.6931 | −0.3010 |
| 1 | 0 | 0 |
| 2 | 0.6931 | 0.3010 |
| e ≈ 2.718 | 1 | 0.4343 |
| 10 | 2.3026 | 1 |
| 100 | 4.6052 | 2 |
Both are undefined for zero and negative numbers: there’s no power of e or 10 that gives 0 or a negative result, so a calculator shows an error.
What e Is
e ≈ 2.71828 is a mathematical constant, like π. It appears whenever something grows (or shrinks) in proportion to its current size, continuously: populations, radioactive decay, and interest compounded more and more often. That’s why the logarithm based on e is called “natural”.
ln and e^x Undo Each Other
ln is the inverse of the e^x key (often the second function of ln). ln(e^x) = x and e^(ln x) = x. For example, e^1.5 ≈ 4.4817, and ln(4.4817) ≈ 1.5. Similarly, log and 10^x undo each other.
How to Use ln: Worked Examples
1. How long to double money at 7% a year. With annual compounding, money doubles when 1.07^n = 2. Take ln of both sides: n = ln(2) ÷ ln(1.07) = 0.6931 ÷ 0.0677 ≈ 10.24 years. The rule of 72 estimates 72 ÷ 7 ≈ 10.3, very close.
2. Solving for a power. 2^n = 3. n = ln(3) ÷ ln(2) ≈ 1.0986 ÷ 0.6931 ≈ 1.585. Any base works for this trick, as long as you use the same one top and bottom: log(3) ÷ log(2) gives the same answer.
3. Continuous growth. A quantity growing continuously at rate r for time t becomes P × e^(r × t). To find how long it takes to triple: t = ln(3) ÷ r.
Key Rules of Logarithms
- ln(a × b) = ln(a) + ln(b)
- ln(a ÷ b) = ln(a) − ln(b)
- ln(a^n) = n × ln(a)
- ln(1) = 0 and ln(e) = 1
- To change base: log_b(x) = ln(x) ÷ ln(b)
Using ln on Our Scientific Calculator
On the free scientific calculator, press ln, type the number and close the bracket, then press =. For example, ln(2) gives 0.69314718056. The log key gives base-10 logarithms, so log(1000) = 3. Brackets let you combine them, for example ln(2)/ln(1.07) for the doubling-time example above.
Frequently Asked Questions
What does ln stand for?
Natural logarithm, from the Latin “logarithmus naturalis”. It’s the logarithm to base e, about 2.71828. On most calculators the ln key sits next to log, which is the base-10 logarithm.
What is the difference between log and ln?
log usually means base 10 and ln means base e. log(100) = 2 because 10² = 100, while ln(100) ≈ 4.605 because e^4.605 ≈ 100. In some higher-maths and programming contexts, “log” means the natural log, so check the convention.
Why is ln(0) an error?
Because no power of e equals zero. As x gets closer to 0, ln(x) becomes a larger and larger negative number without ever reaching a value, so the logarithm of 0 is undefined. The same applies to negative numbers.
What is ln(1)?
Zero, because e^0 = 1. The same is true for a logarithm to any base: log(1) = 0 as well.
Try ln, log, powers and roots on the free scientific calculator, and see doubling times in action with the compound interest calculator.
