Fraction to Mixed Number Calculator

Fraction to Mixed Number Calculator

Growing AI Skill PRO

Enter Calculation

Formula

NumeratorDenominator=WRDwhere{W=⌊NumeratorDenominator⌋R=NumeratormodDenominatorRD→reduced by gcd⁡(R,D)\begin{gathered} \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} \\ \tfrac{R}{D} &\to \text{reduced by } \gcd(R,\,D) \end{aligned} \right. \end{gathered}
Usage stats

Advertisement

Results

Mixed Number
3 2/5
whole number and proper fraction
Whole part 3
Fraction numerator 2
Fraction denominator 5

Report an error on this page

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.

An improper fraction transforming into a mixed number with a whole part and proper fraction
An improper fraction equals a whole number plus a reduced proper fraction.

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).

Advertisement
Visual breakdown of dividing numerator by denominator into quotient and remainder
The quotient becomes the whole part and the remainder becomes the new numerator.

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)

  1. Divide the numerator by the denominator: \(14 \div 4 = 3\) with remainder \(14 - 4 \times 3 = 2\).
  2. The whole part is \(W = 3\) and the remainder is \(R = 2\), so \(\frac{14}{4} = 3\,\frac{2}{4}\).
  3. Reduce the fraction part: \(\gcd(2,4) = 2\), so \(\frac{2}{4} = \frac{2 \div 2}{4 \div 2} = \frac{1}{2}\).
  4. Result: \(\frac{14}{4} = \) 3 1/2.

Example 2: -17/5 (negative improper fraction)

  1. Work with the absolute value first: \(17 \div 5 = 3\) with remainder \(17 - 5 \times 3 = 2\).
  2. So \(\frac{17}{5} = 3\,\frac{2}{5}\). The fraction \(\frac{2}{5}\) is already reduced because \(\gcd(2,5) = 1\).
  3. 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)

  1. Divide: \(20 \div 5 = 4\) with remainder \(20 - 5 \times 4 = 0\).
  2. Because the remainder is 0, there is no fraction part.
  3. 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}\).

Advertisement

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\).

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators