Convert the whole value, including its sign
Choose a direction. Mixed to improper uses a separate sign, a nonnegative whole part, and a proper fractional part with a positive denominator. The sign applies to the entire number, including when the whole part is zero.
To form an improper fraction, multiply the whole part by the denominator, add the numerator, then apply the sign. In the reverse direction, divide the absolute numerator by the denominator to find the whole part and remainder. The stored ratio stays exact when you change its presentation.
Worked example: −1 1/2 = −3/2
With a negative sign, whole part 1, numerator 1 and denominator 2, the unsigned numerator is 1×2+1=3. Applying the sign gives −3/2.
For the reverse direction, 7/3 gives whole part 2 and remainder 1 because 7=3×2+1. Its mixed presentation is 2 1/3.
Load example fills the form without calculating. Choose its primary action to work it out.
Sources and related calculators
- Python 3.14: rational numbers and normalized integer ratios — checked 1 November 2026.
The method and worked example here are original. Sources describe the underlying mathematics or notation; calculation choices and limits are in the precision and syntax guide.