Fraction Calculator

Add, subtract, multiply or divide fractions and mixed numbers. Get a simplified answer and see each calculation step.

Calculate with fractions

Enter 3/4, 1 1/2 or −1 1/2. The sign applies to the whole number.

Input limits

Each whole part, numerator and denominator must be a nonnegative integer up to 1,000,000,000,000. A denominator must be positive. In separate fields only the whole part may be blank. Use the sign control for a negative mixed number.

Your result

Enter your values and select Calculate, or use Try example.

Method & examplesReviewed · Sources

Enter fractions and mixed numbers

Choose Two fractions for addition, subtraction, multiplication or division. Compact entry accepts 3/4, 1 1/2, −1 1/2 or a whole number such as 2. A preview shows how the sign applies to the entire number.

Choose Separate fields for a sign, optional whole part, numerator and denominator. Leave the whole part blank for a simple fraction. Enter a zero numerator when you need a whole number or zero; the denominator is still required. Switching entry formats preserves valid values. Complete or clear a partial value before switching.

The sign applies to the entire mixed number: selecting Negative with whole part 1 and fraction 1/2 means −(1 + 1/2) = −3/2. Do not type minus signs into the integer fields. Improper fractions, such as 8/3, are allowed.

Choose Simplify one fraction to reduce a single number. Try example fills values without calculating. Changing the operation keeps both numbers and clears the result. Changing the task clears the numbers and result. Reset returns to an empty addition form. Editing removes the previous result and copy action.

Exact formulas and examples

Convert a mixed number to an improper fraction: whole × denominator + numerator, then apply its sign. For signed fractions a/b and c/d:

After the operation, divide the numerator and denominator by their greatest common divisor. The denominator of the result stays positive. Solution steps show the actual numbers: mixed-number conversion, the least common denominator for addition/subtraction, the reciprocal for division, and reduction by the greatest common divisor.

Calculation Exact answer Mixed number
3/4 + 1/6 9/12 + 2/12 = 11/12 11/12
2/3 ÷ 4/5 10/12 = 5/6 5/6
1 1/2 + 3/4 6/4 + 3/4 = 9/4 2 1/4
−1 1/2 + 3/4 −6/4 + 3/4 = −3/4 −3/4
3/4 − 3/4 0 0

Precision and limits

Every whole part, numerator and denominator accepts a nonnegative integer up to 1,000,000,000,000. A denominator cannot be zero. Dividing by a fraction whose value is zero is also rejected. Decimal inputs and scientific notation are not accepted in these fields.

Exact answers use BigInt rational arithmetic and are never rounded. The mixed number is another exact representation. The decimal is explicitly an approximation, shown to at most 12 decimal places; recurring decimals may be rounded. For example, 11/12 is approximately 0.916666666667. Large exact results may have more digits than any individual input. Use result puts the exact answer into the first number and keeps the second number and operation. Calculate again when you are ready. If the result cannot fit the existing per-part limits, Use result is disabled; the exact answer and Copy result remain available. No rounded decimal is substituted.

This page handles one operation on two numbers or simplification of one number. It does not parse expressions or solve algebra. Use the Ratio Calculator for proportions, the Average Calculator for a list of numbers, or the Percentage Calculator for a percentage of a number.

For fractional inches with a measurement rounding error, use the Length Converter.

Sources and model

Method version 1.1.0. Reviewed .

Maintained by Aleksandr Pervukhin. Report a calculation error.