Contact

LN in Apple Numbers: Natural Logarithms and Growth Rates

Numeric Intermediate Apple Numbers

Use LN in Apple Numbers for natural logarithms, input-domain checks, and continuous growth rates, with verified example values.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

LN gives the natural logarithm of a strictly positive number. For example, =LN(2) is approximately 0.693147. It is useful for comparing multiplicative ratios and expressing a constant continuously compounded growth model.

Availability and version history

  • Introduced: The original introduction release and date are not established by the checked references.
  • Availability: Currently documented in Apple’s Functions Help 15.4 documentation edition; no final supported-version endpoint is established.
  • Scope: Shared iWork reference. Function-specific historical availability across Mac, iPad, iPhone and iCloud is unverified.
  • Checked: October 14, 2026, against the official LN reference. Numeric examples were independently calculated; no native Numbers test was performed.

Syntax and positive-input domain

LN(pos-num)

The single required input is numeric and greater than zero. A positive value below one has a negative logarithm; that sign is valid. Zero and negative inputs fall outside Apple’s documented real-number domain. There is no base argument or precision switch.

Apple’s LN entry warns that LN(EXP(x)) can differ slightly from x because of floating-point rounding. Its EXP entry separately makes that caution for the reverse composition, EXP(LN(x)). Mathematical inverse identities are useful checks, not promises of exact native bit-for-bit equality.

Build a six-input logarithm table

Create LogarithmLab, with eight columns A:H and fifteen rows, including one header row. Put Input in B1, Logarithm in C1, Reconstructed in D1 and Difference in E1. Enter the following numbers in B2:B7.

In C2 enter =LN(B2) and fill through C7. In D2 enter =EXP(C2) and fill through D7. In E2 enter =D2-B2 and fill through E7.

Row B: Input Expected C, six decimals Mathematical D Mathematical E
2 0.5 -0.693147 0.5 0
3 1 0.000000 1 0
4 2 0.693147 2 0
5 4 1.386294 4 0
6 10 2.302585 10 0
7 100 4.605170 100 0

The inverse columns use the underlying C results, not the six-decimal values typed back into cells. If you round the logarithm before applying EXP, you have changed the reconstruction. The mathematical-zero column is a comparison target subject to Apple’s rounding caution.

In G2 enter =LN(2.71828) for approximately 0.999999327347282, reproducing Apple’s example. In G3 enter =LN(EXP(1)); its mathematical target is 1. The typed constant 2.71828 is only an approximation of e, explaining why G2 is not exactly one even before considering spreadsheet rounding.

Calculate a continuously compounded rate

Enter 1000 in B12, 1200 in C12 and 2 in D12, representing a two-year interval with no intervening contributions or withdrawals. Place these outputs in E12:G12:

Cell Formula Expected result
E12 =LN(C12/B12)/D12 0.0911607784, approximately
F12 =EXP(E12)-1 0.0954451150, approximately
G12 =B12*EXP(E12*D12) 1200, mathematically

E12 is about 9.1161% per year as a continuously compounded rate. F12 is about 9.5445%, the equivalent effective annual change. Their different values use different compounding definitions. Neither proves that the underlying observations actually followed a constant growth path.

For a separate inverse check, put 8 in B13, =LN(B13) in C13 and =EXP(C13) in D13. C13 is approximately 2.0794415417; D13 has the mathematical target 8.

Advanced: add log changes across a changing path

Create GrowthSteps, with six columns A:F and seven rows. Put 1000,1100,990,1200 down B2:B5. In C3 enter =B3/B2 and fill through C5. In D3 enter =LN(C3) and fill through D5.

Row Ratio in C Expected D
3 1.1 0.0953101798
4 0.9 -0.1053605157
5 1.2121212121, approximately 0.1923718926

In F2 enter =D3+D4+D5 for approximately 0.1823215568. In F3 enter =EXP(F2) for 1.2, mathematically. This agrees with the endpoint ratio =B5/B2 in F4.

In F5 enter =C3+C4+C5-3; expect approximately 0.2121212121. In F6 enter =B5/B2-1 for 0.2. Adding ordinary percentage changes gives a different answer from multiplying their growth factors. Log changes add because each step’s ratio cancels the shared intermediate value when the ratios are multiplied.

A doubling and a halving also have opposite log changes: the first table’s LN(2) and LN(0.5) sum to zero mathematically. Those are reciprocal ratios, not equal positive and negative ordinary percentage changes.

Numeric input, references and portability

Enter the fixture values as numbers. A cell containing text such as "100" is not automatically a confirmed numeric input. Apple’s value-type reference distinguishes those types and documents TableName::B2 for another table. Selecting the intended cell while editing a formula lets Numbers insert its qualified reference.

The examples use decimal points and commas between arguments. Apple’s functions overview specifies semicolons between arguments when the decimal separator is a comma. A one-argument function has no argument delimiter, but a nested function with several arguments still follows that setting.

Keep unrounded formula results for later calculations. Display precision is not an internal-precision guarantee. Exact error-token spellings, imported-text coercion, extreme numerical boundaries and cross-product workbook conversions are outside the demonstrated cases. Matching function names alone does not establish identical behavior in every spreadsheet engine.

Use EXP to reverse a natural-log transform, LOG to specify another base and LOG10 for base ten. Check positivity before applying any real logarithm; replacing a failed log with zero would falsely describe a ratio of one.