Home · Everyday · Rounding & Numbers · Order of Magnitude Calculator
Order of Magnitude Calculator
Find the power of ten nearest below any positive number — its order of magnitude — plus the scale factor that goes with it.
What this calculator does
Find the power of ten nearest below any positive number — its order of magnitude — plus the scale factor that goes with it. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
The order of magnitude of a positive number is the exponent of the largest power of ten that does not exceed it: ⌊log₁₀(x)⌋. A value of 3,500 has order 3 because it sits between 10³ and 10⁴. The multiple output always falls between 1 and 10 and shows where inside that decade the number lies.
Orders of magnitude compare scales rather than exact values — a difference of 2 means roughly a hundredfold gap. The input must be positive; zero and negative numbers have no base-10 logarithm and no order of magnitude in this sense.
Worked example
With the example inputs this page opens with (number x (must be > 0) 3500), the result is 3 — order of magnitude ⌊log₁₀ x⌋. Computed from the inputs on this page with the formula below — change any figure and every result updates.
Quick reference
| Number x (must be > 0) | Order of magnitude ⌊log₁₀ x⌋ | Power of ten 10^⌊log₁₀ x⌋ | x as a multiple of that power |
|---|---|---|---|
| 5 | 0 | 1 | 5 |
| 42 | 1 | 10 | 4.2 |
| 350 | 2 | 100 | 3.5 |
| 3500 | 3 | 1000 | 3.5 |
| 28000 | 4 | 10000 | 2.8 |
| 900000 | 5 | 100000 | 9 |
| 4500000 | 6 | 1000000 | 4.5 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
Is the order of magnitude of 9,900 equal to 3 or 4?
It is 3 under the floor convention used here, since 9,900 is still below 10⁴. Some fields round the logarithm instead, which would give 4 — check which convention a source uses.
How does the Order of Magnitude Calculator work?
Find the power of ten nearest below any positive number — its order of magnitude — plus the scale factor that goes with it. Positive number x → Order of magnitude. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Order of Magnitude Calculator need?
Positive number x → Order of magnitude. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Order of Magnitude Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.