ARITHMETIC WORKSHEETS

Checking scientific notation across a power-of-ten boundary

The order-of-magnitude tool returns the exponent that normalized scientific notation uses, which is the floor of the base-10 logarithm. This guide checks that rule at 900, 0.001 and 0.0009, where mistakes are most likely.

What the exponent is meant to say

Scientific notation writes a positive number as a coefficient between 1 and just under 10, multiplied by a power of ten. The number 4,500 becomes 4.5 times 10 to the third, and 0.0032 becomes 3.2 times 10 to the negative third. The exponent tells you how many places the decimal point moved to get a coefficient in that range. The Order of Magnitude Calculator returns exactly this exponent for a positive input. Its formula is the floor of the base-10 logarithm of x: take log base 10, then round down to the nearest integer. Floor means the greatest integer that is not larger than the value, which matters a great deal for negative logarithms. This guide tests the rule at the awkward spots, namely numbers just below a power of ten and numbers below one.

Why the logarithm gives the exponent

The base-10 logarithm of a number is the power to which 10 must be raised to produce it. For 1,000 it is exactly 3, and for 100 it is exactly 2. A number between 100 and 1,000, such as 900, has a logarithm between 2 and 3, here about 2.954. Writing 900 as 9 times 10 squared shows the connection: log of 9 times 10 squared equals log 9 plus 2, which is about 0.954 plus 2. The fractional part is the log of the coefficient, which lies between 0 and 1 because the coefficient lies between 1 and 10. The integer part is the exponent. Taking the floor of the logarithm therefore strips the fractional part and leaves the exponent of the normalized form, for any positive number at all.

The first boundary: 0.001

The value 0.001 is one thousandth, which is 1 times 10 to the negative third. Its base-10 logarithm is exactly negative 3, and the floor of negative 3 is negative 3. The calculator returns negative 3. The coefficient is exactly 1, which is the lowest value allowed in the normalized range, so 0.001 sits exactly on the boundary between the exponent negative 3 and the exponent negative 4. Boundaries like this belong to the higher exponent: a coefficient of 1 is valid, and a coefficient of 10 is not. This is the reason the rule uses a floor and not a ceiling. The same logic gives 1,000 an exponent of 3, 100 an exponent of 2, and 1 an exponent of 0, since 1 is 1 times 10 to the zero.

Just below the boundary: 0.0009

Now take 0.0009, which is only slightly smaller than 0.001. Written in normalized form it is 9 times 10 to the negative fourth, so the exponent is negative 4. Its base-10 logarithm is about negative 3.046, and the floor of that is negative 4, because negative 4 is the greatest integer that does not exceed negative 3.046. The calculator returns negative 4. A tiny change in the input, from 0.001 to 0.0009, moves the exponent by a whole step, and that is the nature of a boundary. The mistake to avoid is rounding toward zero, which would turn negative 3.046 into negative 3 and give the wrong exponent. For negative logarithms, the floor moves away from zero, which is the opposite of what truncation does.

A number above one: 900

The value 900 is 9 times 10 squared, so the exponent is 2, and the calculator returns 2. The logarithm of 900 is about 2.954, whose floor is 2. Some people expect an answer of 3, because 900 is close to 1,000 and a nearest-power-of-ten reading would say that 900 is of the order of a thousand. That is a different convention, sometimes called the order of magnitude by rounding the logarithm, and it gives 3. This tool does not use it. It reports the exponent of the normalized scientific notation, in which 900 is firmly in the hundreds. The difference matters when comparing results from different tools, which may follow either convention. State the convention when you report the number, because the same input can give 2 or 3 depending on the rule.

More values to test the rule

A few more cases make the pattern clear. The number 999 has a logarithm just under 3, about 2.9996, so the floor is 2, and the exponent is 2. The number 1,000 has an exponent of 3, even though it differs from 999 by only 1. The number 7,500 is 7.5 times 10 cubed, so its exponent is 3. The number 0.05 is 5 times 10 to the negative second, and its logarithm is about negative 1.301, whose floor is negative 2. The speed of light in vacuum is defined as exactly 299,792,458 meters per second, which is 2.99792458 times 10 to the eighth, so the exponent is 8. Each of these follows from the same rule, and the calculator handles them with the same formula, applied to any positive input.

Large and small constants

Physical constants show why the exponent is useful. Since the 2019 redefinition of the SI, the Avogadro constant has the exact value 6.02214076 times 10 to the 23 per mole, and the Planck constant is exactly 6.62607015 times 10 to the negative 34 joule second. The exponents 23 and negative 34 tell you at once that one is vast and the other minuscule, and the difference of 57 in exponents means the two differ by about 57 orders of magnitude. Comparing magnitudes by subtracting exponents is a quick way to see how far apart two quantities are, provided they are in the same unit. A ratio of 10 to the sixth means a factor of a million, whatever the coefficients are, up to a factor of ten either way.

Comparing sizes with exponents

When two numbers have exponents that differ by k, their ratio lies between 10 to the k minus 1 and 10 to the k plus 1. For example, a distance of 3 times 10 to the fifth meters and one of 4 times 10 to the second meters differ by 3 in exponent, so their ratio is between 100 and 10,000. The exact ratio is 3 divided by 4 times 1,000, which is 750, inside that range. This is the basis of order-of-magnitude estimation, used in physics and engineering for quick checks of whether a result is plausible. The estimate is rough by design. It tells you whether a calculation is off by a factor of ten or a thousand, which is often the question at the first stage of an analysis.

Inputs the tool cannot accept

The logarithm is defined only for positive numbers, so the calculator accepts only positive values, up to 1e+100. Zero has no base-10 logarithm, because no power of ten equals zero, and negative numbers have no real logarithm. Typing 0 or a negative number such as negative 5,000 returns an error message. For a negative quantity, enter its absolute value and handle the sign separately, writing the number as a negative coefficient times a power of ten. Negative 5,000 is negative 5 times 10 to the third, so the exponent is 3, the same as for 5,000. Values near the edges of the accepted range are also subject to floating-point limits and may not be represented exactly. Everyday values like those here are well within it.

Floating point and the boundaries

Computers store most decimals approximately, and logarithms are computed numerically, so a number extremely close to a power of ten could in principle produce a logarithm that is a hair above or below the exact integer. Exact powers of ten such as 0.001 and 1,000 are handled correctly by the standard logarithm functions in common environments, and the examples here return the expected whole numbers. If you work with computed values that should be exact powers of ten, for example the product of several decimal factors, a tiny representation error can in rare cases shift the exponent by one. A defensive habit is to check that the coefficient, the input divided by 10 to the exponent, lies in the range from 1 up to just under 10.

Using the exponent in practice

The exponent drives many everyday formatting and checking tasks: choosing a unit prefix, deciding how many digits a display needs, and checking results by estimation. The SI prefixes step by factors of 1,000, so an exponent of negative 3 corresponds to milli and an exponent of 6 to mega. For a value of 0.0009, with an exponent of negative 4, the prefix conversion reads 0.9 milli or 900 micro. A report that gives scientific notation should keep the coefficient between 1 and 10 and the exponent as an integer, which is the convention this calculator follows. Double-check values near powers of ten, where a small rounding change can alter the exponent.

Engineering notation and rounding conventions

Scientific notation is one of several ways to express magnitude. Engineering notation keeps the exponent a multiple of 3, so 900 stays 900 times 10 to the zero, and 0.0009 is written as 900 times 10 to the negative sixth. The floor-of-logarithm exponent from this tool would give 2 and negative 4 for those two numbers, and the engineering exponents would be 0 and negative 6. Both are correct for their own convention. A third convention rounds the logarithm to the nearest integer, which gives 3 for 900 and negative 3 for 0.0009. When you quote an exponent, say which of these you mean. Mixing them up is a frequent reason two tools disagree on a value that sits just below a power of ten.

Reproduce the checks

Exact boundary

Open the Order Of Magnitude Calculator and enter:

Value
0.001

Expected output:

result

-3

The normalized coefficient is one.

Below the boundary

Open the Order Of Magnitude Calculator and enter:

Value
0.0009

Expected output:

result

-4

The logarithm is floored toward negative infinity.

Large normalized coefficient

Open the Order Of Magnitude Calculator and enter:

Value
900

Expected output:

result

2

The tool reports a scientific-notation exponent.

References and implementation scope

The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.

Sources

Related tasks