Fraction Calculator

Add, subtract, multiply, divide and compare fractions and mixed numbers, with every step shown and the answer simplified.

How it works

Type each fraction as top and bottom. If it is a mixed number like 2 1/3, put 2 in the whole box, 1 on top and 3 on the bottom. Pick the operation. The answer is simplified and the working is listed step by step: improper fractions, common denominator or flipping, then simplifying with the GCD.

Choose Compare to see which of the two fractions is bigger.

The formula

a/b + c/d = (ad + cb) / bd.   a/b / (c/d) = ad / bc

Worked example

1/2 + 1/3: the common denominator is 6, so 3/6 + 2/6 = 5/6. 3/4 divided by 3/8: flip the second to 8/3, then 3/4 x 8/3 = 24/12 = 2.

Good to know

Common questions

How do I add fractions with different bottoms?
Make the bottoms equal using the LCM, then add the tops.
What is a mixed number?
A whole number with a fraction, like 3 1/2, which is 7/2 as an improper fraction.
How do I know it is fully simplified?
The tool divides by the GCD of top and bottom, so no common factor is left.
How big can the numbers be?
Whole numbers up to about 15 digits, with no rounding.

More in Utilities.