Skip to content
FiftyCalc Free calculators for all 50 states

Improper Fraction to Mixed Number Calculator

Test cases replayed : 4 of 4 match · Methodology · No outside source listed

Enter the numerator and denominator of an improper fraction to write it as a whole number plus a proper fraction in lowest terms.

Result

Sample figures

Whole number part—

Fraction part: numerator —

  • Fraction part: denominator—
  • Decimal value—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Improper Fraction to Mixed Number Calculator

Numerator (whole number): enter a number. Prefilled example: 17.

Denominator (whole number, not 0): enter a number. Prefilled example: 5.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Numerator (whole number): enter a number.
  2. Denominator (whole number, not 0): enter a number.
  3. Read the result: Whole number part; the panel also shows Fraction part: numerator, Fraction part: denominator and Decimal value.

How this calculator works

Divide the numerator by the denominator: the quotient is the whole-number part and the remainder becomes the numerator of the fraction part, over the same denominator. 17 ÷ 5 = 3 remainder 2, so 17/5 = 3 2/5.

The fraction part is then reduced by the greatest common divisor of the remainder and the denominator. For a negative fraction the sign applies to the whole mixed number: −7/2 = −3 1/2.

The formula

  1. W={−1if n×d<01otherwise×floor⁡(|round⁡(n)||round⁡(d)|)
Symbols used in the formula
SymbolMeaning
nNumerator (whole number)
dDenominator (whole number, not 0)
WWhole number part
floor(x)the largest whole number not above x.
round(x, d)x rounded to d decimal places, or to a whole number without d.

Worked example

Numerator (whole number)17
Denominator (whole number, not 0)5
Fraction part: numerator2
Fraction part: denominator5
Decimal value3.4
  1. W=1×floor⁡(|round⁡(17)||round⁡(5)|)=3

Whole number part 3

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

How do you write 17/5 as a mixed number?

17 ÷ 5 = 3 remainder 2, so 17/5 = 3 2/5.

What is 22/8 as a mixed number?

22 ÷ 8 = 2 remainder 6, and 6/8 simplifies to 3/4, so 22/8 = 2 3/4.

Questions answered

Related calculators