Ln
LN Function¶
The LN function in Excel is used to calculate the natural logarithm of a given number. The natural logarithm is the
logarithm to the base e (approximately 2.718), which is a mathematical constant.
Syntax:¶
LN(number)
- number: The positive numeric value for which you want to calculate the natural logarithm.
Examples:¶
-
=LN(1)
Returns0, because the natural logarithm of1is0. -
=LN(2.718)
Returns approximately1, becausee^1 = 2.718. -
=LN(7.389)
Returns approximately2, becausee^2 = 7.389. -
=LN(0.5)
Returns a negative value, approximately-0.693, ase^-0.693 ≈ 0.5. -
=LN(10)
Returns approximately2.302, becausee^2.302 ≈ 10.
Usage Notes:¶
- The number must be positive; otherwise, the function will return a
#NUM!error. - The function is undefined for non-positive values (i.e.,
0or negative numbers). - The
LNfunction is widely used in mathematics, finance, and science, particularly for exponential growth or decay problems, compound interest calculations, and solving for time in natural exponential relationships. - For logarithms with other bases, use the
LOGfunction in Excel, which allows specifying a different base.