How it works
Find the last digit you keep, then look at the next digit: 5 or more rounds up, less than 5 leaves the kept digit as it is. Everything after the kept digit is dropped (or becomes 0 before the decimal point).
3.14159 to 2 decimal places: keep 3.14, next digit 1 → 3.14
This calculator works on the decimal digits exactly, so 2.675 to 2 decimal places is 2.68. (Programming languages that use binary floating point, such as Python, can give 2.67, because 2.675 is stored as 2.67499999….) Halves of negative numbers round away from zero: −2.5 becomes −3.
Worked example
3.14159 to 2 decimal places = 3.14 (next digit 1). 2.45 to 1 decimal place = 2.5 (next digit 5). 0.004567 to 2 significant figures = 0.0046 (the first significant digit is 4; next digit 6). 12,345 to the nearest 100 = 12,300 (next digit 4).
Tips
- Round only once, at the end. Rounding in the middle of a calculation adds errors.
- Zeros you keep after the decimal point matter: 2.50 to 2 decimal places shows the value is known to the hundredth.
- For significant figures with trailing zeros, the sig fig calculator explains which zeros count.
Questions
How do I round to 2 decimal places?
Look at the third decimal place. If it is 5 or more, add 1 to the second decimal place; otherwise leave it. 3.14159 → 3.14, and 2.675 → 2.68.
Does 0.5 round up or down?
Up, in the school rule this calculator uses (round half up, away from zero): 2.5 → 3 and −2.5 → −3. NIST’s guide to the SI (SP 811, Appendix B.7) instead rounds an exact half to the even digit: 2.5 → 2, 2.45 → 2.4 to one decimal place, and 345 → 340 to the nearest 10. Science and statistics often use that rule, so check which one your course or field expects.
How do I round to the nearest 10?
Look at the ones digit: 0 to 4 rounds down, 5 to 9 rounds up. 345 → 350, 344 → 340.
What is the difference between decimal places and significant figures?
Decimal places count digits after the decimal point; significant figures count from the first non-zero digit. 0.004567 to 2 decimal places is 0.00, but to 2 significant figures it is 0.0046.
Sources
- NIST Special Publication 811 (2008 edition): Guide for the Use of the International System of Units (SI). Appendix B.7.1 Rounding numbers (p. 43): below 5 keep the digit, above 5 round up, exactly 5 rounds to the even digit. Checked 22 November 2026.
- NIST GLP 9 (2019): Good Laboratory Practice for Rounding Expanded Uncertainties and Calibration Values (NISTIR 6969-2019). p. 1: do not round intermediate calculations. §2 (pp. 1–2): Option A even/odd rounding (3.450 → 3.4) and Option B spreadsheet rounding (generally rounds up). Checked 22 November 2026.
- Python 3 documentation: Built-in Functions, round(). Note under round(): round(2.675, 2) gives 2.67 because most decimal fractions cannot be stored exactly as a float. Checked 22 November 2026.
- Python 3 documentation: decimal module, Rounding modes. ROUND_HALF_UP: ties go away from zero (−2.5 → −3); ROUND_HALF_EVEN: ties go to the nearest even digit. Checked 22 November 2026.