Note: The other languages of the website are Google-translated. Back to English

Excel LN Function

The LN function returns the natural logarithm of a given number. It is the given number’s logarithm to the base of the mathematical constant e, where e equals 2.718281828459 approximately.

ln function 1


=LN (number)


  • Number (required): The positive number that you want to calculate the natural logarithm of.

Return value

The LN function returns a positive numeric value.

Function notes

  1. Number, the only argument in the LN function, should be supplied as a numeric value.
  2. LN function will return the #VALUE! error if number is non-numeric.
  3. LN function will return the #NUM! error if number ≤ 0.
  4. Set the number to constant e (2.718281828), the value of 1 will be returned.
  5. LN is the inverse of EXP. In other words, the input to the LN function is the output of the EXP function, vice versa. EXP returns e raised to the power of a number.


Supposing, you want to round the numbers to even integers in the table below. Please do as follows.

1. Copy the formula below into cell C4.

=LN (B4)

2. Then drag the fill handle down to the cells you want to apply this formula too. The results are as the following screenshot shows.

ln function 2


  1. The given number in B6 is the constant e, and also the result returned from the EXP formula:

    =EXP (1)

    ln function 3

  2. The LN formula in C6 can be seen as this:

    =LN (EXP(1)) >>> returns 1, the natural logarithm of the constant e.

  3. The given number in B7 is also the result returned from the EXP formula:

    =EXP (4)

    ln function 4

  4. The LN formula in C7 can be seen as this:

    =LN (EXP(4)) >>> returns 4, the natural logarithm of e raised to the power of 4.

  5. We can directly input value in the number argument in the formula. For example, the formula in cell C4 can be changed to:

    =LN (1) >>> returns 0

Relative Functions:

  • Excel EVEN Function
    The EVEN function rounds numbers away from zero to the nearest even integer.

  • Excel EXP Function
    The EXP function returns the result of the constant e raised to the nth power.

The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time for you.

  • Designed for 1500 work scenarios, helps you solve 80% Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 30-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.
Ribbon of Excel (with Kutools for Excel installed)

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Firefox, And New Internet Explorer.
Screen Shot of Excel (with Office Tab installed)
Comments (1)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Boa noite!

Gostaria de ter essa fórmula no excel:
equação ajustada fornecida pelo "inventário Florestal de Minas Gerais”
Ln(VTcc) = -9,821818496 + 2,155155721 x Ln(DAP) + 0,790768692 * Ln(HT)

(cm) (m) (cm)
48,6 5,5 15,46986047

o resultado é : 0,076457804
There are no comments posted here yet
Leave your comments
Posting as Guest
Rate this post:
0   Characters
Suggested Locations

Follow Us

Copyright © 2009 - | All rights reserved. Powered by ExtendOffice. | Sitemap
Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.
Protected by Sectigo SSL