Effortlessly highlight, filter, and sort data with Copilot in Excel
We're giving you a free trial of Copilot Pro.
This article describes the formula syntax and usage of the LN function in Microsoft Excel.
Returns the natural logarithm of a number. Natural logarithms are based on the constant e (2.71828182845904).
LN(number)
The LN function syntax has the following arguments:
Number Required. The positive real number for which you want the natural logarithm.
LN is the inverse of the EXP function.
Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.
Formula |
Description |
Result |
---|---|---|
=LN(86) |
Natural logarithm of 86 |
4.4543473 |
=LN(2.7182818) |
Natural logarithm of the value of the constant e |
1 |
=LN(EXP(3)) |
Natural logarithm of e raised to the power of 3 |
3 |