🧮
🧮 Math & statistics

Order of Magnitude Calculator (nearest power of 10 & comparing two numbers)

Results update as you type.

Your numbers

Understanding the order of magnitude calculator — concept and principle

This calculator finds the order of magnitude of a number, the power of 10 closest to it, and compares two numbers by how many orders of magnitude apart they are. It is used for quick estimates in science and engineering, for Fermi problems, and for describing very large or very small quantities at a glance.

Order of magnitude on a log scaleWhich power of 10 is nearest?10⁶√10·10⁶10⁷8.5×10⁶log₁₀ 8,500,000 = 6.929 → rounds to 7Order of magnitude7300 → order 2 · difference 5 orders
On a log scale the halfway point between 10⁶ and 10⁷ is √10 × 10⁶ ≈ 3.16 million, so 8.5 million rounds up.

How it is calculated

  1. Write the number in scientific notation: x = a × 10^e with 1 ≤ a < 10.
  2. If a < √10 ≈ 3.162, the order of magnitude is e; if a ≥ √10, it is e + 1.
  3. Equivalently, the order of magnitude is log₁₀|x| rounded to the nearest whole number.

For two numbers, the difference in orders is OM(x) − OM(y); the page also shows the exact ratio x ÷ y and its log₁₀. The sign of x is ignored, and 0 has no order of magnitude.

The principle

Orders of magnitude measure size on a logarithmic scale, where each step multiplies by 10. On that scale the halfway point between 10^e and 10^(e+1) is not 5 × 10^e but 10^(e+0.5) = √10 × 10^e ≈ 3.162 × 10^e. That is why the cut-off is √10 instead of 5: a number like 4 × 10^6 is closer, in ratio terms, to 10^7 (2.5 times smaller) than to 10^6 (4 times larger). Rounding log₁₀|x| does the same thing in one step.

Worked example

Default inputs: x = 8,500,000, second number 300.

  1. 8,500,000 = 8.5 × 10⁶, so the exponent is 6.
  2. 8.5 ≥ 3.162, so round up: order of magnitude 7, nearest power 10⁷. Check: log₁₀ 8,500,000 = 6.92942, which rounds to 7.
  3. 300 = 3 × 10², and 3 < 3.162, so its order is 2.
  4. Difference in orders: 7 − 2 = 5.
  5. Exact ratio: 8,500,000 ÷ 300 = 28,333.3, log₁₀ = 4.452.

How to read the result

An order of magnitude tells you the scale, not the precise value. A difference of 5 orders means "roughly 100,000 times bigger", but notice that the exact ratio here is about 28,000, which is closer to 10^4.45. Rounding each number separately can shift the difference by one, so when the comparison matters, use the log of the ratio.

Common mistakes

Keep in mind: Some textbooks define the order of magnitude simply as the exponent in scientific notation, without rounding up. Check which convention your course or field uses.

Frequently asked questions

What is the order of magnitude of 0.004?

0.004 = 4 × 10⁻³ and 4 ≥ 3.162, so it rounds up to −2.

What does "two orders of magnitude larger" mean?

About 100 times larger, since each order is a factor of 10.

Why not round at 5?

Halfway on a log scale is √10 ≈ 3.162 times the lower power, not 5 times.

Does 0 have an order of magnitude?

No. log₁₀ 0 is undefined, so zero has no order of magnitude.

Sources: OpenStax, University Physics Volume 1 (2016), "Order of Magnitude"

Checked 9 Nov 2026. OpenStax, University Physics Volume 1 (2016), “Order of Magnitude” (the power of 10 that most closely approximates a number: round log₁₀ to the nearest integer, or compare the scientific-notation factor with √10 ≈ 3) — as adapted in LibreTexts Physics, GSU Physics II §1.4 “Units and Standards”.

🧮 All math & statistics tools →🌍 Calculators by country →