LOG10 Function in ONLYOFFICE Spreadsheet Editor: Base-10 Logs and Examples
Find base-10 logarithms in ONLYOFFICE with explicit numeric input rules, scale examples and formulas for orders of magnitude.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
LOG10 returns the base-ten logarithm of a positive number. It answers “what power of ten gives this value?” Each increase of one in the logarithm corresponds to a tenfold increase in the original quantity.
Availability and version history
- Introduced: The original introduction version and date are not established by the checked sources.
- Availability: Documented in the current ONLYOFFICE Spreadsheet Editor help; no final supported-version endpoint is established.
- Scope: Docs and Desktop Editors release separately. The unversioned help does not establish identical support in older builds, mobile clients or every deployment.
- Checked: October 14, 2026, against the official LOG10 reference and related function entries. Examples were independently calculated; these formulas have not been run in the native application.
Syntax and input rules
=LOG10(number)
The official LOG10 reference requires a numeric input greater than zero. There is no optional base. LOG also uses ten when its optional base is omitted; LN uses e.
A logarithm is not a nearest-power-of-ten rounding operation. For example, LOG10(45000) is approximately 4.653213, not 4 or 5.
Powers of ten and inverse checks
Create DecimalLogLab using A1:D7, with headers Positive number, Base-ten log, Recovered number and Difference. Enter the inputs below in A2:A7. Put =LOG10(A2) in B2, =POWER(10,B2) in C2 and =C2-A2 in D2. Fill B2:D2 through row 7.
| Row | A: input | Expected B, six decimals | Expected C |
|---|---|---|---|
| 2 | 0.001 | -3.000000 | 0.001 |
| 3 | 0.1 | -1.000000 | 0.1 |
| 4 | 1 | 0.000000 | 1 |
| 5 | 10 | 1.000000 | 10 |
| 6 | 100 | 2.000000 | 100 |
| 7 | 1000 | 3.000000 | 1000 |
D2:D7 have mathematical targets of zero. Finite precision can leave small residuals. Display six decimal places without rounding the values used by C.
Use F1:G5 for labels and additional controls:
| Cell | Formula | Expected result |
|---|---|---|
| G2 | =LOG10(2) |
0.3010299957 |
| G3 | =LOG10(45000) |
4.6532125138 |
| G4 | =INT(LOG10(45000)) |
4 |
| G5 | =POWER(10,2.5) |
316.2277660168 |
On a separate VendorLOG10 sheet, put 56 in A1 and =LOG10(A1) in C1. The official illustration shows 1.74818803.
Classify an order of magnitude
Create MagnitudeBins using A1:D5. Label A:D Value, Exponent, Inclusive lower bound and Exclusive upper bound. Enter 45000, 100000, 0.45 and 0.001 in A2:A5. In B2 enter =INT(LOG10(A2)), C2 =POWER(10,B2) and D2 =POWER(10,B2+1). Fill B2:D2 through row 5.
| Row | Value | Expected exponent | Lower bound | Upper bound |
|---|---|---|---|---|
| 2 | 45000 | 4 | 10000 | 100000 |
| 3 | 100000 | 5 | 100000 | 1000000 |
| 4 | 0.45 | -1 | 0.1 | 1 |
| 5 | 0.001 | -3 | 0.001 | 0.01 |
The intended interval is lower bound ≤ value < upper bound. INT is important for fractional values below one: LOG10(0.45) is about −0.3467874862, so rounding down gives −1. Truncating toward zero would give 0 and select the wrong interval.
These interval endpoints are mathematical targets. An exact-power input close to a floating-point rounding boundary deserves a target-build check before using this formula as a critical classifier.
Compare measurements on a logarithmic scale
Create RatioComparison using A1:E3, with headers Initial, Final, Log ratio, Ordinary ratio and Reconstructed ratio. Enter 100 and 1000 in A2:B2, then 1000 and 100 in A3:B3.
In C2 enter =LOG10(B2/A2), D2 =B2/A2, and E2 =POWER(10,C2). Fill C2:E2 through row 3.
| Row | Expected log ratio | Expected ordinary ratio | Expected reconstructed ratio |
|---|---|---|---|
| 2 | 1 | 10 | 10 |
| 3 | -1 | 0.1 | 0.1 |
A log difference of one is a factor of ten, not an increase of one unit. Both measurements must be positive. Do not use this ratio model for an input that can cross zero.
Recover a value and choose the correct logarithm
On RecoverValue, put the log reading 2.5 in A2 and =POWER(10,A2) in B2, giving approximately 316.2277660168. Enter =LOG10(B2) in C2 to recover 2.5. Retain B’s unrounded value for the inverse.
On a separate CompareLogs sheet, put 100 in A2. In B2 enter =LOG10(A2) → 2, C2 =LOG(A2) → 2, and D2 =LN(A2) → approximately 4.6051701860. POWER reverses the selected base/exponent relationship; LN must be requested explicitly for a natural logarithm.
Troubleshooting
- Zero and negative values are outside the documented input domain. The function page does not establish the exact error token.
- Negative outputs are normal for positive values smaller than one.
- A displayed zero can be caused by a short number format. Inspect more decimals before treating a result as zero.
- Text/blank conversion, very large or small input limits, localized parsing and workbook round trips are not specified by this short reference.
- Keep each comparison on its own sheet; the inputs above do not overwrite earlier output formulas.