Contact

LOG10 Function (LibreOffice Calc)

Math Beginner LibreOffice Calc

Calculate base-ten logarithms in LibreOffice Calc. Work through powers, fractional inputs and multiplicative growth, with positive-domain checks and inverse calculations.

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

Quick answer: LOG10 returns the exponent to which 10 must be raised to obtain a positive input. LOG10(1000) is 3; LOG10(0.01) is -2.

Availability and version history

  • Introduced: Documented by LibreOffice 26.8.1.1; original introduction not established.
  • Availability: Supported in LibreOffice 26.8.1.1, verified against its function registry. This identifies a supported release, not a final working version.
  • Scope: Desktop Calc, using the English function name. Availability in other spreadsheet applications is separate.
  • Checked: 2026-10-14 — function reference; versioned support. Documentation/source check; not a new native test. Existing example-specific test claims below retain their stated scope.

The LOG10 function in LibreOffice Calc is used for this task: Calculates the base-10 logarithm of a number. Calculate a base-ten logarithm.

This guide explains how to read the formula, reproduce a concrete example, interpret its result and recognize common input mistakes.

Syntax and arguments

LOG10(number)
Argument Required? Meaning
Number Yes A value greater than 0 for which the logarithm is to be calculated.

Calc formulas normally use semicolons (;) between arguments in common configurations; the displayed separator may depend on settings or locale.

Worked example

=LOG10(1000)

Expected result: 3.

Why it works: Calculate a base-ten logarithm.

How to use it in your own spreadsheet

  1. Identify the cells or inputs that correspond to the sample values above.
  2. Enter the formula in an empty cell, changing the references or literal values to match your sheet.
  3. Compare the output with a manual check on a small known example.
  4. Extend the formula to a larger dataset only after you understand the result.

Common problems and practical checks

  • Check the accepted numeric domain, units and array dimensions for the specific operation.
  • If an error appears, check that the function arguments are of the expected type.
  • A pasted formula may produce an error when it uses the other program’s argument separator or unsupported options.

Additional worked application and edge cases

Stepwise example: read orders of magnitude

Put 0.01, 1, 10, 1000 and 5 in A2:A6. In B2 enter =LOG10(A2) and fill down through B6.

Input Independently expected result Interpretation
0.01 -2 10 raised to -2 equals 0.01
1 0 10 raised to zero equals 1
10 1 One power of ten
1000 3 Three powers of ten
5 approximately 0.6989700043 Logarithms need not be integers

The result is an exponent, not a percentage or a count of digits. In particular, a negative result is valid when the input lies strictly between zero and one. It does not mean that a negative number was supplied.

Check the inverse without replacing the stored value

In C2 enter =10^B2 and fill down. The mathematical results recover the inputs in column A. Floating-point calculations may differ in their final digits; use an appropriate tolerance when comparing noninteger values rather than requiring identical binary representations.

Display more decimal places for the logarithm if necessary. Rounding B6 to one decimal changes a subsequent inverse to 10^0.7, approximately 5.0118723363, instead of exactly five. Number formatting alone generally changes display, whereas a ROUND formula changes the value used downstream; calculation settings such as precision-as-shown must also be considered.

Advanced application: measure multiplicative change

Suppose a synthetic count rises from 250 in E2 to 25000 in F2. Enter =LOG10(F2/E2) in G2. The ratio is 100 and the expected result is 2, meaning two orders of magnitude of growth. With F2=25 instead, the ratio is 0.1 and the result is -1.

This is not ordinary percentage change. For the first case the percentage increase is (25000-250)/250, or 9900%. State which measure a report uses. Both starting and ending values must be positive for this logarithmic comparison; zero is not a usable baseline.

For very large or very small positive inputs, =LOG10(F2)-LOG10(E2) is mathematically equivalent and avoids forming a ratio that might overflow or underflow before LOG10 receives it. The separate logarithms still have finite-precision limits.

Domain, errors and base selection

Number is the one required argument; LOG10 has no optional base argument. Use LOG with an explicit base when a different logarithm is required, or LN for the natural logarithm. Changing the cell’s number format does not change the base.

Zero and negative inputs have no real base-ten logarithm. Calc’s pinned ScLog10 implementation rejects them as an invalid argument. Check a blank or missing measurement before calculation rather than replacing the error with zero: zero is itself a valid logarithm for an input of one. For a numeric input column, =IF(A2>0;LOG10(A2);"Positive input required") makes the domain rule visible, but does not validate every possible imported text or error value.

The domain check is also confirmed in LibreOffice’s versioned implementation. Dates are stored as numbers in spreadsheets; a date serial accepted as Number does not by itself have a meaningful logarithmic interpretation for a measurement model.

Verification scope for this addition: These added results were independently calculated or derived from the cited documentation/source. They were not newly tested in LibreOffice Calc. The original example-specific Calc 25.2.3.2 claims elsewhere on this page remain historical and apply only to those original examples. The cited 26.8.1.1 source tag is a code reference, not a claim of a new run in that release.

Documentation and verification

  • LibreOffice Calc Help
  • The standalone example was calculated using LibreOffice Calc 25.2.3.2 on October 9, 2026 and its computed result matched the expected value. This does not certify every option, version, or other example.

Detailed reference checked October 17, 2026