Skip to content

FLOOR.MATH

Rounds a number down to the previous multiple of a value you choose, such as 10, 25 or 0.25. By default it rounds down to a whole number.

Syntax

=FLOOR.MATH(, , )

Math and trigonometry

Excel 2013 and later, including Excel for Microsoft 365 and Excel for the web.

Try it

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

B2
A
B
C
1
Age
Band start
2
37
30
3

B2 =FLOOR.MATH(A2,10) returns 30

How FLOOR.MATH works

FLOOR.MATH rounds a number down to the previous multiple of another number. It answers questions like "which band does this value start in?": an age of 37 sits in the 30s, an order of 1,240 sits in the 1,000 to 1,499 band.

How FLOOR.MATH works

=FLOOR.MATH(37, 10) returns 30. =FLOOR.MATH(137, 25) returns 125. =FLOOR.MATH(4.8) returns 4, since significance defaults to 1. A number that is already a multiple stays as it is.

Negative numbers and the mode argument

For negative numbers, "down" normally means further from zero: =FLOOR.MATH(-5.5, 2) returns -6, because -6 is the next multiple of 2 below -5.5. If mode is any non-zero value, FLOOR.MATH rounds negatives towards zero instead, so =FLOOR.MATH(-5.5, 2, 1) returns -4. Only workbooks with negative values need mode.

Building bands for grouping

The classic use is a helper column of band start values, which you can then count or sum with COUNTIFS or SUMIFS. Put =FLOOR.MATH(B2, 500) next to each order, and every order from 1,000 to 1,499 shows 1,000. Group ages, salaries, or distances the same way. The result is also a clean label for a chart axis.

Compared with other rounding functions

  • ROUNDDOWN rounds towards zero to powers of ten only.
  • INT rounds down to a whole number, equivalent to =FLOOR.MATH(x).
  • MROUND goes to the nearest multiple, which can be higher than the input.
  • CEILING.MATH is the mirror image and rounds up.

FLOOR.MATH versus the older FLOOR

The older FLOOR function needs both arguments and returns #NUM! when a positive number is paired with a negative significance. FLOOR.MATH ignores the sign of significance, treats a missing significance as 1, and gives you the mode argument for negatives. Use it unless the file has to open in Excel 2010 or earlier. FLOOR.PRECISE is a close cousin that ignores signs altogether.

Dates and times

Because dates are numbers, FLOOR.MATH can round a time down to a block, such as =FLOOR.MATH(A2, TIME(0,15,0)) for the previous quarter hour. Remember to format the result as a time.

FLOOR.MATH needs numbers. Text returns #VALUE!.

Arguments

number
The number to round down, such as B2.
significanceoptional
The multiple to round down to, such as 10, 500 or 0.25. If you leave it out, it is 1. The sign of significance is ignored.
modeoptional
Only matters for negative numbers. 0 or omitted rounds away from zero (-5.5 with significance 2 becomes -6). Any other value rounds towards zero (-5.5 becomes -4).

Examples

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

Example 1

Find the start of a 10-year age band

B2 =FLOOR.MATH(A2,10)

Result: 30

Anyone from 30 to 39 gets 30, which makes a clean grouping column.

B2
A
B
C
1
Age
Band start
2
37
30
3

B2 =FLOOR.MATH(A2,10) returns 30

Example 2

Round down to a multiple of 25

B2 =FLOOR.MATH(A2,25)

Result: 125

137 sits between 125 and 150, so it goes down to 125.

B2
A
B
C
1
Estimate
Rounded down
2
137
125
3

B2 =FLOOR.MATH(A2,25) returns 125

Example 3

Round down to a quarter

B2 =FLOOR.MATH(A2,0.25)

Result: 7.75

7.9 is above 7.75 and below 8, so it is rounded down to the quarter hour.

B2
A
B
C
1
Hours
Billable hours
2
7.9
7.75
3

B2 =FLOOR.MATH(A2,0.25) returns 7.75

Example 4

Negative numbers round away from zero by default

B2 =FLOOR.MATH(A2,2)

Result: -6

-6 is the next multiple of 2 below -5.5. The default mode goes away from zero.

B2
A
B
C
1
Value
Rounded down
2
-5.5
-6
3

B2 =FLOOR.MATH(A2,2) returns -6

Example 5

Negative numbers with mode 1 round towards zero

B2 =FLOOR.MATH(A2,2,1)

Result: -4

Any non-zero mode makes negatives round towards zero, as ROUNDDOWN would.

B2
A
B
C
1
Value
Rounded
2
-5.5
-4
3

B2 =FLOOR.MATH(A2,2,1) returns -4

Your turn.

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

Task 1 of 2

In C2, return the start of the 500-wide band that the value in B2 falls in. Fill it down to C6.

Answer in C2, then it fills down to C6.

C2
A
B
C
D
E
1
Order
Value
Band start
Order value
2
O-101
1,240
4,290
3
O-102
380
Band width
4
O-103
2,975
250
5
O-104
500
Band start
6
O-105
1,999
7

Common mistakes

  • With negative numbers, the default mode rounds away from zero: -5.5 becomes -6, not -4. Set mode to 1 if you want -4.
  • MROUND can round up, but FLOOR.MATH never rounds up for positive numbers. Pick the one that matches the rule, such as "the band the value starts in".
  • FLOOR.MATH ignores the sign of significance. The older FLOOR returns #NUM! for a positive number with a negative multiple, so don't assume the two behave alike.
  • It isn't available in Excel 2010 or earlier. There the formula returns #NAME?. Use FLOOR instead if the file must open there.
  • Dates are numbers, so FLOOR.MATH can silently change a date-time. Round only the part you mean to and format the result.

Questions people ask

How do I round down to the nearest 10 or 100?

Use `=FLOOR.MATH(B2, 10)` or `=FLOOR.MATH(B2, 100)`. The result is the previous multiple at or below the number.

What is the difference between FLOOR and FLOOR.MATH?

FLOOR needs both arguments and fails for mixed signs. FLOOR.MATH makes significance optional, ignores its sign, and has a mode argument for negative numbers.

What does the mode argument do?

It only affects negative numbers. 0 or omitted rounds away from zero, so -5.5 becomes -6. Any other value rounds towards zero, so -5.5 becomes -4.

How do I create bands for grouping data?

Add a helper column with `=FLOOR.MATH(B2, 500)`, then count or sum by that column with COUNTIFS or SUMIFS. Every value from 1,000 to 1,499 shows as 1,000.

Is FLOOR.MATH the same as INT?

`=FLOOR.MATH(x)` and `=INT(x)` give the same answer for any number. FLOOR.MATH can also round down to any multiple, such as 25 or 0.25.

Learn FLOOR.MATH in a real sheet.

Tracks take you from the basics to modelling, one graded exercise at a time.