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

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Comparisons
  3. INT vs TRUNC in Excel: Different With Negatives

INT vs TRUNC in Excel: Different With Negatives

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

The short answer

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.

Key takeaways

  • For positive numbers, =INT(7.8) and =TRUNC(7.8) both return 7.
  • For negative numbers, =INT(-7.8) returns -8 but =TRUNC(-7.8) returns -7.
  • TRUNC has an optional second argument: =TRUNC(3.14159,2) returns 3.14.
  • INT is the standard way to take the date part of a date-time value.
On this page+
  1. INT vs TRUNC at a glance
  2. How INT works
  3. How TRUNC works
  4. INT and TRUNC side by side on the same data
  5. When to use INT
  6. When to use TRUNC
  7. Common mistakes with INT and TRUNC
  8. Our recommendation
  9. Practise it

The short answer to INT vs TRUNC in Excel: for positive numbers they are identical, because both remove the decimals. The difference appears with negative numbers. INT rounds down to the next lower whole number, while TRUNC cuts off the decimals and moves toward zero. This comparison is for anyone who works with refunds, temperature changes, time values or test questions that ask "what does this formula return?".

INT vs TRUNC at a glance#

Both remove the fraction from a number; they only disagree when the number is negative.

FeatureINTTRUNC
Syntax=INT(number)=TRUNC(number, [num_digits])
What it doesRounds down to a whole numberCuts off decimals
DirectionToward negative infinityToward zero
7.877
-7.8-8-7
-7 (already whole)-7-7
Keep decimal placesNoYes, with num_digits
Same result asROUNDDOWN for positives onlyROUNDDOWN always
Excel versionsAll versionsAll versions

Why the results differ with negatives#

Think of a number line. Rounding down means moving left, toward smaller numbers. Cutting toward zero means moving toward 0, whatever the sign.

For 7.8, left and toward zero are the same direction, so both functions return 7. For -7.8, they point in opposite directions. Moving left from -7.8 reaches -8, which is smaller. Moving toward zero reaches -7. So =INT(-7.8) returns -8 and =TRUNC(-7.8) returns -7.

This is why the difference matters: in a sheet with refunds, losses or negative changes, swapping one function for the other changes your totals.

How INT works#

INT takes one number and returns the largest whole number that is less than or equal to it.

Excel formula
=INT(7.8)
=INT(-7.8)
=INT(A2)

The first two return 7 and -8. INT has no second argument, so it always returns a whole number.

INT is also the standard way to split a date-time value. Excel stores dates as whole numbers and times as the decimal part, so if A2 holds 15 March 2024 at 14:30, =INT(A2) returns just the date. Format the result as a date. The time part is =A2-INT(A2) or =MOD(A2,1). The guide to MOD and INT shows how the two work together to split hours, weeks and boxes.

How TRUNC works#

TRUNC, short for "truncate", cuts a number to a set number of decimal places without rounding.

Excel formula
=TRUNC(7.89)
=TRUNC(-7.89)
=TRUNC(7.89,1)
=TRUNC(1234.5,-2)

These return 7, -7, 7.8 and 1200. The second argument, num_digits, is optional and defaults to 0. A positive value keeps that many decimals, and a negative value zeroes out digits to the left of the decimal point.

Notice that =TRUNC(7.89,1) returns 7.8, not 7.9. TRUNC never rounds up; it only drops digits. For rounding to the nearest value, use ROUND. The ROUND function guide and the comparison of ROUND vs ROUNDUP vs ROUNDDOWN cover the rounding family.

INT and TRUNC side by side on the same data#

Here are daily price changes for five stocks:

ABCD
1StockChange=INT(B2)=TRUNC(B2)
2ABC-3.75-4-3
3DEF2.4022
4GHI-0.60-10
5JKL5.0055
6MNO-2.10-3-2

The positive rows agree. Every negative row with decimals differs by exactly 1. Row 4 is a useful test question: INT turns -0.6 into -1, while TRUNC turns it into 0.

A typical test question#

Screening tests like to ask what a formula returns, and INT and TRUNC with negatives are a favourite. Try this one:

Excel formula
=INT(-0.5)+TRUNC(-0.5)

The answer is -1. INT rounds -0.5 down to -1, and TRUNC cuts it to 0, so the sum is -1 + 0. If you can explain each half, you understand the difference. Two more facts help with these questions: =TRUNC(B2) always matches =ROUNDDOWN(B2,0), and =INT(B2) always matches =FLOOR.MATH(B2), which also rounds toward negative infinity by default.

Totals on the same data#

Now add up each column. =SUM(C2:C6) returns -1, and =SUM(D2:D6) returns 2. The original changes add up to 0.95. Neither is "wrong", but they answer different questions, so pick the function deliberately.

When to use INT#

Use INT when you want the next lower whole number, or when you work with dates and times. It fits:

  • Splitting date-time values: =INT(A2) for the date, =A2-INT(A2) for the time.
  • Whole units that can't go negative, such as full boxes from a count of items: =INT(B2/12) for full dozens.
  • Age or tenure in whole years from a decimal, such as =INT(YEARFRAC(B2,C2)).
  • Whole weeks between two dates: =INT((C2-B2)/7) returns 3 for a 25-day gap, because only three full weeks fit.
  • Floor-style bucketing, such as grouping scores into bands of 10: =INT(B2/10)*10 turns 67 into 60.
  • Older formulas and test answers, where INT is the traditional choice.

When to use TRUNC#

Use TRUNC when you want to drop digits without rounding, or keep a set number of decimals. It fits:

  • Negative values where you want the whole part only, such as -3.75 becoming -3.
  • Cutting to decimals without rounding, such as rates that must show 2 decimals exactly as they start: =TRUNC(B2,2).
  • Removing small digits from large numbers, such as =TRUNC(B2,-3) to show thousands.
  • Matching a rule written as "ignore the decimals", which usually means cut, not round down.
  • Splitting a signed number into parts. =TRUNC(B2) gives the whole part and =B2-TRUNC(B2) gives the fractional part with the same sign, so -3.75 splits cleanly into -3 and -0.75. With INT, the parts would be -4 and 0.25, which is correct maths but rarely what a report needs.

Invoices are a common place where the choice matters, because tax and discounts can be negative; see building an invoice with formulas.

Common mistakes with INT and TRUNC#

  1. Assuming they are always the same. They are for positives, so the bug only shows up once a negative number arrives.
  2. Using INT to "remove decimals" from refunds. INT turns a -12.50 refund into -13. Use TRUNC if you only want to drop the decimals.
  3. Expecting TRUNC to round. =TRUNC(4.99) returns 4, not 5. Use ROUND for normal rounding.
  4. Giving INT a second argument. =INT(A2,2) returns an error message about too many arguments. Use TRUNC or ROUNDDOWN to keep decimals.
  5. Hiding decimals with formatting instead. Clicking Decrease Decimal changes what you see, not the value. Calculations still use the full number.
  6. Using INT on small rates. =INT(0.075) returns 0, so a 7.5% rate disappears. To drop extra decimals from a rate, use =TRUNC(B2,3), which keeps 0.075.

For the wider family, including CEILING and FLOOR, see CEILING vs FLOOR and the overview of Excel's rounding functions.

Our recommendation#

If your numbers are never negative, INT and TRUNC are interchangeable, and INT is the more familiar choice. If negatives can appear, decide what you mean. "Round down" means INT. "Drop the decimals" or "keep the whole part" means TRUNC. Use INT for dates and times, and TRUNC when you need to keep a set number of decimal places.

In short: INT rounds down, TRUNC cuts toward zero, and they only differ for negatives.

Practise it#

Try the exercise on this page: cut -3.75 to its whole part with TRUNC and check that you get -3, not -4. Then practise rounding in a live spreadsheet: you type each formula, and it checks your answer instantly.

Try it yourself

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

B2 holds a price change of -3.75. In C2, use TRUNC to keep only the whole-number part, cutting toward zero.

fx
ABCD
1
Stock
Change
Whole part
2
ABC
-3.75
3
DEF
2.4
4
GHI
-0.6
5
6
7

Tip: TRUNC needs only the number. Without a second argument it keeps no decimal places.

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 INT and TRUNC in Excel?

+

INT rounds a number down to the nearest whole number, toward negative infinity. TRUNC removes the decimal part, toward zero. They only give different answers for negative numbers with decimals.

Is TRUNC the same as ROUNDDOWN?

+

Yes, in results. Both move toward zero, so =TRUNC(A2,1) and =ROUNDDOWN(A2,1) always match. The only difference is that TRUNC's second argument is optional and defaults to 0.

How do I remove decimals without rounding in Excel?

+

Use =TRUNC(A2). It cuts off everything after the decimal point, so 9.99 becomes 9. Changing the number format only hides decimals; the stored value stays the same.

How do I get the date from a date and time in Excel?

+

Use =INT(A2) and format the result as a date. Excel stores the time as the decimal part of the number, so INT removes it.

Sources

  • INT function - Microsoft Support
  • TRUNC function - Microsoft Support
  • ROUNDDOWN function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 1, 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. INT vs TRUNC at a glance
  2. How INT works
  3. How TRUNC works
  4. INT and TRUNC side by side on the same data
  5. When to use INT
  6. When to use TRUNC
  7. Common mistakes with INT and TRUNC
  8. Our recommendation
  9. Practise it

Keep reading

Math· 6 min read

MOD and INT in Excel: Remainders and Whole Numbers

MOD returns the remainder after division: =MOD(127,12) gives 7, because 12 goes into 127 ten times with 7 left over. INT rounds a number down to a whole number: =INT(127/12) gives 10. Use them together to split a quantity into full groups and what's left, such as boxes and spare items, or hours and minutes.

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.

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