Skip to the content
calculator.fans

Maths calculators

Fraction calculator

Type two fractions, with a whole number in front if you have a mixed number such as 2¾, choose the operation and read off the answer in lowest terms. The result is also shown as a mixed number and a decimal, which helps when you are scaling a recipe, cutting timber to length in inches or checking homework. Negative fractions work: put the minus sign on the whole number or, if there isn't one, on the numerator.

Simplified fraction

—

As a mixed number
—
As a decimal
—

The rules for each operation

To add or subtract, the fractions need a common denominator. The calculator multiplies the two denominators together, which always works, then cancels down at the end. For hand calculation, the lowest common multiple keeps the numbers smaller: for 1/4 + 1/6 use twelfths, giving 3/12 + 2/12 = 5/12.

Multiplying is simpler: multiply the tops together and the bottoms together. Dividing turns into multiplying by the flipped fraction (the reciprocal), because dividing by 3/8 asks how many three-eighths fit into a number, and that is the same as multiplying by 8/3. Mixed numbers must be turned into improper fractions before any of this: 2¾ is (2 × 4 + 3)/4 = 11/4.

a/b + c/d = (ad + bc) ÷ bd a/b × c/d = ac ÷ bd a/b ÷ c/d = ad ÷ bc

Simplifying with the greatest common divisor

A fraction is in its lowest terms when the top and bottom share no factor except 1. The quickest way to get there is to divide both by their greatest common divisor, found with Euclid's algorithm: replace the larger number by the remainder when it is divided by the smaller, and repeat until the remainder is zero. For 44/12, 44 leaves 8 after dividing by 12, 12 leaves 4 after dividing by 8, and 8 divides exactly by 4, so the divisor is 4 and the fraction becomes 11/3.

Euclid described this method more than two thousand years ago, and it is still what computers use, because it takes only a handful of steps even for very large numbers.

Mixed numbers, decimals and negative signs

An improper fraction such as 11/3 becomes a mixed number by dividing: 3 goes into 11 three times with 2 left, so it is 3⅔. The decimal comes from dividing top by bottom. Fractions whose denominators have only 2 and 5 as prime factors give decimals that end (3/8 = 0.375); any other prime factor gives a repeating decimal (2/3 = 0.6666...).

With a negative mixed number the minus sign applies to the whole thing, so −1½ means −(1 + ½) = −3/2, not −1 + ½. If you are working with percentages rather than fractions, the percentage calculator takes over from here.

Worked examples

Example 1

One half plus one third

The denominators are 2 and 3, so the common denominator is 6. One half is 3/6 and one third is 2/6, and 3/6 + 2/6 = 5/6. As a decimal that is 0.83333333, a repeating decimal because 6 has the prime factor 3.

Example 2

Scaling 2¾ cups of flour by 1⅓

To make a third more of a recipe, multiply each amount by 1⅓. As improper fractions that is 11/4 × 4/3. Multiplying across gives 44/12, and dividing top and bottom by their greatest common divisor, 4, gives 11/3, or 3⅔ cups. In metric terms, with a US cup of about 240 ml, that is roughly 880 ml of flour by volume.

Example 3

How many 3/8-inch pieces fit in 3/4 of an inch

Dividing 3/4 by 3/8 means multiplying by 8/3: 3/4 × 8/3 = 24/12, which simplifies to 2. That fits the picture: three-quarters is six eighths, which holds exactly two lots of three eighths.

Questions people ask

Why can't a denominator be zero?

The denominator says how many equal parts the whole is cut into. Cutting something into zero parts has no meaning, and arithmetically a/0 would have to be a number that gives a when multiplied by 0, which no number does. The calculator shows a message instead of an answer.

Do I need to simplify my fractions before entering them?

No. The calculator works with whatever you type and reduces only the final answer. Simplifying first just keeps the numbers smaller, which matters only for very large numerators and denominators.

How do I turn a decimal into a fraction?

Write the decimal over the corresponding power of ten and simplify: 0.45 is 45/100, and the greatest common divisor of 45 and 100 is 5, so it is 9/20. You can check by entering 9/20 + 0/1 here and reading the decimal.

Sources and further reading

Related calculators