Rounding Calculator
3266.528 rounded to the nearest hundredth is 3,266.53, because the 8 after the 2 is more than half. Type any number and choose a place, significant figures or a fraction.
Rounded to the nearest hundredth
3,266.53
- Original
- 3,266.528
- Rule
- Half away from zero
The digit after the 2 is 8, more than half, so the 2 rounds up.
| Place | Rounded |
|---|---|
| Millions | 0 |
| Thousands | 3,000 |
| Hundreds | 3,300 |
| Tens | 3,270 |
| Ones (whole number) | 3,267 |
| Tenths (0.1) | 3,266.5 |
| Hundredths (0.01) | 3,266.53 |
| Thousandths (0.001) | 3,266.528 |
| Ten-thousandths | 3,266.5280 |
| Hundred-thousandths | 3,266.52800 |
| Millionths | 3,266.528000 |
| Rule | Result |
|---|---|
| Half away from zero | 3,266.53 |
| Half to even (banker's) | 3,266.53 |
| Half up (toward +∞) | 3,266.53 |
| Half down (toward −∞) | 3,266.53 |
| Half toward zero | 3,266.53 |
| Half to odd | 3,266.53 |
| Up (ceiling) | 3,266.53 |
| Down (floor) | 3,266.52 |
| Toward zero (truncate) | 3,266.52 |
| Away from zero | 3,266.53 |
Updates as you typeNo sign-upShare the link and your numbers travel with it
How rounding works
To round to a place, find the digit in that place and look at the digit to its right:
- 5 or more — add 1 to the digit you keep;
- 4 or less — keep it as it is;
- then drop every digit after the place (or replace them with zeros to the left of the point).
3266.528 to the nearest hundredth: the hundredths digit is 2 and the next digit is 8, so the 2 becomes 3 — 3,266.53. 1,234,567 to the nearest thousand: the thousands digit is 4 and the next digit is 5, so it becomes 1,235,000. A carry can ripple: 9.996 to the nearest hundredth is 10.00. The calculator explains which digit decided, and shows the number rounded at every place from millions to millionths.
Tie rules: what happens with an exact 5
Only an exact half — a 5 with nothing after it — is a tie; 2.51 is above half and always rounds up. For ties, several rules are in use:
| Rule | 2.5 | 3.5 | −2.5 |
|---|---|---|---|
| Half away from zero | 3 | 4 | −3 |
| Half to even | 2 | 4 | −2 |
| Half up (toward +∞) | 3 | 4 | −2 |
| Half down (toward −∞) | 2 | 3 | −3 |
| Half toward zero | 2 | 3 | −2 |
| Half to odd | 3 | 3 | −3 |
Half away from zero is the rule taught in school and used by most calculators. Half to even, also called banker’s rounding, is the default in IEEE 754 computer arithmetic and in statistics, and it is NIST’s rule for rounding measured values. JavaScript’s Math.round rounds half up, toward +∞, which is why it turns −2.5 into −2. The other three are rarely used.
Half to even avoids a bias: if every tie rounded up, a long list of prices or measurements would drift upward. The directed rules — up (ceiling), down (floor), toward zero (truncate) and away from zero — ignore the half altogether: ceiling sends 2.1 to 3, which is what you want when buying whole boxes or booking whole hours.
Significant figures
Significant figures count from the first non-zero digit, so the number of decimal places depends on the size of the number. 0.0012345 to three significant figures is 0.00123; 123,456 to two is 120,000; 3.14159 to four is 3.142. Leading zeros are never significant; zeros at the end of a whole number are ambiguous, which is why scientists write 1.2 × 10⁵ for two significant figures. For powers of ten and scientific notation, use the scientific calculator.
Rounding to fractions of an inch
Tape measures mark halves, quarters, eighths and sixteenths. To round 3.14159 inches to the nearest 1/16, multiply the decimal part by 16 (0.14159 × 16 = 2.27), round to 2, and reduce: 2/16 = 1/8, so the answer is 3 1/8 in. The calculator reduces the fraction for you and shows its decimal value. For the reverse — a decimal measurement written as a fraction with every precision at once — see the decimal to fraction calculator.
Why computers sometimes round “wrong”
Most software stores numbers in binary, and many decimals have no exact binary form: 2.675 is stored as 2.674999999999999822… — slightly less than 2.675. Rounded to two places, it becomes 2.67 in JavaScript and Python, although the decimal 2.675 should give 2.68. This calculator does the arithmetic on the decimal digits you type, so it rounds exactly as you would on paper. For money in a spreadsheet, round once at the end rather than at every step; for percentages of a total, the percentage calculator keeps the full precision until the answer.
Frequently asked questions
How do you round to the nearest hundredth?
Does 5 round up or down?
What is banker's rounding?
How do I round to significant figures?
Why does my calculator or spreadsheet round 2.675 to 2.67?
What is the difference between rounding down and truncating?
Related calculators
- Decimal to Fraction CalculatorAny decimal, terminating or repeating, as a fraction in lowest terms, with close simple fractions and the nearest inch fraction.
- Fraction to Decimal CalculatorAny fraction or mixed number as an exact decimal, repeating digits marked, with rounding, percent and long division.
- Scientific CalculatorTrig, logs, powers and roots in degrees or radians, with history and keyboard input.
- Percentage CalculatorPercent of a number, what percent, percent change, increase or decrease — all at once.
- Binary to Text (ASCII) ConverterBinary to text and text to binary, in ASCII or UTF-8, with each character’s decimal, hex and binary code.
- Standard Deviation CalculatorSample and population standard deviation and variance of any list of numbers, with the mean, median, quartiles and steps.