Skip to main content
Calculator Fractions

Integer Part Calculator

Extract the whole-number portion.

Rounding & Estimation

Use the Integer Part Calculator

Result
—

How Integer Part Calculator Works?

The Integer Part Calculator works in 4 steps: it reads a fraction, reduces the fraction, divides the numerator by the denominator, and reports the whole-number part of the mixed number as the integer part.

  1. Enter the fraction

    Type -47/6 or any other fraction into the input boxes.

  2. Reduce the fraction

    The greatest common factor (GCF) of 47 and 6 is 1, so -47/6 stays in lowest terms.

  3. Divide toward zero

    47 ÷ 6 = 7 remainder 5. With the sign restored, the calculator shows the mixed number -7 5/6.

  4. Read the integer part

    The integer part is −7, the whole number in the mixed form. The decimal −7.833333 confirms that the value lies between −8 and −7.

Integer Part Calculator Formula

The integer part formula is trunc(x) = sign(x) × ⌊|x|⌋, which drops the fractional part and keeps the sign. For positive fractions, the integer part equals the quotient of a ÷ b.

Truncation

trunc(a/b) = sign(a/b) × ⌊|a| / |b|⌋

Remove the sign, take the floor, and put the sign back. trunc(−31/6) = −⌊31/6⌋ = −5.

Quotient form

a = q·b + r → integer part = q, a ≥ 0, b > 0

The integer part is the quotient of long division. 125 = 10 × 12 + 5, so the integer part of 125/12 is 10.

Floor comparison

trunc(x) = ⌊x⌋, if x ≥ 0; ⌈x⌉, if x < 0

Truncation and floor agree for positive values and differ by 1 for negative non-integers. ⌊−19/4⌋ = −5, but trunc(−19/4) = −4.

Recombination

x = trunc(x) + frac(x)

The integer part plus the signed fractional part rebuilds the value. −2/3 = 0 + (−2/3).

Worked example: integer part of 233/15

  1. Divide: 233 ÷ 15 = 15 remainder 8.
  2. Write the mixed number: 233/15 = 15 8/15.
  3. Take the whole number: the integer part is 15.
  4. Check with the decimal: 233 ÷ 15 = 15.5333, and the digits before the point are 15.
  5. Recombine: 15 + 8/15 = 225/15 + 8/15 = 233/15.

Integer Part Calculator Conversion Table

The integer part conversion table lists 12 fractions with the mixed number, the decimal, the integer part by truncation, and the floor for comparison.

FractionMixed NumberDecimalInteger Part (Truncation)Floor
19/44 3/44.7544
44/94 8/94.888944
58/78 2/78.285788
99/109 9/109.999
7/87/80.87500
64/164444
73/89 1/89.12599
−19/4−4 3/4−4.75−4−5
−2/3−2/3−0.66670−1
−45/9−5−5−5−5
−26/5−5 1/5−5.2−5−6
−50/7−7 1/7−7.1429−7−8

What is Integer Part Calculator?

An Integer Part Calculator is a tool that returns the whole-number portion of a fraction, the part before the fractional remainder. The integer part of 58/7 is 8.

The integer part has 2 common definitions. Truncation drops the fractional digits and keeps the sign, so the integer part of −26/5 = −5.2 is −5. The floor definition rounds down, so ⌊−5.2⌋ = −6. Both definitions give the same answer for positive fractions and for fractions that equal integers, such as −45/9 = −5.

The calculator shows the integer part as the whole number of the mixed-number result, which follows the truncation definition. A proper fraction such as 7/8 has an integer part of 0, as the value lies between 0 and 1.

What are the uses of Integer Part Calculator?

The Integer Part Calculator has 6 main uses, including full-item counts, mixed number conversion, and time splits.

  • Full-item counts

    99/10 = 9.9 liters of juice fills 9 full 1 L bottles (33.8 fl oz each).

  • Mixed number conversion

    Students write the integer part of 44/9, which is 4, as the whole number of 4 8/9.

  • Time splits

    73/8 hours contains 9 whole hours and 7.5 minutes.

  • Currency splits

    A value of 19/4 dollars is 4 whole dollars and 75 cents.

  • Programming casts

    Converting −50/7 to an integer in C or Java truncates toward zero and gives −7, not −8.

  • Distance markers

    A hiker at 58/7 km (8.29 km, or 5.15 mi) has passed 8 kilometre markers.

Related Rounding & Estimation Tools

View all 270 tools →