Quick Answer

TRUNC Function

Truncates a number to an integer or set number of digits (no rounding).

✓ Excel✓ Google SheetsExcel All versions

Syntax

TRUNC
(number, [num_digits])

Parameters

ParameterDescriptionRequired
numberThe value you want to truncate.Required
num_digitsThe number of decimal places to keep. 0 (default) truncates to an integer.Optional

Basic Example

Truncate 4.9 to an integer

=TRUNC(4.9)
Result4

TRUNC removes the fractional part without rounding, so 4.9 becomes 4.

Advanced Examples

Example 1: Negative numbers truncate toward zero

Truncating -4.9.

Unlike INT, TRUNC does not round down.

=TRUNC(-4.9)
Result: -4
TRUNC simply drops the fractional part, giving -4 (whereas INT(-4.9) = -5).

Example 2: Keep two decimal places

Trim pi to 2 decimals.

Pass num_digits 2.

=TRUNC(3.14159, 2)
Result: 3.14
TRUNC keeps 3.14 and discards the remaining digits without rounding up.

How TRUNC Works

TRUNC chops off digits beyond the specified number of decimal places; it does not round. With num_digits = 0 it returns the integer part toward zero. For positive numbers TRUNC and INT give the same result, but for negatives TRUNC moves toward zero while INT moves toward negative infinity.

1
Select the cell
Click the cell for the result.
2
Enter the formula
Type =TRUNC(number, [num_digits]).
3
Press Enter
The truncated value appears.

Important Notes & Limitations

  • TRUNC only removes digits; it never rounds, which differs from ROUND.

  • For negative numbers it truncates toward zero, unlike INT which rounds down.

  • num_digits can be negative, truncating to the left of the decimal point (e.g. TRUNC(1234, -2) = 1200).

Common Errors & Fixes

Result not rounded as expectedTRUNC intentionally does not round.

Fix: Use ROUND if you need rounding instead of truncation.

#VALUE!Non-numeric argument.

Fix: Supply a numeric value.

Download Practice File

Practice TRUNC with Real Data

Download a sample CSV file with pre-populated data and practice exercises for the TRUNC function. Works in both Excel and Google Sheets.

Works in Google SheetsCompatible with ExcelIncludes exercises

File format: CSV (comma-separated values) - opens in Excel, Google Sheets, and all spreadsheet apps

Frequently Asked Questions

What is the difference between TRUNC and INT?
TRUNC removes the fractional part toward zero (TRUNC(-4.9)=-4), while INT rounds down (INT(-4.9)=-5).
Does TRUNC round?
No. It simply cuts off digits. Use ROUND if you need rounding.
Can num_digits be negative?
Yes. A negative num_digits truncates to the left of the decimal, e.g. TRUNC(1234, -2) = 1200.