Math

Improper Fraction to Mixed Number Calculator

Convert between improper fractions and mixed numbers, with the decimal value.

Last updated · View algorithm, constants and default inputs (JSON)

Enter your values

About this calculator

An improper fraction has a numerator at least as large as its denominator. Writing it as a mixed number — a whole part plus a proper fraction — usually makes the quantity easier to picture.

Worked example

calculated with the default values below

Numerator 17 · Denominator 5 Mixed number 3 2/5 · Whole part 3 · Remainder 2 · Decimal value 3.4

General background references

Disclaimer

These calculators give general mathematical results. They suit study, planning and estimation — verify anything that feeds a graded submission, a published figure or a financial commitment.

Maintained by: CalcDelta

Implementation source

This record describes the implementation used by this page. It is not independent validation. External references, when available, support only the stated formula or definition; estimates and custom rules retain their own assumptions.

View algorithm, constants and default inputs (JSON)

Formula and variables

a = trunc(n ÷ d) ; r = |n − a × d| ; n ÷ d = a + r ÷ |d|

n
numerator
d
denominator
a
whole-number part
r
remainder

The sign applies to the whole mixed number; values with magnitude below one display as a signed proper fraction.

Embed this calculator

Copy the iframe snippet to place this calculator on your site. No account required. The snippet stays in sync with the inputs currently shown.

Frequently asked questions

Why does the remainder always come out as a positive number?

The calculator takes the whole part as the truncated quotient and the remainder as the absolute value of numerator minus whole times denominator, so the fractional piece is never negative even when the original fraction is. For 17 over 5 it reports whole 3, remainder 2 and mixed number 3 2/5 with decimal 3.4, while a negative numerator like minus 17 still yields a positive remainder and a decimal of minus 3.4.

What happens if the denominator is zero?

A fraction with a zero denominator is undefined. The calculator shows an input error instead of silently treating the denominator as 1.