ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Comparisons
  3. CEILING vs ROUNDUP in Excel: Round to a Step or a Digit

CEILING vs ROUNDUP in Excel: Round to a Step or a Digit

By ExcelReady Team·Updated November 3, 2026·6 min read

The short answer

Both functions round up, but to different targets. CEILING rounds up to the next multiple of a step you choose, such as 0.25, 5 or a pack size of 6. ROUNDUP rounds up to a number of digits, such as 1 decimal place or the nearest hundred. Use CEILING for steps and ROUNDUP for decimal places.

Key takeaways

  • CEILING(number, significance) rounds up to a multiple of any step: =CEILING(17.32,0.25) returns 17.5.
  • ROUNDUP(number, num_digits) rounds up to a number of digits: =ROUNDUP(4.12,1) returns 4.2.
  • For powers of ten they agree: =CEILING(1234,100) and =ROUNDUP(1234,-2) both return 1,300.
  • With negative numbers they differ: CEILING(-2.3,1) returns -2, but ROUNDUP(-2.3,0) returns -3.
  • Both work in every version of Excel; CEILING.MATH (Excel 2013 and later) adds control over negatives.
On this page+
  1. CEILING vs ROUNDUP at a glance
  2. How CEILING and ROUNDUP work
  3. The same numbers rounded both ways
  4. Negative numbers: where they really differ
  5. When to use CEILING
  6. When to use ROUNDUP
  7. Common mistakes with CEILING and ROUNDUP
  8. Our recommendation
  9. Practise it

The short answer to CEILING vs ROUNDUP: both round a number up, but CEILING rounds up to a step you choose, like 0.25, 5 or a pack of 6, while ROUNDUP rounds up to a number of digits, like 1 decimal place. They give the same result for steps such as 0.1 or 100, and different results for everything else, including negative numbers. This comparison is for anyone pricing, billing time or ordering stock who needs the right "always round up" formula.

CEILING vs ROUNDUP at a glance#

The second argument is the key difference: a step size for CEILING, a digit count for ROUNDUP.

FeatureCEILINGROUNDUP
Syntax=CEILING(number, significance)=ROUNDUP(number, num_digits)
Second argumentThe step to round to (0.05, 5, 6)How many decimal places (1, 0, -2)
Steps it can useAny: 0.25, 0.05, 5, 15, 12Powers of ten only: 0.01, 0.1, 1, 10, 100
4.12=CEILING(4.12,0.05) → 4.15=ROUNDUP(4.12,1) → 4.2
1234 to hundreds=CEILING(1234,100) → 1300=ROUNDUP(1234,-2) → 1300
-2.3=CEILING(-2.3,1) → -2 (toward zero)=ROUNDUP(-2.3,0) → -3 (away from zero)
Number already on targetUnchangedUnchanged
Error cases#NUM! for a positive number with a negative stepNone for normal numbers
Newer versionCEILING.MATH (Excel 2013 and later)None needed
Excel versionsAll versionsAll versions

How CEILING and ROUNDUP work#

Both functions take a number and a second argument, but they read that second argument in different ways.

How CEILING works#

CEILING returns the smallest multiple of the step that is greater than or equal to the number.

Excel formula
=CEILING(17.32,0.25)
=CEILING(23,6)
=CEILING(4.12,0.05)

These return 17.5, 24 and 4.15. The step is called the significance. Think of it as the size of a box: CEILING finds how much space you need when you can only use whole boxes. 17.32 hours fits into 70 quarter-hours, which is 17.5 hours.

Older Excel versions required the number and the step to have the same sign. Since Excel 2010, a negative number with a positive step works and rounds toward zero. A positive number with a negative step still returns #NUM!.

CEILING.MATH, from Excel 2013, has a step that defaults to 1 and a third argument, mode, for negative numbers. =CEILING.MATH(-2.3) returns -2, and =CEILING.MATH(-2.3,1,1) returns -3. The guide to CEILING vs FLOOR covers rounding down to a step as well.

How ROUNDUP works#

ROUNDUP rounds a number up, away from zero, to the number of digits you give it.

Excel formula
=ROUNDUP(4.12,1)
=ROUNDUP(3.14159,2)
=ROUNDUP(1234,-2)

These return 4.2, 3.15 and 1300. The digits argument works like ROUND's:

  • Positive digits count decimal places: 1 means tenths, 2 means hundredths.
  • Zero rounds up to a whole number.
  • Negative digits round to the left of the decimal point: -1 means tens, -2 means hundreds.

ROUNDUP belongs to the ROUND family, with ROUND and ROUNDDOWN. The guide to ROUND vs ROUNDUP vs ROUNDDOWN compares all three, and the ROUND function guide covers the shared digits argument.

The same numbers rounded both ways#

Here is how the two functions handle the same values:

ValueGoalCEILINGROUNDUP
17.32 hoursBill in quarter hours=CEILING(17.32,0.25) → 17.5Not directly: =ROUNDUP(17.32*4,0)/4 → 17.5
4.12 priceNext 5 cents=CEILING(4.12,0.05) → 4.15Not directly
4.12 priceNext 10 cents=CEILING(4.12,0.1) → 4.2=ROUNDUP(4.12,1) → 4.2
1234 unitsNext hundred=CEILING(1234,100) → 1300=ROUNDUP(1234,-2) → 1300
23 units, packs of 6Units to order=CEILING(23,6) → 24=ROUNDUP(23/6,0)*6 → 24
23 units, packs of 6Number of packs=CEILING(23,6)/6 → 4=ROUNDUP(23/6,0) → 4
-2.3Round "up"=CEILING(-2.3,1) → -2=ROUNDUP(-2.3,0) → -3

Two patterns stand out. When the step is a power of ten, both functions agree. When it isn't, CEILING does it in one step, while ROUNDUP needs a divide-round-multiply workaround. And for the number of packs, ROUNDUP on the division is often the simpler formula.

Negative numbers: where they really differ#

"Up" means something different to each function when the number is negative.

  • ROUNDUP rounds away from zero. -2.3 becomes -3, which is a larger amount but a smaller number.
  • CEILING with a positive step rounds toward zero, which is up on the number line. -2.3 becomes -2.

Which is right depends on the data. For a refund of -2.30 that should round to a whole -3.00, ROUNDUP gives the larger amount. For a temperature of -2.3 that must be rounded up to the next whole degree, CEILING gives -2. If you need CEILING to round away from zero, use =CEILING.MATH(A2,1,1) or a negative step, =CEILING(-2.3,-1), which returns -3.

INT and TRUNC have a similar split for negatives; see INT vs TRUNC.

When to use CEILING#

Use CEILING when the target is a step that isn't a power of ten:

  • Prices that must end in 5 or 9 cents, or round up to the next 0.05.
  • Time billing in blocks of 15 minutes, 6 minutes or quarter hours.
  • Packs and boxes: order quantities in multiples of the pack size.
  • Shipping and capacity: weight bands of 0.5 kg, rooms of 12 people.
  • Price endings: to make every price end in .99, round up to the next whole number and take off a cent. With 12.30 in A2, =CEILING(A2,1)-0.01 returns 12.99. Check prices that are already whole numbers, though: 13.00 would become 12.99, which is lower than the original.

If you sometimes need to round down to the same step, FLOOR is CEILING's partner and takes the same arguments: =FLOOR(17.32,0.25) returns 17.25. Keeping CEILING and FLOOR side by side in a sheet makes it obvious which direction each column rounds.

When to use ROUNDUP#

Use ROUNDUP when the target is a number of decimal places or a power of ten:

  • Cleaning up decimals: always round tax or fees up to 2 decimal places, =ROUNDUP(A2,2).
  • Whole units: people, vehicles or days, =ROUNDUP(A2,0).
  • Counts of containers: =ROUNDUP(units/pack_size,0) gives the number of packs directly.
  • Shared files: ROUNDUP behaves the same in every version and has no sign rules to remember.

For rounding to the nearest step in either direction, rather than always up, see how to round to the nearest 5, 10 or 0.5.

Common mistakes with CEILING and ROUNDUP#

These slips give wrong or surprising results:

  1. Treating the second argument the same. =ROUNDUP(17.32,0.25) doesn't round to quarters: Excel treats 0.25 digits as 0 and returns 18.
  2. Using ROUNDUP for steps. =ROUNDUP(4.12,2) returns 4.12, not 4.15. Use CEILING for a 0.05 step.
  3. A negative step with a positive number. =CEILING(2.3,-1) returns #NUM!.
  4. Forgetting what "up" means for negatives. Check a negative value in your data before you fill the formula down.
  5. Formatting instead of rounding. Showing fewer decimals with the Decrease Decimal button changes only the display, not the stored value. Totals can then look wrong by a cent. The guide to Excel rounding functions explains the difference.

Our recommendation#

Choose by the shape of the target. If you can describe it as "a multiple of X", such as 0.25, 5 or a pack of 6, use CEILING. If you can describe it as "N decimal places" or "the next hundred", use ROUNDUP, which reads more clearly to most people and has no sign rules. When negative numbers are possible, test one before you trust either function.

In short: CEILING for steps, ROUNDUP for digits.

Practise it#

Rounding questions are common in Excel tests, and the difference between rounding and formatting trips people up. Practise ROUND, ROUNDUP and ROUNDDOWN in a live spreadsheet: you control decimals with real formulas and the sheet checks each answer instantly. Then try the CEILING exercise on this page to round billed hours up to the next quarter.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

A contractor bills in quarter hours, always rounding up. Click C2 and round the hours in B2 up to the next 0.25 with CEILING, then press Enter.

fx
ABCD
1
Job
Hours
Billed hours
2
Site visit
17.32
3
Report
4.05
4
Call
0.6
5
6
7

Tip: CEILING takes the number first and the step second. A quarter hour is 0.25.

Practise this in a lesson

LessonROUND, ROUNDUP and ROUNDDOWNControl decimals properly, which isn't the same as formatting.Function guideROUNDRound to decimals, whole numbers or the nearest thousand with Excel's ROUND. Learn when formatting isn't enough, then practice live.

Frequently asked questions

What is the difference between CEILING and ROUNDUP in Excel?

+

CEILING rounds a number up to the next multiple of a step you choose, such as 0.05 or 15. ROUNDUP rounds up to a number of digits, such as 2 decimal places. CEILING is for steps; ROUNDUP is for decimal places.

Can ROUNDUP round to the nearest 5?

+

Not directly, because ROUNDUP only works in powers of ten. Use =CEILING(A2,5), or divide, round up and multiply back: =ROUNDUP(A2/5,0)*5. Both return the next multiple of 5.

Why does CEILING return a different answer from ROUNDUP for negative numbers?

+

CEILING with a positive step rounds negative numbers toward zero, so -2.3 becomes -2. ROUNDUP always rounds away from zero, so -2.3 becomes -3. Pick the one that matches what up means in your data.

Why does CEILING return #NUM!?

+

CEILING returns #NUM! when the number is positive and the step is negative, such as =CEILING(2.3,-1). Use a positive step for positive numbers.

Is CEILING.MATH the same as CEILING?

+

For positive numbers, yes. CEILING.MATH, from Excel 2013, makes the step optional (default 1) and has a third argument that lets you round negative numbers away from zero instead of toward it.

Sources

  • ROUNDUP function - Microsoft Support
  • CEILING.MATH function - Microsoft Support
  • ROUND function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 3, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. CEILING vs ROUNDUP at a glance
  2. How CEILING and ROUNDUP work
  3. The same numbers rounded both ways
  4. Negative numbers: where they really differ
  5. When to use CEILING
  6. When to use ROUNDUP
  7. Common mistakes with CEILING and ROUNDUP
  8. Our recommendation
  9. Practise it

Keep reading

Comparisons· 7 min read

ROUND vs ROUNDUP vs ROUNDDOWN (vs Formatting)

ROUND rounds to the nearest value, so 2.5 becomes 3 and 2.4 becomes 2. ROUNDUP always rounds away from zero, and ROUNDDOWN always rounds toward zero, whatever the next digit is. Formatting a cell to show fewer decimals is different: it only changes what you see, and Excel still calculates with the full value.

Comparisons· 6 min read

CEILING vs FLOOR in Excel: Round Up or Down to a Step

CEILING rounds a number up to the next multiple of a step, and FLOOR rounds it down to the previous multiple. With a step of 5, CEILING turns 23 into 25 and FLOOR turns 23 into 20. Use CEILING for packs, shipping and price points that must not fall short, and FLOOR for full units, bands and time slots.

Comparisons· 6 min read

INT vs TRUNC in Excel: Different With Negatives

INT and TRUNC give the same result for positive numbers: both remove the decimals, so 7.8 becomes 7. They differ with negative numbers. INT always rounds down to the next lower whole number, so -7.8 becomes -8. TRUNC simply cuts off the decimals, so -7.8 becomes -7. TRUNC can also keep a set number of decimal places.

More on comparisons

  • CHOOSE vs SWITCH in Excel
  • Clear Contents vs Delete in Excel: What Each One Removes
  • CONCATENATE vs CONCAT vs TEXTJOIN vs &
  • COUNT vs COUNTA vs COUNTBLANK
  • COUNT vs COUNTIF in Excel
  • COUNTIF vs COUNTIFS: What's the Difference?
All comparisons articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free