Category: FUNCTION | Updated: 2026-11-22

[LOG10 Function] How to Calculate the Base-10 (Common) Logarithm

Syntax

=LOG10(value)
  • value: A positive real number for which you want to calculate the base-10 logarithm.

Example Table

Examples of calculating powers of 10 and finding the number of digits in a positive integer.

Number (Col A) Formula Output Explanation
10 =LOG10(A2) 1 10¹ = 10
1000 =LOG10(A3) 3 10³ = 1000
0.01 =LOG10(A4) -2 10⁻² = 0.01
54321 =INT(LOG10(A5))+1 5 Calculates the number of integer digits (5 digits)

Common Errors and Caveats

  • #NUM! error: Passing 0 or a negative number returns an error.
  • #VALUE! error: Passing a non-numeric text string returns an error.

Frequently Asked Questions

Q. When is the LOG10 function useful?

A. It is useful for finding the number of digits in a number and for calculating metrics that span orders of magnitude, such as sound volume (decibels), earthquake magnitude, or acidity (pH).

Q. Is there any difference between "=LOG(number, 10)" and "=LOG10(number)"?

A. The calculated result is identical. When you specifically want a base-10 (common) logarithm, using LOG10 makes the formula's intent clearer.