Skip to content

ROUNDUP

Rounds a number up, away from zero, to a set number of decimal places. Any leftover decimal pushes the result up.

Syntax

=ROUNDUP(, )

Math and trigonometry

All versions of Excel.

Try it

Edit the formula in B2 or change the inputs. The sheet recalculates as you type.

B2
A
B
C
1
Value
Rounded up
2
3.2
4
3

B2 =ROUNDUP(A2,0) returns 4

How ROUNDUP works

ROUNDUP rounds away from zero. If there is anything at all beyond the digit you keep, the last kept digit goes up by one. That is different from ROUND, which only rounds up when the next digit is 5 or more.

How ROUNDUP works

=ROUNDUP(3.2, 0) returns 4, where ROUND would return 3. =ROUNDUP(5.001, 2) returns 5.01. A number that is already exact is left alone: =ROUNDUP(4, 0) is still 4.

For negative numbers "up" means away from zero, not towards a larger number. =ROUNDUP(-3.2, 0) returns -4. If you want the next integer upwards on the number line, use CEILING.MATH instead.

Counting whole packs, trips and licences

The most common use is turning a fraction into a whole number of things you must buy or book. You can't order 9.58 cartons, so =ROUNDUP(230/24, 0) gives the 10 you need. The same approach covers pallets for a shipment, vans for a delivery, seats for a headcount, and days for a fixed-length task.

Rounding to hundreds and thousands

A negative num_digits rounds to the left of the decimal point. =ROUNDUP(1234, -2) returns 1300. This is useful for budgeting buffers: round a forecast up to the next hundred so you never under-provide.

Choosing between the rounding functions

  • ROUND goes to the nearest value.
  • ROUNDUP always goes away from zero.
  • ROUNDDOWN always goes towards zero.
  • CEILING.MATH rounds up to a multiple such as 5, 15 or 0.25, which ROUNDUP can't do.

Round each line, or the total?

Rounding up each line and then adding gives a larger answer than adding and then rounding up once. If each item is bought or billed on its own, as with cartons per product, round each one. If the whole amount is bought in a single step, round the total.

ROUNDUP works on numbers only. Text such as "n/a" returns #VALUE!.

Arguments

number
The number to round, such as B2 or B2/C2.
num_digits
How many decimal places to keep. 0 gives a whole number, 2 keeps two decimals, and a negative number rounds to the left of the point: -2 to hundreds.

Examples

Each example is a live sheet. Change the inputs or the formula and watch the result.

Example 1

Round up to a whole number

B2 =ROUNDUP(A2,0)

Result: 4

ROUND would give 3. ROUNDUP goes up because there is something after the point.

B2
A
B
C
1
Value
Rounded up
2
3.2
4
3

B2 =ROUNDUP(A2,0) returns 4

Example 2

Cartons needed for an order

C2 =ROUNDUP(A2/B2,0)

Result: 10

230 / 24 is 9.58. You can only order whole cartons, so ROUNDUP gives 10.

C2
A
B
C
D
1
Units needed
Per carton
Cartons
2
230
24
10
3

C2 =ROUNDUP(A2/B2,0) returns 10

Example 3

Negative numbers go away from zero

B2 =ROUNDUP(A2,0)

Result: -4

ROUNDUP moves -3.2 away from zero to -4, not up to -3.

B2
A
B
C
1
Value
Rounded up
2
-3.2
-4
3

B2 =ROUNDUP(A2,0) returns -4

Example 4

Round up to the next hundred

B2 =ROUNDUP(A2,-2)

Result: 1300

A negative num_digits works left of the decimal point. -2 means hundreds.

B2
A
B
C
1
Forecast
Budget
2
1234
1300
3

B2 =ROUNDUP(A2,-2) returns 1300

Example 5

Keep a price one penny above the cost

B2 =ROUNDUP(A2,2)

Result: 5.01

ROUND would give 5.00. ROUNDUP always lifts the last kept digit when anything remains.

B2
A
B
C
1
Cost
Price
2
5.001
5.01
3

B2 =ROUNDUP(A2,2) returns 5.01

Your turn.

Solve it in the sheet. Every answer is checked, with hints if you need them.

Task 1 of 2

In D2, work out how many whole cartons are needed for the units in B2. Fill it down to D6.

Answer in D2, then it fills down to D6.

D2
A
B
C
D
E
1
Item
Units needed
Per carton
Cartons
2
Pallet wrap
230
24
3
Gloves
100
25
4
Labels
61
12
5
Tape
500
48
6
Straps
90
30
7
8
All cartons
9

Common mistakes

  • ROUNDUP rounds away from zero, so -3.2 becomes -4, not -3. For "towards a larger number" use CEILING.MATH.
  • Rounding each line up and then adding gives a larger total than adding first and rounding once. Decide which the purchase or bill actually follows.
  • ROUNDUP and ROUND give different answers on 3.2: 4 and 3. Using the wrong one for stock, staffing or packing quietly under-orders.
  • It rounds to powers of ten only. To round up to a multiple like 15 or 0.25, use CEILING.MATH.
  • Text in the cell, such as "10 units", returns #VALUE!. Keep units out of the number cell.

Questions people ask

How do I always round up in Excel?

Use `=ROUNDUP(B2, 0)` for a whole number, or a larger second argument to keep decimals: `=ROUNDUP(B2, 2)`.

What is the difference between ROUND and ROUNDUP?

ROUND goes to the nearest value, so 3.2 becomes 3. ROUNDUP always moves away from zero when there is anything left over, so 3.2 becomes 4.

Does ROUNDUP round negative numbers up or down?

Away from zero. ROUNDUP(-3.2, 0) is -4. If you want -3 instead, use ROUNDDOWN, which moves towards zero, or CEILING.MATH.

How do I round up to the nearest 5, 10 or 100?

For 10 or 100 use a negative second argument: `=ROUNDUP(B2, -1)`. For 5 or other multiples, use `=CEILING.MATH(B2, 5)`.

How do I work out how many boxes I need?

Divide units by units per box and round up: `=ROUNDUP(A2/B2, 0)`. Plain division gives a fraction, and ROUND may round down and leave you short.

Learn ROUNDUP in a real sheet.

ROUNDUP is taught in Excel foundations, lesson 14: ROUNDUP, ROUNDDOWN and INT. Each lesson is a short, graded exercise like the one above.