LOG in Zoho Sheet: Custom-Base Logarithms and Growth Models
Calculate custom-base logarithms in Zoho Sheet, read precise LOG syntax, and use step-by-step examples for doubling time and scale changes.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: =LOG(8;2) returns 3, because 2³=8. =LOG(100) returns 2 because Zoho’s optional base defaults to ten.
Availability and version history
- Introduced: The original introduction version and date are not established by the checked sources.
- Availability: Currently documented in Zoho Sheet’s rolling web-service help; no numbered release or retirement endpoint is established.
- Scope: English-language web-service documentation. Mobile and offline-client parity is outside the verified scope.
- Checked: October 14, 2026, against the official LOG reference. Documentation and independent example checks; no native Zoho Sheet test.
Syntax and documented default
=LOG(number; [base])
The first argument is a positive real number. Base is optional and defaults to 10 when omitted. Do not type the brackets. A valid real logarithm base is positive and different from one; the checked page does not specify an exact error for every invalid base.
Zoho explicitly lists #NUM! for a first argument less than or equal to zero. That documented condition is narrower than a complete invalid-argument matrix. The source’s resolved article is LOG, including the log-function slug.
The result is an exponent: LOG(x;b)=y means b^y=x. It is not ordinary division by the base. A negative result can be valid, such as LOG(0.125;2)=−3.
Enter a complete custom-base table
Create a new sheet named Logarithms. Put Record, Number, Base, Note, LOG result, Default-base result, Rebuilt number and LN comparison in A1:H1. Enter the B:C inputs below; A and D may contain labels.
| Row | B: Number | C: Base | Expected E | Expected F, nine decimals |
|---|---|---|---|---|
| 2 | 0.125 | 2 | -3 | -0.903089987 |
| 3 | 0.5 | 2 | -1 | -0.301029996 |
| 4 | 1 | 10 | 0 | 0.000000000 |
| 5 | 2 | 2 | 1 | 0.301029996 |
| 6 | 8 | 2 | 3 | 0.903089987 |
| 7 | 10 | 10 | 1 | 1.000000000 |
| 8 | 32 | 2 | 5 | 1.505149978 |
| 9 | 50 | 10 | 1.698970004 | 1.698970004 |
| 10 | 100 | 10 | 2 | 2.000000000 |
| 11 | 1000 | 10 | 3 | 3.000000000 |
Enter E2 =LOG(B2;C2), F2 =LOG(B2), G2 =POWER(C2;E2) and H2 =LN(B2)/LN(C2). Fill E2:H2 through row 11.
G mathematically reconstructs the original B values; H gives the same logarithms as E by the change-of-base identity. Preserve computed precision rather than copying the rounded E values into G. The C reference moves with each row, while F intentionally omits the base instead of passing a blank cell.
The row for 50 to base ten reproduces Zoho’s displayed constant example. All worksheet inputs are included here, so no practice-file import is required.
Advanced: how many whole growth periods reach a target?
Create a separate sheet named GrowthPeriods, with Starting value, Target value, Periodic rate, Analytic periods, Whole periods, Final amount and Previous amount in A1:G1. Enter 100, 200 and 5% in A2:C2.
- D2:
=LOG(B2/A2;1+C2)→ approximately 14.206699083 - E2:
=CEILING(D2;1)→ 15 - F2:
=A2*POWER(1+C2;E2)→ approximately 207.892817941 - G2:
=A2*POWER(1+C2;E2-1)→ approximately 197.993159944
Fourteen completed periods are below the target; fifteen reach it under the constant-rate model. CEILING is used only with this positive result and positive unit increment. It is not being asserted as a universal signed rounding rule.
The analytic duration and whole-period count answer different questions. This model has no deposits, withdrawals or variable rates. A percentage such as 5% is 0.05; entering 5 as an ordinary number changes the growth factor to 6.
Bases between zero and one
Create another sheet named ShrinkingBase. Enter Number, Base, Logarithm and Rebuilt number in A1:D1. Enter 0.125, 0.5 in A2:B2 and 8, 0.5 in A3:B3. Put =LOG(A2;B2) in C2 and =POWER(B2;C2) in D2; fill through row 3.
Independent expected logarithms are 3 and -3. The reconstructions are 0.125 and 8. A positive base below one is a shrinking factor, so its sign pattern differs from a base above one.
The examples follow the ordinary real logarithm definition. They do not establish every parser or numerical boundary for bases very close to one, where a small logarithm in the denominator can amplify numerical differences.
Input errors and interpretation
Zoho documents #NUM! for nonpositive first arguments, including 0 and −9. Base 1 is invalid mathematically because its logarithm is zero; base 0 or a negative base is outside the ordinary real-valued definition used here. The exact native outcome for every invalid base is not specified by the checked page.
Inspect imported types and references if formulas are rejected. A label or text-formatted number is not established as a valid numeric argument merely because it looks numeric. LOG is not a replacement for ordinary percentage change, a linear average or the length of a text identifier.
LOG10 is the direct base-ten function, LN uses base e, and POWER reverses the base/exponent relationship in the examples above. Keep their distinct arguments and Zoho’s semicolon syntax clear when exchanging formulas.