What Is a Fraction to Mixed Number Calculator?
This tool converts an improper fraction — one where the numerator is greater than or equal to the denominator — into a mixed number, which combines a whole number with a proper fraction. For example, \(17/5\) becomes \(3\tfrac{2}{5}\). The calculator also automatically reduces the leftover fraction to its lowest terms.
How to Use It
Enter the numerator (the top number) and the denominator (the bottom number) of your fraction, then read the result. The output shows the whole part and a simplified proper fraction. Negative fractions are supported; the sign is applied to the whole-number part.
The Formula Explained
The conversion uses integer division and the modulo (remainder) operation:
$$\frac{\text{Numerator}}{\text{Denominator}} = W\,\frac{R}{D} \\[1.5em] \text{where}\quad \left\{ \begin{aligned} W &= \left\lfloor \frac{\text{Numerator}}{\text{Denominator}} \right\rfloor \\ R &= \text{Numerator} \bmod \text{Denominator} \end{aligned} \right.$$Here, a ÷ b is the integer quotient (how many whole times b fits into a), and a mod b is what is left over. That remainder sits over the original denominator, and the resulting fraction is then simplified by dividing both parts by their greatest common divisor (GCD).
Worked Example
Convert \(17/5\):
$$17 \div 5 = 3 \text{ remainder } 2 \quad (\text{since } 3 \times 5 = 15 \text{ and } 17 - 15 = 2)$$So the mixed number is \(3\tfrac{2}{5}\). The fraction \(2/5\) is already in lowest terms, so no further reduction is needed.
More Worked Examples
Example 1: 14/4 (the fraction part needs reducing)
- Divide the numerator by the denominator: \(14 \div 4 = 3\) with remainder \(14 - 4 \times 3 = 2\).
- The whole part is \(W = 3\) and the remainder is \(R = 2\), so \(\frac{14}{4} = 3\,\frac{2}{4}\).
- Reduce the fraction part: \(\gcd(2,4) = 2\), so \(\frac{2}{4} = \frac{2 \div 2}{4 \div 2} = \frac{1}{2}\).
- Result: \(\frac{14}{4} = \) 3 1/2.
Example 2: -17/5 (negative improper fraction)
- Work with the absolute value first: \(17 \div 5 = 3\) with remainder \(17 - 5 \times 3 = 2\).
- So \(\frac{17}{5} = 3\,\frac{2}{5}\). The fraction \(\frac{2}{5}\) is already reduced because \(\gcd(2,5) = 1\).
- Apply the negative sign to the whole part: \(-\frac{17}{5} = -3\,\frac{2}{5}\). This means \(-(3 + \frac{2}{5}) = -3.4\), not \(-3 + \frac{2}{5}\).
Example 3: 20/5 (no remainder)
- Divide: \(20 \div 5 = 4\) with remainder \(20 - 5 \times 4 = 0\).
- Because the remainder is 0, there is no fraction part.
- Result: \(\frac{20}{5} = 4\), a whole number.
Input vs. Output Comparison
| Input | Whole part | Remainder | Reduced fraction | Mixed number |
|---|---|---|---|---|
| 17/5 | 3 | 2 | 2/5 | 3 2/5 |
| 14/4 | 3 | 2 | 1/2 | 3 1/2 |
| 20/5 | 4 | 0 | none | 4 |
| 3/4 | 0 | 3 | 3/4 | 3/4 (already a proper fraction) |
| -17/5 | -3 | 2 | 2/5 | -3 2/5 |
| 100/7 | 14 | 2 | 2/7 | 14 2/7 |
Check for 100/7: \(7 \times 14 = 98\) and \(100 - 98 = 2\), so the mixed number is \(14\,\frac{2}{7}\).
Key Terms
- Numerator: the top number of a fraction; it tells how many parts are counted.
- Denominator: the bottom number of a fraction; it tells how many equal parts make one whole. It cannot be zero.
- Improper fraction: a fraction whose numerator is greater than or equal to its denominator (for example 17/5), so its value is at least 1 in size.
- Proper fraction: a fraction whose numerator is smaller than its denominator (for example 3/4), so its value is less than 1 in size.
- Mixed number: a whole number combined with a proper fraction, such as \(3\,\frac{2}{5}\).
- Quotient: the result of division with whole numbers; here it is the whole part of the mixed number.
- Remainder (modulo): what is left after dividing as many whole times as possible. The modulo operation \(a \bmod b\) returns this remainder and becomes the numerator of the fraction part.
- Greatest common divisor (GCD): the largest whole number that divides two numbers exactly. Dividing the remainder and the denominator by their GCD reduces the fraction to lowest terms.
FAQ
What if the numerator is smaller than the denominator? The whole part is 0 and the result is just the (reduced) proper fraction, e.g. \(3/4\) stays \(3/4\).
What happens with a denominator of zero? Division by zero is undefined, so the calculator returns zero and does not attempt the conversion.
Does it simplify the fraction? Yes. For example, \(14/4\) becomes \(3\tfrac{1}{2}\) because the remainder fraction \(2/4\) reduces to \(1/2\).