Saved

Press the star next to a tool's name to save it.

All my tools

Order of Magnitude Calculator

Use this order of magnitude calculator to find the exponent, the scientific notation and the nearest order of a number, or to compare two numbers in powers of ten.

Restored your last values ·

Enter a number such as 4000000, 0.004 or 6.5e12. For one number you get its order of magnitude, its scientific notation and the nearest order. To compare two numbers, enter both and read the difference in orders and the ratio.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Choose what you want, enter the number, then press Calculate.

See full result

An order of magnitude calculator tells you how big a number is on the scale of powers of ten. Enter a number and the calculator returns its order of magnitude, its scientific notation and the nearest order. Enter two numbers and it tells you how many orders of magnitude apart they are and whether they are within one order of each other. It works for very large and very small numbers, and everything is done in your browser.

How to use the order of magnitude calculator

  1. Choose Order of one number or Compare two numbers.
  2. Type the number. You can write it as 4000000, 0.004 or 6.5e12.
  3. For a comparison, type the second number.
  4. Press Calculate and read the order, the nearest order and the ratio.

What an order of magnitude is

The Wikipedia article on the order of magnitude says that, generally, the order of magnitude of a number is the smallest power of 10 used to represent that number. If you write the number as n = a × 10ᵇ, then b is the order of magnitude.[1] The page adds that it is usually taken as the integer part of the base-10 logarithm, obtained by truncation, and its example is 4,000,000, whose logarithm is about 6.602, so its order of magnitude is 6.[1] The calculator uses the exponent b of the scientific notation with the multiplier a from 1 up to 10. For 4,000,000 that is 4 × 10⁶, so the order is 6. For a number below 1, such as 0.004 = 4 × 10⁻³, the exponent is −3. The page also mentions a simpler convention in which the multiplier runs from 0.5 to 5; the calculator does not use it.[1]

The difference between two orders of magnitude

The page explains that each division or multiplication by 10 is called an order of magnitude, so there is one order of magnitude between 2 and 20, two between 2 and 200, and six between 2 and 2,000,000.[1] If two values differ by two orders of magnitude, they differ by a factor of about 100. In the comparison mode, the calculator gives the difference between the two exponents, the exact value of log₁₀ of the ratio, and the plain ratio of the larger number to the smaller. For 2 and 2,000,000 the ratio is 1,000,000 and the difference is 6.

Within an order of magnitude

The article says that two numbers are within an order of magnitude of each other when the ratio of the greater to the lesser is between 1 and 10. Its examples are that 1 and 1.02, 1 and 9, and 1 and 0.2 are within an order of magnitude, while 1 and 15 are not, because 15 ÷ 1 is more than 10.[1] The calculator answers this directly with a Yes or No. The ratio of exactly 10 counts as within one order, so 2 and 20 are within an order of magnitude. This test is useful for a quick sanity check, such as asking whether an estimate is in the right range.

Rounding to the nearest order of magnitude

Sometimes you want the nearest power of ten rather than the exponent of the scientific notation. The page says to round the logarithm of the number to the nearest integer. So 4,000,000, with a logarithm of about 6.602, rounds to the order 7.[1] This is the same as rounding up to the next power of ten when the multiplier is greater than the square root of ten, about 3.162. The page gives the examples 1.7 × 10⁸, which has the nearest order 8, and 3.7 × 10⁸, which has the nearest order 9.[1] The calculator shows both numbers, the floor-type order and the nearest order, so you can use whichever one your subject uses.

Worked examples

A city has 4,000,000 people. In scientific notation that is 4 × 10⁶, so its order of magnitude is 6, and its nearest order is 7. A virus that is 0.00000012 m long is 1.2 × 10⁻⁷ m, so its order is −7. If you compare the city with a town of 4,000 people, the ratio is 1,000, the exponents differ by 3, and the two are not within one order of magnitude. The page also notes that an income of seven figures has an order of magnitude of 6, which is the number of figures minus one.[1]

Where orders of magnitude are used

Scientists use orders of magnitude to compare sizes that range from atoms to galaxies, and to check whether an estimate is plausible. In astronomy, the page notes that a difference of 5 magnitudes in the brightness scale is a factor of 100, which is two orders of magnitude.[1] Prefixes such as kilo, mega and giga stand for steps of three orders of magnitude. The idea is also behind scientific notation, logarithmic scales and the estimates called Fermi problems, in which you aim to be within a power of ten of the right answer.

Estimating with orders of magnitude

A quick estimate often needs only the order of magnitude. If a school has 900 students and a county has 60 schools, the county has about 54,000 students, which is 5.4 × 10⁴, so its order of magnitude is 4. Rounding each figure to the nearest power of ten would give 1,000 × 100 = 100,000, which is the right order or one above it. The comparison mode shows how far such a rough figure is from a careful one, and the ratio tells you if the rough estimate is within a factor of ten.

Common mistakes

  • Counting digits instead of using the exponent. A number with seven digits has order 6, not 7.
  • Truncating the logarithm of a small number. For 0.004, the exponent is −3, not −2.
  • Mixing the exponent and the nearest order. They can differ by 1.
  • Treating zero as a number with an order. It has none.

What next

Use this often? Add Order of Mag to your Home screen.

Frequently asked questions

What is an order of magnitude calculator?

A tool that gives the power of ten that a number is closest to and compares two numbers by how many powers of ten apart they are.

What is the order of magnitude of 4,000,000?

It is 6, because 4,000,000 is 4 × 10⁶. Its base-10 logarithm is about 6.602, and the nearest order is 7.

How many orders of magnitude are between 2 and 2,000,000?

Six. Each multiplication by 10 is one order of magnitude, and 2,000,000 is 2 multiplied by 10 six times.

What does within an order of magnitude mean?

The ratio of the greater number to the lesser is between 1 and 10, so 1 and 9 are within one order and 1 and 15 are not.

Does the calculator work with numbers smaller than 1?

Yes. The number 0.004 is 4 × 10⁻³, so its order of magnitude is −3.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Math Tools