Math calculators

Rounding and scientific notation

Round to decimal places or significant figures with half-up or banker's rounding, and convert to scientific or engineering notation.

Inputs

Results

Methodology

Conventions

  • The value is rounded as a decimal string, so 2.675 rounds to 2.68 (binary floating point would give 2.67).
  • Half up rounds ties away from zero; half even (banker's rounding, IEEE 754 default) rounds ties to the even digit.
  • Negative decimal places round to tens, hundreds and so on.

References

  • IEEE 754-2019, section 4.3

Formulas

Scientific
x = m \times 10^{e},\quad 1 \le |m| < 10
Engineering
x = m \times 10^{e},\quad e \in 3\mathbb{Z},\ 1 \le |m| < 1000