ShareYourGroupShareYourGroupExcel Formulas

Math functions

INT and TRUNC functions in Excel

INT rounds a number down to the whole number below it; TRUNC simply cuts off the decimals.

INT and TRUNC both turn a number with decimals into a whole number without rounding to the nearest. Nothing is rounded up. For positive numbers they give the same answer. For negative numbers they differ, and that difference matters as soon as a sheet contains losses, refunds or temperatures below zero.

Syntax

=INT(number)
=TRUNC(number, [num_digits])
ArgumentWhat it is
numberThe number to cut down.
num_digitsFor TRUNC: how many decimal places to keep. 0 if left out.

Examples

Each result below is what Excel itself showed for the formula on the sample sheet.

Sample sheet: Twelve sales made by four salespeople in three regions.
ABCDEF
1DateSalespersonRegionProductUnitsAmount
205-Jan-2026AshaNorthNotebook201200
312-Jan-2026RaviSouthPen50500
420-Jan-2026MeenaNorthBag43000
502-Feb-2026AshaEastPen30300
614-Feb-2026KabirSouthNotebook15900
728-Feb-2026RaviNorthBag21500
803-Mar-2026MeenaEastNotebook402400
915-Mar-2026AshaNorthBag32250
1022-Mar-2026KabirSouthPen60600
1101-Apr-2026RaviEastNotebook251500
1218-Apr-2026MeenaNorthPen80800
1306-May-2026AshaSouthBag53750

The difference

If negative values are possible and you want "the whole-number part", TRUNC is usually what you mean.

TRUNC has a second argument for the number of decimal places to keep, so =TRUNC(3.14159,2) is 3.14. INT has no such option.

What INT is used for

Whole units and what is left over. How many full dozens, full boxes or full weeks? =INT(total/size) gives the complete units. The remainder is total - INT(total/size)*size, or more simply MOD.

Splitting hours and minutes. With 135 minutes in A1, =INT(A1/60) is 2 hours and =MOD(A1,60) is 15 minutes.

Separating a date from a time. Excel stores a date as a whole number of days and a time as a fraction of a day. A cell with both, such as 5 January at 6 pm, holds a number with a decimal part. =INT(A1) is the date alone, and =A1-INT(A1) is the time alone. This is the standard way to group time-stamped records by day.

Age in completed years from a number of days: =INT((today-birth)/365.25) is a rough method. DATEDIF is exact.

INT, ROUND or ROUNDDOWN?

Function7.97.2-7.9
INT(x)77-8
TRUNC(x)77-7
ROUNDDOWN(x,0)77-7
ROUND(x,0)87-8

ROUNDDOWN with 0 places and TRUNC behave alike. ROUND goes to the nearest. See ROUND.

A warning about tiny errors

Because of the way computers store decimals, a calculation that should give exactly 3 can come out as 2.9999999999. INT then returns 2. If a result that ought to be a whole number is going into INT, round it first: =INT(ROUND(A1/B1,6)).

Common mistakes

In Google Sheets

INT and TRUNC are the same in Google Sheets.

Related functions

Every result on this page was calculated in Microsoft Excel (version 16.0, build 20326) on 12 November 2026, not typed by hand.

This is an independent help site. It is not connected with or approved by Microsoft. Excel and Microsoft 365 are trademarks of Microsoft Corporation, named here only to say which program a formula is for. The people and figures in the sample sheets are made up.