Going Stellar

Home/Google Sheets reference

Google Sheets function · Math

INT in Google Sheets: syntax and examples

INT returns the largest integer that is not greater than the value. For 7.8 that is 7, and for -7.2 it is -8. It is handy for whole units, groups and for stripping the time from a date-time.

Syntax

INT(value)

Arguments

ArgumentTypeRequiredWhat it does
valuenumberyesThe number to round down.

Examples

The examples use this table, starting in A1:

Value
7.8
-7.2
15
0.999
=INT(A2)

Result: 7

Drops the decimals of a positive number.

Run in a Google Sheet (English US locale) on .

=INT(A3)

Result: -8

A negative number goes down, away from zero: -7.2 becomes -8.

Run in a Google Sheet (English US locale) on .

=ROUND(A2-INT(A2),2)

Result: 0.8

The fractional part of a number, rounded to hide floating-point noise.

Run in a Google Sheet (English US locale) on .

=INT(A4/4)

Result: 3

Whole groups of 4 in 15 items. The remainder is ignored.

Run in a Google Sheet (English US locale) on .

=INT(DATE(2026,11,29)+0.75)=DATE(2026,11,29)

Result: TRUE

INT removes the time of day from a date-time value, so the comparison is TRUE.

Run in a Google Sheet (English US locale) on .

Common errors

  • Negative numbers go down, not toward zero: INT(-7.2) is -8. TRUNC(-7.2) gives -7. Pick the one that matches what you mean.
  • Feeding it "abc" instead of a number gives #VALUE!.
  • INT does not round to the nearest value. INT(0.999) is 0. Use ROUND when you want 1.

Compared with Excel

Same syntax in Excel.

Sources

  1. INT (Docs Editors Help)

Markdown version · All functions