Math & trig function

INT function

Rounds a number down to the nearest integer, toward minus infinity (−7.85 becomes −8).

Available in All versions of Excel, Excel for the web, Excel for Mac

In every Excel versionWorks in Google Sheets

Syntax

INT(number)
ArgumentWhat it means
numberRequiredThe number to round down to a whole number.

Returns: The largest integer that is less than or equal to number.

How INT works

INT removes the decimal part of a positive number: 7.85 becomes 7. It is short, fast and found in countless sheets for whole hours, whole units, full years and, very often, for stripping the time from a date-time value, because Excel stores dates as whole numbers and times as the fraction of a day.

With negative numbers INT does not simply chop the decimals. It always rounds down, towards minus infinity, so −7.85 becomes −8. That is mathematically the "floor" of the number. If you want −7 (just cut the decimals off) use TRUNC or ROUNDDOWN. The decimal part of a positive value is =A2-INT(A2), which is the same as =MOD(A2,1).

Examples

1Whole hours from decimal hours

C2fx=INT(B2)
ABC
1ItemValue
2Hours worked7.857
3Temperature change-7.85
4Timestamp2026-03-15 14:30
5Overtime hours12.75

Result: 7

7.85 hours contains 7 complete hours.

2Negative numbers go down, not toward zero

C3fx=INT(B3)
ABC
1ItemValue
2Hours worked7.85
3Temperature change-7.85-8
4Timestamp2026-03-15 14:30
5Overtime hours12.75

Result: -8

−8 is the next integer below −7.85. =TRUNC(B3) would return −7.

3Date without the time

C4fx=INT(B4)
ABC
1ItemValue
2Hours worked7.85
3Temperature change-7.85
4Timestamp2026-03-15 14:302026-03-15
5Overtime hours12.75

Result: 2026-03-15

B4 holds a date-time (serial 46096.604…). INT keeps the day number 46096, shown with a date format as 2026-03-15, so it can be matched against a list of plain dates.

4Fraction of an hour

C5fx=B5-INT(B5)
ABC
1ItemValue
2Hours worked7.85
3Temperature change-7.85
4Timestamp2026-03-15 14:30
5Overtime hours12.750.75

Result: 0.75

Subtracting the whole part leaves 0.75 hours, i.e. 45 minutes.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 17 KB

Common errors and how to fix them

ErrorWhy it happensFix
#VALUE!The argument is text that is not a number.Check the source cell; dates typed as text must be converted with DATEVALUE first.

Tips

  • Age in full years: =INT(YEARFRAC(birth, TODAY())) (or DATEDIF).
  • Time part of a date-time: =MOD(B4, 1), formatted as time.
  • Test for a whole number: =B2=INT(B2).

Questions

What is the difference between INT and TRUNC?

They match for positive numbers. For negatives INT rounds down (−2.3 → −3) while TRUNC removes the decimals (−2.3 → −2).

Why does INT not round 7.85 to 8?

INT never rounds up. Use =ROUND(B2,0) for nearest whole number.

Google Sheets

INT also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

INT in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
CzechCELÁ.ČÁST
DanishHELTAL
DutchINTEGER
FinnishKOKONAISLUKU
FrenchENT
GermanGANZZAHL
Norwegian (Bokmål)HELTALL
PolishZAOKR.DO.CAŁK
RussianЦЕЛОЕ
SpanishENTERO
SwedishHELTAL
TurkishTAMSAYI

Recipes that use INT