LOG in Apple Numbers: Any-Base Logarithms and Default Base 10
Learn LOG(number, base) in Apple Numbers, its optional base-10 default, positive-input restrictions, and worked base-2 and base-1.5 examples.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
LOG returns the exponent required to raise a chosen positive base to a positive number. =LOG(8,2) returns 3, while =LOG(100) returns 2 because an omitted base defaults to ten.
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 LOG reference. Numeric examples were independently calculated; no native Numbers test was performed.
Syntax, defaults and the base-one restriction
LOG(pos-num, base)
The first numeric argument is required and must be greater than zero. The numeric base is optional, defaults to 10, and must be greater than zero and different from 1. Apple explicitly says base one leads to division by zero and an error, without specifying an exact error-token spelling in this entry.
A blank cell supplied as the second argument is not the same formula as omitting that argument. The default example below uses only one argument. See the official LOG reference.
Six examples, including the omitted base
Create LogarithmLab, with eight columns A:H and fifteen rows, including one header row. Put Input in B1, Base in C1, Logarithm in D1, Reconstructed in E1 and Difference in F1. Enter the following values and formulas individually:
| Row | B: Input | C: Base | D: Formula | Expected D |
|---|---|---|---|---|
| 2 | 8 | 2 | =LOG(B2,C2) |
3 |
| 3 | 100 | 10 | =LOG(B3,C3) |
2 |
| 4 | 5.0625 | 1.5 | =LOG(B4,C4) |
4 |
| 5 | 0.125 | 2 | =LOG(B5,C5) |
-3 |
| 6 | 100 | Leave empty | =LOG(B6) |
2 |
| 7 | 1 | 10 | =LOG(B7,C7) |
0 |
Do not type the words Leave empty into C6. Do not fill one two-argument formula blindly across row 6; D6 must omit the second argument. The first three cases and the omitted-base case reproduce Apple’s supplied examples.
Enter =C2^D2 in E2 and fill through E5. Enter =10^D6 in E6 and =C7^D7 in E7. E2:E7 have the mathematical targets 8,100,5.0625,0.125,100,1. Put =E2-B2 in F2 and fill through F7 for mathematical zeros, allowing for finite-precision differences in practice.
At B4, four factors of 1.5 produce 5.0625. The base need not be an integer. At B5, 2 raised to -3 is 1/8, so a negative logarithm is correct.
Ratio and change-of-base checks
Put 4 in B12 and 64 in C12. Enter =LOG(C12/B12,2) in D12 for 4, then =B12*2^D12 in E12 for 64. There are four exact doublings from four to sixty-four: 4,8,16,32,64. This calculation describes the ratio, not the elapsed time unless a duration per doubling is separately supplied.
For a concrete change-of-base test, put 81 in B13 and 3 in C13. Enter =LOG(B13,C13) in D13 and =LN(B13)/LN(C13) in E13; both have the mathematical target 4. In F13 enter =C13^D13 for 81. The LN denominator explains why base one is invalid: LN(1) is zero.
Advanced: a base below one reverses the sign pattern
Use H2:H5 for these explicit controls:
| Cell | Formula | Expected result |
|---|---|---|
| H2 | =LOG(4,0.5) |
-2 |
| H3 | =0.5^H2 |
4 |
| H4 | =LOG(8) |
0.9030899870, approximately |
| H5 | =LOG(0.25,0.5) |
2 |
When the base lies between zero and one, positive powers shrink it. Therefore an input above one requires a negative exponent, while a positive input below one can require a positive exponent. The phrase ālogs below one are negativeā applies to bases above one, not every valid base.
Create ReciprocalBases, with five columns A:E and eight rows. Enter 0.25,0.5,1,2,4,8 down A2:A7. Put =LOG(A2,2) in B2 and =LOG(A2,0.5) in C2, then fill both through row 7. Expect B values -2,-1,0,1,2,3 and C values 2,1,0,-1,-2,-3. In D2 enter =B2+C2 and fill through D7 for mathematical zeros.
Bases 2 and 0.5 are reciprocals, which reverses the logarithm’s sign. Changing the base changes the answer even though the original positive input stays fixed. Label the base alongside any logarithmic result that will be compared with another report.
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 LN for base e, LOG10 for base ten and POWER to reconstruct a value from its base and exponent. The formulas establish mathematical identities for valid inputs, not a native error/coercion equivalence across applications.