Fraction Calculator

Add, subtract, multiply or divide two fractions - the answer appears simplified, as a mixed number and as a decimal, with every step shown.

The left box on each fraction is an optional whole number, for mixed numbers like 1 3/4.

How fraction arithmetic works

Every operation on two fractions reduces to a couple of integer sums. For addition and subtraction you first put both fractions over a common denominator (the product of the two denominators always works), then add or subtract the numerators. Multiplication is the easy one: multiply the tops together and the bottoms together. Division is multiplication in disguise - flip the second fraction and multiply.

  • Add / subtract - a/b +/- c/d = (a x d +/- c x b) / (b x d)
  • Multiply - a/b x c/d = (a x c) / (b x d)
  • Divide - a/b / c/d = (a x d) / (b x c)

Whatever the operation, the raw answer is then reduced by dividing top and bottom by their greatest common divisor, so 6/8 always comes back as 3/4.

A worked example

Take 2/3 + 1/4. The common denominator is 3 x 4 = 12, giving 8/12 + 3/12 = 11/12. Since 11 and 12 share no factors, that is already in lowest terms and, being smaller than one, has no mixed-number form. As a decimal it is roughly 0.9167. Now try 5/2 x 4/3: multiply across to get 20/6, reduce by 2 to reach 10/3, which is the mixed number 3 1/3, or 3.3333 as a decimal.

Pitfalls to watch

A denominator can never be zero, and you cannot divide by a fraction whose numerator is zero - both are flagged above rather than returning a silent wrong answer. When you enter a mixed number, the sign lives on the whole-number box: -1 1/2 means minus one and a half, not minus one plus a half. For percentages and decimals of these results, the percentage calculator picks up where this leaves off, the unit converter is handy when the fractions are measurements, and the aspect ratio calculator uses the same simplifying step on width and height.

Frequently asked questions

How do you add two fractions with different denominators?
Give both fractions a common denominator, add the numerators, then simplify. For 1/3 + 1/4, the common denominator is 12, so it becomes 4/12 + 3/12 = 7/12. This calculator does the common-denominator step for you and shows the working.
How do you simplify a fraction?
Divide the top and bottom by their greatest common divisor (GCD). For 8/12 the GCD is 4, so 8/12 simplifies to 2/3. The result here is always shown fully reduced.
How do you divide fractions?
Flip the second fraction and multiply. 2/3 divided by 4/5 becomes 2/3 x 5/4 = 10/12 = 5/6. Dividing by a fraction with a numerator of zero is undefined, so the calculator flags it as an error.
What is a mixed number?
A mixed number is a whole number next to a proper fraction, like 1 3/4. It is the same value as the improper fraction 7/4. This tool shows both forms plus the decimal.
Can I use negative fractions?
Yes. Put a minus sign on the whole-number box, or on the numerator if there is no whole part. For example a whole part of -2 with 1/3 is treated as -7/3.