The ROUND function
ROUND changes a number to a chosen number of decimal places, using the normal rule: 5 and above rounds up, below 5 rounds down. It's how you get VAT, interest or a split bill to the nearest penny.
Formatting a cell to 2 decimal places only changes how it *looks*. ROUND changes the value itself, so later sums add up to what's on screen.
=ROUND(number, num_digits)
Arguments
- number
- The number, cell or calculation to round.
- num_digits
- How many decimal places to keep. 2 rounds to pennies, 0 to whole numbers, and -1 or -2 to the nearest 10 or 100.
Try it
=ROUND(B2*0.2,2) in C2. 20% of £18.99 is £3.798. Rounded to 2 decimal places it becomes £3.80.
C2
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Item | Net price | VAT at 20% | |
| 2 | Desk lamp | £18.99 | £3.80 | |
| 3 | Kettle | £24.49 | ||
| 4 | Toaster | £31.75 | ||
| 5 | ||||
| 6 |
Edit the formula in C2, or change the data, and press Enter.
More examples
| Formula | Result | What it does |
|---|---|---|
| =ROUND(B3*0.2,2) | £4.90 | £4.898 rounds up to £4.90. |
| =ROUND(B4,0) | £32.00 | 0 digits rounds to a whole number: £31.75 becomes £32. |
| =ROUND(B2+B3+B4,-1) | £80.00 | Negative digits round to the left of the point: £75.23 to the nearest £10. |
| =ROUND(-2.5,0) | -3 | Halves round away from zero, so -2.5 becomes -3. |
Tips
- Round at the step where the real-world rounding happens, such as each line's VAT, rather than only the grand total.
- Need to always round up (boxes, staff, buses) or always down (whole tickets you can afford)? Use ROUNDUP or ROUNDDOWN.
- To show a percentage to one decimal place, round to 3 digits:
=ROUND(0.12345,3)is 12.3%.
Common mistakes
- A column of prices adds up to a penny more or less than the total shown.The cells are only formatted to 2 decimal places and still hold the full value. Wrap each calculation in ROUND(…,2).
- Prices come out as whole pounds.
num_digitsis 0, which rounds to whole numbers. Use 2 for pennies. - ROUND(1234,2) seems to do nothing.It's already a whole number. To round to the nearest hundred, use a negative number of digits:
=ROUND(1234,-2).
Practise ROUND with instant feedback
Type real formulas into a working spreadsheet and get told straight away whether they work.