excel functions

MS Excel: LN Function (WS)

This Excel tutorial explains how to use the Excel LN function with syntax and examples.


The Microsoft Excel LN function returns the natural logarithm of a number.


The syntax for the LN function in Microsoft Excel is:

LN( number )

Parameters or Arguments

A numeric value that must be greater than 0.

Applies To

The LN function can be used in the following versions of Microsoft Excel:

  • Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000

Type of Excel Function

The LN function can be used in Microsoft Excel as the following type of function:

  • Worksheet function (WS)

Example (as Worksheet Function)

Let's look at some Excel LN function examples and explore how to use the LN function as a worksheet function in Microsoft Excel:

Microsoft Excel

Based on the Excel spreadsheet above, the following LN examples would return:

Result: 2.995732274

Result: 3.218875825

Result: 4.605170186

Result: 5.298317367