Function · Powers and logs
Excel LN function
The Excel LN function returns the natural logarithm. LN of e, which is EXP(1), is 1. LN of 10 is about 2.302585.
Syntax =LN(number)
=LN(EXP(1))Arguments
| Name | Required | What to pass |
|---|---|---|
| number | Required | A positive number. The result is the power to which e must be raised to produce that number. |
Examples
The natural log of e
=LN(EXP(1))Result 1
| A | B | |
|---|---|---|
| 1 | Natural log of e | 1 |
LN returns the natural logarithm, the power you raise e to. LN(EXP(1)) is 1. LN(1) is 0, because e to the 0 is 1. LN(10) is about 2.302585, while LOG10(10) is 1. The base is the difference.
Zero and negative numbers are #NUM!. A growth calculation that subtracts logs is how people turn a product of returns into a sum. EXP puts the result back into dollars. LOG is the same idea with a base you choose, and LOG10 fixes that base at 10.