CalcMathic

Numbers and fractions

Fraction calculator

Enter two fractions or mixed numbers, choose add, subtract, multiply or divide, and the calculator shows every step. You get the answer in lowest terms, as a mixed number and as a decimal.

Leave at 0 for a plain fraction. For a negative mixed number, put the minus sign here.

Press Calculate. The answer and every step of the working will show here.

How it works

A fraction describes a part of a whole. The bottom number, the denominator, says how many equal pieces the whole is cut into. The top number, the numerator, says how many of those pieces you have. In 3/4, the whole is cut into four pieces and you have three.

The four operations need different moves. Adding and subtracting only work when the pieces are the same size, so the first job is to find a common denominator. Multiplying is simpler: multiply the tops and multiply the bottoms. Dividing is multiplying in disguise, because you flip the second fraction (take its reciprocal) and multiply.

Mixed numbers such as 2 1/3 are first turned into improper fractions. Multiply the whole part by the denominator, add the numerator, and keep the denominator: 2 1/3 = (2 × 3 + 1)/3 = 7/3. That makes every operation work on two ordinary fractions. At the end, the answer is divided top and bottom by their greatest common factor so it sits in lowest terms, and an answer bigger than 1 is written as a mixed number too.

The calculator does these moves in the same order your teacher expects, so the working on the screen can be copied into a notebook and checked line by line.

The formula

  • Add or subtract: a/b ± c/d = (a × d ± c × b) / (b × d), or use the least common denominator
  • Multiply: a/b × c/d = (a × c) / (b × d)
  • Divide: a/b ÷ c/d = a/b × d/c = (a × d) / (b × c)
  • Mixed to improper: w n/d = (w × d + n) / d
  • Simplify: divide top and bottom by their GCF

Worked example

Add 2 1/3 and 1 3/4. First write each as an improper fraction: 2 1/3 = 7/3 and 1 3/4 = 7/4. The least common multiple of 3 and 4 is 12, so 7/3 = 28/12 and 7/4 = 21/12. Add the tops: 28 + 21 = 49, which gives 49/12. The top and bottom share no common factor, so it is already in lowest terms. As a mixed number, 49 ÷ 12 is 4 with 1 left over, so the answer is 4 1/12, or about 4.0833 as a decimal.

More examples

Adding unlike fractions. 1/2 + 1/3. The common denominator is 6, so you add 3/6 + 2/6 = 5/6, which is 0.8333 as a decimal.

Subtracting to a negative. 3/4 - 5/6. Over a denominator of 12 this is 9/12 - 10/12 = -1/12, about -0.0833. The answer is negative because 5/6 is the bigger fraction.

Multiplying mixed numbers. 1 1/2 × 2 2/3 becomes 3/2 × 8/3 = 24/6. Dividing top and bottom by 6 gives 4. Notice that a 3 on the top and a 3 on the bottom cancel, which is a good way to check the work.

Dividing. 3/4 ÷ 2/5 means 3/4 × 5/2 = 15/8. That is already in lowest terms, and as a mixed number it is 1 7/8, or 1.875.

Common mistakes

  • Adding the denominators. 1/2 + 1/3 is not 2/5. The pieces are different sizes, so rewrite both over 6 first and add only the numerators.
  • Forgetting to flip when dividing. You flip the second fraction, not the first, and then multiply. Flipping both gives the wrong answer.
  • Skipping the conversion of mixed numbers. Multiplying 1 1/2 × 2 2/3 as (1 × 2) and (1/2 × 2/3) does not work. Convert to improper fractions first.
  • Stopping before simplifying. 24/6 is correct but a teacher will expect 4. Always divide by the greatest common factor at the end.

When to use it

Fractions come up in recipes, where a cake needs 3/4 cup of flour and you want to make one and a half batches. They appear in carpentry and sewing, where measurements are cut to eighths and sixteenths of an inch, and in time, where a quarter of an hour is 15 minutes.

In school, fraction work leads straight into ratios, percentages, probability and algebra. Students use this calculator to check homework, to see where a step went wrong, and to learn the pattern by watching the same method applied to different numbers. Parents use it to check answers without having to redo the arithmetic from memory.

Read the guideFractions explained, one operation at a time7 min read

Common questions

How do I add fractions with different denominators?

Find a common denominator, usually the least common multiple of the two bottoms. Rewrite each fraction over that number, then add the tops and keep the bottom. For 1/2 + 1/3, the common denominator is 6, so the sum is 3/6 + 2/6 = 5/6.

Why do I flip the second fraction when dividing?

Dividing by a number is the same as multiplying by its reciprocal. Asking how many 2/5s fit into 3/4 is the same as multiplying 3/4 by 5/2. The flip turns a division that is hard to picture into a multiplication that is easy to do.

What does "lowest terms" mean?

A fraction is in lowest terms when the top and bottom have no common factor except 1. You get there by dividing both by their greatest common factor. 24/6 becomes 4/1, which is just 4, and 6/8 becomes 3/4.

How do I enter a mixed number?

Type the whole part in the first box, the numerator in the second and the denominator in the third. For 2 1/3, enter 2, 1 and 3. For a plain fraction such as 3/4, leave the whole part at 0.

What happens if the denominator is zero?

The calculator shows an error. A denominator of zero would mean cutting something into zero pieces, which has no meaning. Dividing by a fraction that equals zero, such as 0/5, is also not allowed.

Can I turn the answer into a decimal or percent?

The decimal appears on a result card and in the last step. To get a percent, multiply the decimal by 100. For 5/6, 0.8333 × 100 is about 83.3%. The percentage calculator on this site can check it.

You might also need

Need a quick calculation instead? The free scientific calculator on the homepage handles roots, powers, trig and logs, and the math guides explain each method step by step.