UTILS.
100% in-browser
🔢

Mixed Number Calculator

Add, subtract, multiply, and divide mixed numbers, fractions, and whole numbers, returning a reduced mixed number, improper fraction, and decimal.

Enter two operands as 'A B/C', 'B/C', or a whole number, then pick an operation.

Enter two mixed numbers above to calculate.

About this tool

The Mixed Number Calculator performs exact arithmetic on mixed numbers, improper fractions, and whole numbers. Each operand entered as 'A B/C' (a whole part plus a fraction), 'B/C', or a plain integer is first converted to an improper fraction with numerator A·C + B (carrying the sign) over C. Addition and subtraction bring both fractions to a common denominator L = lcm(d₁, d₂) and combine the numerators; multiplication multiplies numerators and denominators; division multiplies by the reciprocal of the second operand.

The result is reduced to lowest terms by dividing numerator and denominator by their greatest common divisor via the Euclidean algorithm, then converted back to a mixed number: the whole part is the integer quotient and the remainder becomes the new fraction. Every step — convert, common denominator, combine, reduce, and convert back — is shown so the working is easy to follow.

All arithmetic uses JavaScript BigInt integers, so there is no floating-point error even with large numerators and denominators, and everything runs locally in your browser. Enter two operands, choose +, −, ×, or ÷, and read the answer as a reduced mixed number, an equivalent improper fraction, and a decimal.

Frequently asked questions

What input formats are accepted?
Each operand can be a mixed number like '2 3/4' (whole space fraction), an improper or proper fraction like '7/4', or a whole number like '3'. Negative signs are allowed and apply to the whole quantity.
How is the answer reduced?
After the operation the fraction is divided by the greatest common divisor of its numerator and denominator (Euclidean algorithm), giving lowest terms. It is then converted back to a mixed number with an integer whole part and a proper fractional remainder.
Is the arithmetic exact?
Yes. All values are handled as BigInt integer numerators and denominators, so there is no rounding or floating-point drift — even large mixed numbers combine and reduce exactly.
How is the decimal produced?
The final reduced fraction is long-divided to up to ten decimal places for reference, shown alongside the exact mixed-number and improper-fraction answers so you get both forms at once.

More tools