Scientific Notation and Significant Figures Rounding Calculator
Convert a decimal or E-notation value to standard, scientific, E and engineering notation, with optional rounding to significant figures or decimal places and calculated rounding error.
Enter the known values and review the calculated result
Input parameters
Use consistent values and select the intended engineering units.
Input value
Precision (optional)
Rounding method
Results
Engineering Pro Save, document and continue this calculation
Turn this result into a reusable engineering record with saving, PDF export and reporting workflows.
Method, application and limitations
Review the calculation method, intended application and engineering assumptions before using the result in a design decision.
Formula and calculation method
This calculator performs two related operations: optional rounding and notation conversion. If significant figures or decimal places are specified, the input value is rounded first. The resulting value is then displayed in standard, scientific, E and engineering notation. If no precision is specified, the original numeric value is converted between notation formats without intentional rounding.
Rounding to significant figures
For a non-zero input value x, define its base-10 exponent as:
k = ⌊log10(|x|)⌋
For n significant figures, the exponent of the rounding place is:
p = k − (n − 1)
The corresponding rounding step is:
Δ = 10p
The rounded value is:
xr = R(x / Δ) · Δ
where R is the selected rounding operator. For x = 0, significant figures alone do not define a unique decimal rounding position, so the significant-figure rounding step is reported as undefined.
Rounding to decimal places
For d decimal places:
Δ = 10−d
xr = R(x / Δ) · Δ = R(x · 10d) · 10−d
For example, rounding to 3 decimal places uses a rounding step of 10−3 = 0.001.
Rounding methods
- Half to even: rounds to the nearest value; an exact halfway case is resolved so that the retained integer digit is even. This is also known as banker’s rounding and is consistent with the exact-tie rule described in the NIST Guide to the SI.
- Half up: rounds to the nearest value; exact halfway cases are rounded away from zero.
- Floor: rounds toward negative infinity.
- Ceil: rounds toward positive infinity.
- Truncate: rounds toward zero.
Scientific notation
For a non-zero rounded value xr:
q = ⌊log10(|xr|)⌋
a = xr / 10q
xr = a · 10q, where 1 ≤ |a| < 10.
The calculator also displays the same value in E notation, for example 1.235e+5 instead of 1.235 × 105.
Engineering notation
Engineering notation uses a power-of-ten exponent that is a multiple of 3:
m = 3 · ⌊q / 3⌋
b = xr / 10m
xr = b · 10m, where 1 ≤ |b| < 1000.
Because engineering exponents change in steps of 3, they can be associated with SI prefixes such as milli (10−3), kilo (103), mega (106) and giga (109). The calculator reports this as an SI prefix reference; it does not convert a physical unit.
Rounding error
The absolute rounding error is:
Eabs = |x − xr|
For x ≠ 0, the relative rounding error is:
Erel = (|x − xr| / |x|) · 100%
When x = 0, the calculator reports 0% because the rounded value is also zero. The usual relative-error ratio itself is not independently defined for a zero reference value.
Symbols
- x — input value [–]
- xr — rounded value [–]
- n — requested number of significant figures [–]
- d — requested number of decimal places [–]
- k — base-10 exponent of the non-zero input value [–]
- p — exponent of the rounding place [–]
- Δ — rounding step [–]
- q — scientific-notation exponent of the rounded value [–]
- m — engineering-notation exponent, always a multiple of 3 [–]
- a — scientific-notation coefficient [–]
- b — engineering-notation coefficient [–]
When to use this calculator
Use this calculator when you need to convert a single finite numeric value between standard decimal notation, scientific notation, E notation and engineering notation, or when you need to round that value to a defined number of significant figures or decimal places.
Typical uses
- Convert a very large or very small decimal value to normalized scientific notation.
- Convert an E-notation input such as 6.022e23 into standard, scientific and engineering notation.
- Round a value to 1–15 significant figures.
- Round a value to a specified number of decimal places.
- Compare half-to-even, half-up, floor, ceil and truncation methods.
- Identify the rounding step associated with the requested precision.
- Calculate the absolute and relative change introduced by rounding.
- Express a value in engineering notation and identify the SI prefix associated with its engineering exponent.
When not to use this calculator
- Do not use it to count the significant figures contained in the original written representation of a number. The input is processed as a numeric value, so textual information such as intentionally entered trailing zeros is not preserved as an independent measurement-precision declaration.
- Do not use it to add, subtract, multiply or divide two values in scientific notation. This calculator processes one numeric value at a time.
- Do not use significant-figure rounding as a substitute for measurement uncertainty analysis. The calculator does not determine the uncertainty, accuracy or appropriate reporting precision of a measured quantity.
- Do not use it when exact arbitrary-precision decimal arithmetic is required. The calculation is performed with JavaScript Number arithmetic and therefore has finite floating-point precision.
- Do not interpret the SI prefix output as a unit conversion. It is only a reference associated with the engineering-notation exponent.
If neither significant figures nor decimal places are entered, the calculator remains valid and operates as a notation converter without applying an intentional rounding step.
How to interpret the result
The primary result, x — Rounded / converted value, is the numeric value after the selected precision rule has been applied. If no significant-figure or decimal-place precision is entered, this value remains equal to the numeric input and the calculation performs notation conversion only.
Notation results
- Standard notation displays the result as an ordinary decimal number where practical.
- Scientific notation displays the result as a coefficient with absolute value from 1 to less than 10 multiplied by a power of ten.
- E notation expresses the same scientific-notation value in plain-text calculator or software format, such as 1.235e+5.
- Engineering notation uses a power-of-ten exponent that is a multiple of 3, making it convenient for values associated with SI prefixes.
When rounding to significant figures produces trailing zeros in an integer, standard notation may not communicate the intended number of significant figures unambiguously. For example, 123500 alone does not show whether the final zeros are significant. The scientific form 1.235 × 105 explicitly communicates four significant figures.
Precision and rounding step
Precision applied reports whether the result was rounded to significant figures, decimal places, or not intentionally rounded.
Rounding step Δ identifies the place at which rounding occurred. A step of 102 means rounding to the nearest hundred according to the selected method, while a step of 10−3 corresponds to a resolution of 0.001.
For zero in significant-figures mode, the calculator cannot infer a unique decimal rounding position from the requested significant-figure count alone. Use decimal places when a zero result must communicate a specific decimal resolution.
Rounding error
Absolute rounding error is the absolute numerical difference between the original value and the rounded value. A value of zero means that the selected precision did not change the stored numeric value.
Relative rounding error expresses the rounding difference as a percentage of the absolute original value. A larger percentage means the selected rounding precision changes the original value more substantially. This is a rounding diagnostic, not a measurement-accuracy or uncertainty estimate.
Order-of-magnitude exponent
The reported order-of-magnitude value is the exponent used in the normalized scientific notation of the rounded result. For example, 1.235 × 105 returns an exponent of 5. Zero has no scientific-notation exponent in this calculator and is reported as undefined.
This definition should not be confused with conventions that define “order of magnitude” by rounding a value to its nearest power of ten.
SI prefix reference
The SI prefix result is determined from the engineering-notation exponent of the rounded value. For example, an engineering exponent of 3 corresponds to kilo (k), while −6 corresponds to micro (µ). The result is a prefix reference only; no physical unit is attached or converted.
A valid result confirms only that the requested numerical conversion or rounding operation was successfully performed. It does not establish the accuracy of the original value, measurement uncertainty, appropriate experimental precision or compliance with a technical standard.
Calculation example
Example: round 123456.789 to 4 significant figures
Suppose the value x = 123456.789 must be reported to 4 significant figures using half-to-even rounding.
1. Determine the base-10 exponent
The value lies between 105 and 106, therefore:
k = 5
2. Determine the rounding place
For n = 4 significant figures:
p = k − (n − 1) = 5 − (4 − 1) = 2
The rounding step is therefore:
Δ = 102 = 100
3. Scale and round the value
x / Δ = 123456.789 / 100 = 1234.56789
Rounding 1234.56789 to the nearest integer gives 1235. This is not an exact halfway case, so half-to-even does not require special tie handling.
xr = 1235 · 100 = 123500
4. Express the rounded result in different notation formats
- Standard notation: 123500
- Scientific notation: 1.235 × 105
- E notation: 1.235e+5
- Engineering notation: 123.5 × 103
- SI prefix reference: k — kilo
- Scientific exponent: 5
5. Calculate the rounding error
Absolute error = |123456.789 − 123500| = 43.211
Relative error = (43.211 / 123456.789) · 100% ≈ 0.0350009%
The rounded value therefore differs from the original numeric value by approximately 0.035%. The scientific form 1.235 × 105 is preferable when the intended four significant figures need to be explicit, because the trailing zeros in the plain integer 123500 are otherwise ambiguous.
This example demonstrates numerical rounding and notation formatting only. It does not determine whether four significant figures are appropriate for a particular measurement or engineering dataset.
Assumptions and limitations
- The input must be a finite numeric value. The input field is intended for ordinary decimal values or E notation.
- Significant figures and decimal places are mutually exclusive precision definitions. Enter one of them or leave both blank for notation conversion without intentional rounding.
- The significant-figure setting must be an integer from 1 to 15.
- The decimal-place setting must be an integer from 0 to 15. An additional magnitude-dependent validation prevents requests that would require more than the calculator’s conservative 15-significant-digit working range.
- Calculations use JavaScript Number arithmetic. This is binary floating-point arithmetic rather than arbitrary-precision decimal arithmetic, so decimal values with more precision than the underlying numeric representation can support may already be approximated when they are read.
- The calculator rounds the numeric value, not the exact character string originally typed by the user. It therefore cannot determine how many significant figures were intended solely from written trailing zeros such as the difference between 1.2, 1.20 and 1.200.
- Half-to-even rounding uses the exact-tie rule implemented by the calculator. Half-up resolves an exact tie away from zero. Floor rounds toward negative infinity, ceil toward positive infinity, and truncation toward zero.
- For x = 0, a requested number of significant figures does not define a unique decimal rounding place. Use decimal places if the displayed zero must communicate a specific resolution.
- The relative rounding error is calculated relative to the original input value for non-zero inputs. For x = 0, the calculator reports 0% as a software convention because rounding introduces no numerical change.
- The calculator processes one value at a time. It does not perform addition, subtraction, multiplication, division or other arithmetic between two scientific-notation values.
- The calculator does not propagate measurement uncertainty and does not determine the correct number of significant figures for experimental or engineering data.
- The SI prefix output is a reference derived from the engineering exponent. It does not attach a physical unit or perform a dimensional unit conversion.
- The reported order-of-magnitude value is the exponent of the rounded value in normalized scientific notation. Other definitions of “order of magnitude” may use a nearest-power-of-ten convention.
- The calculation is a numerical formatting and rounding tool. It does not implement a complete design code, measurement standard or metrology procedure.
