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.
Enter the fraction
Type
-47/6or any other fraction into the input boxes.Reduce the fraction
The greatest common factor (GCF) of 47 and 6 is 1, so
-47/6stays in lowest terms.Divide toward zero
47 ÷ 6 = 7 remainder 5. With the sign restored, the calculator shows the mixed number
-7 5/6.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
Remove the sign, take the floor, and put the sign back. trunc(−31/6) = −⌊31/6⌋ = −5.
Quotient form
The integer part is the quotient of long division. 125 = 10 × 12 + 5, so the integer part of 125/12 is 10.
Floor comparison
Truncation and floor agree for positive values and differ by 1 for negative non-integers. ⌊−19/4⌋ = −5, but trunc(−19/4) = −4.
Recombination
The integer part plus the signed fractional part rebuilds the value. −2/3 = 0 + (−2/3).
Worked example: integer part of 233/15
- Divide: 233 ÷ 15 = 15 remainder 8.
- Write the mixed number: 233/15 = 15 8/15.
- Take the whole number: the integer part is 15.
- Check with the decimal: 233 ÷ 15 = 15.5333, and the digits before the point are 15.
- 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.
| Fraction | Mixed Number | Decimal | Integer Part (Truncation) | Floor |
|---|---|---|---|---|
| 19/4 | 4 3/4 | 4.75 | 4 | 4 |
| 44/9 | 4 8/9 | 4.8889 | 4 | 4 |
| 58/7 | 8 2/7 | 8.2857 | 8 | 8 |
| 99/10 | 9 9/10 | 9.9 | 9 | 9 |
| 7/8 | 7/8 | 0.875 | 0 | 0 |
| 64/16 | 4 | 4 | 4 | 4 |
| 73/8 | 9 1/8 | 9.125 | 9 | 9 |
| −19/4 | −4 3/4 | −4.75 | −4 | −5 |
| −2/3 | −2/3 | −0.6667 | 0 | −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.