Determine a number's scale by finding its nearest power of 10.
This calculator helps you understand the scale of numbers by finding the closest power of 10. Enter a number to see its order of magnitude, which is a way of expressing its approximate size.
See how order of magnitude works with real-world numbers.
Distance from Earth to the Sun is approximately 149.6 million km.
Number: 149600000000
The approximate size of a water molecule.
Number: 0.000000000275
A number close to the rounding boundary (sqrt(10) ≈ 3.16).
Number: 3.1
Population of a mid-sized country, e.g., Netherlands.
Number: 17530000
a × 10^n
, where 1 ≤ a < 10
, its order of magnitude is generally considered 10^n
. However, a more accurate method, and the one this calculator uses, involves rounding. If 'a' is greater than or equal to the square root of 10 (approximately 3.162), the order of magnitude is n+1
.1.496 × 10¹¹ m
). Order of magnitude provides a class or bin (10¹¹ m
). It answers the question, 'Roughly how big is it?' This is useful when the exact value is unnecessary or distracting, such as when comparing the size of a galaxy to the size of a solar system.log₁₀(N)
) of the input number N
.n
, becomes the exponent.n
(10ⁿ).Let's find the order of magnitude for the number 45,000:
log₁₀(950) ≈ 2.97
. The floor is 2, suggesting an order of magnitude of 10². However, 950 is clearly much closer to 1000 (10³) than to 100 (10²).N = a x 10ⁿ
rounds up to 10ⁿ⁺¹
if a > sqrt(10) ≈ 3.162
. If a < 3.162
, it rounds down to 10ⁿ
. This is because the halfway point on a log scale is 10ⁿ⁺⁰.⁵ = 10ⁿ * sqrt(10)
.n
that makes 10ⁿ
'closest' to our number N
. Closeness can be defined by minimizing the geometric distance, which translates to minimizing the difference in their logarithms.n
that minimizes the absolute difference |log₁₀(N) - log₁₀(10ⁿ)|
. This simplifies to |log₁₀(N) - n|
. By the mathematical definition of rounding, the integer n
that is closest to the value log₁₀(N)
is precisely round(log₁₀(N))
.x = log₁₀(N)
. We want to find an integer n
that minimizes |x - n|
. If we let n = floor(x)
, the distance is x - floor(x)
. If we let n = ceil(x)
, the distance is ceil(x) - x
. Rounding x
is defined as picking floor(x)
if x - floor(x) < 0.5
and ceil(x)
if x - floor(x) >= 0.5
. This is precisely the process of finding the integer n
that is closest to x
.