TRUNC function
Cuts a number to a given number of decimal places without rounding; the default removes all decimals.
Available in All versions of Excel, Excel for the web, Excel for Mac
In every Excel versionWorks in Google Sheets
Syntax
TRUNC(number, [num_digits])| Argument | What it means | |
|---|---|---|
number | Required | The number to cut. |
num_digits | Optional | Digits to keep after the decimal point. Default 0. Negative values cut to tens, hundreds… |
Returns: The number with the extra digits removed (towards zero).
How TRUNC works
TRUNC (truncate) chops digits off a number. Nothing is rounded: 7.6 becomes 7 and 1.083947 cut to 4 decimals becomes 1.0839. Use it when the rule is "only completed units count", or when a system you feed expects a fixed number of decimals without rounding.
TRUNC and ROUNDDOWN are the same calculation; the only difference is that the digits argument is optional in TRUNC. Compared with INT, TRUNC goes toward zero for negative numbers: TRUNC(−8.79) is −8 while INT(−8.79) is −9. For a stock movement or a balance that can be negative, TRUNC treats both directions alike.
Examples
1Full hours and leftover minutes
| A | B | C | |
|---|---|---|---|
| 1 | Description | Value | |
| 2 | Shift length (h) | 7.6 | 7 h 36 min |
| 3 | Stock change | -8.79 | |
| 4 | Exchange rate | 1.083947 |
Result: 7 h 36 min
TRUNC keeps 7 full hours; the remaining 0.6 hours × 60 = 36 minutes.
2TRUNC versus INT on a negative value
| A | B | C | |
|---|---|---|---|
| 1 | Description | Value | |
| 2 | Shift length (h) | 7.6 | |
| 3 | Stock change | -8.79 | -8 |
| 4 | Exchange rate | 1.083947 |
Result: -8
The decimals are removed, giving −8. =INT(B3) would return −9.
3Keep four decimals of an exchange rate
| A | B | C | |
|---|---|---|---|
| 1 | Description | Value | |
| 2 | Shift length (h) | 7.6 | |
| 3 | Stock change | -8.79 | |
| 4 | Exchange rate | 1.083947 | 1.0839 |
Result: 1.0839
The 5th and later decimals are dropped; ROUND would have given 1.0839 as well here, but 1.08396 would truncate to 1.0839 and round to 1.0840.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#VALUE! | Non-numeric argument. | Check the inputs. |
Tips
=TRUNC(x, -2)cuts to hundreds: 1,987 → 1,900.- To see a value with fewer decimals without changing it, use a number format instead.
Questions
TRUNC or ROUNDDOWN?
They give identical results. TRUNC is shorter when you want whole numbers because num_digits is optional.
TRUNC or INT?
Same for positive numbers. For negatives TRUNC goes toward zero and INT goes down.
Google Sheets
TRUNC also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
TRUNC 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.
| Language | Function name |
|---|---|
| Czech | USEKNOUT |
| Danish | AFKORT |
| Dutch | GEHEEL |
| Finnish | KATKAISE |
| French | TRONQUE |
| German | KÜRZEN |
| Hungarian | CSONK |
| Italian | TRONCA |
| Norwegian (Bokmål) | AVKORT |
| Polish | LICZBA.CAŁK |
| Portuguese (Brazil) | TRUNCAR |
| Portuguese (Portugal) | TRUNCAR |
| Russian | ОТБР |
| Spanish | TRUNCAR |
| Swedish | AVKORTA |
| Turkish | NSAT |