=LN(number)One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
Need more than a single LN formula? Try our free AI for Excel — it reads your entire spreadsheet, answers questions in plain English, and builds charts and analysis in the same chat.
number:
The positive real number for which you want to calculate the natural logarithm. This must be greater than zero; otherwise, the function will return an error.
The LN function in Excel is a mathematical tool that calculates the natural logarithm of a given number. The natural logarithm is the logarithm to the base e, where e is approximately equal to 2.71828. This function is particularly useful in various fields such as finance, statistics, and engineering, where exponential growth or decay is analyzed.
In simpler terms, the LN function helps you understand the power to which the base e must be raised to obtain a specific number, making it easier to work with exponential relationships.
Imagine you are analyzing the growth of an investment over time, and you have the following data in an Excel spreadsheet:
| Year | Investment Value |
|---|---|
| 1 | 1000 |
| 2 | 1500 |
| 3 | 2250 |
| 4 | 3375 |
| 5 | 5062.5 |
You want to find the natural logarithm of the investment value at the end of year 5.
To calculate the natural logarithm of the investment value for year 5, you would use the LN formula as follows:
=LN(B6)When you apply the formula, it calculates the natural logarithm of 5062.5. The output would be:
| Natural Logarithm of Year 5 Investment |
|---|
| 8.5237 |
Here, the natural logarithm of 5062.5 is approximately 8.5237.
The LN function is particularly useful when you need to analyze exponential growth or decay, such as in financial modeling, population studies, or any scenario where logarithmic relationships are present. It allows you to transform multiplicative relationships into additive ones, simplifying complex calculations.
Understanding how to use the LN function can significantly enhance your analytical capabilities in Excel, enabling you to work effectively with exponential data.
Happy calculating!
You have a table where Column A contains product prices and Column B contains the corresponding quantities sold. You can use the LN function to calculate the natural logarithm of each product price in Column A. This allows for analyzing the relationship between price and sales volume, helping to identify pricing strategies that maximize revenue without the need for more complex mathematical models.
Beyond the LN function: Better Analyst is a full Excel AI that goes well past individual formulas. Upload any spreadsheet and ask questions in plain English — you'll get formulas, data analysis, and charts back in seconds. It's a free AI Excel assistant that works with any .xlsx, .xls, or .csv file — no plugins, no Microsoft 365 required.
Don't have a spreadsheet yet? Use our free AI spreadsheet generator to turn a text prompt into a downloadable Excel file — a full AI Excel sheet maker that builds headers, columns, and formulas from your description.
Create a free account for formula help, explanations, and spreadsheet analysis. Usage limits depend on your plan.
Browse our complete library of Excel formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.