Fraction calculator

Add, subtract, multiply and divide fractions and mixed numbers. You get a simplified fraction, a mixed number and a decimal, with every step shown.

First fraction
Operation
Second fraction

Result

Your result will appear here.

How to use the fraction calculator

  1. For each fraction, type the whole number, the top number and the bottom number. Leave the whole number empty for a plain fraction such as 3/4, or leave the top and bottom empty for a whole number.
  2. Press ± above a fraction to make it negative.
  3. Choose +, −, × or ÷. The answer appears as soon as both fractions are filled in.
  4. Open How we worked this out to see each step, including how the answer was simplified.

The formula

The calculator turns each mixed number into an improper fraction, does the sum, and then simplifies. Everything uses exact whole-number maths.

  • Add or subtract: give both fractions the same bottom number, then add or subtract the top numbers.
  • Multiply: multiply the top numbers together and the bottom numbers together.
  • Divide: flip the second fraction, then multiply.
  • Simplify: divide the top and bottom by their greatest common divisor, which is the biggest number that goes into both.

Here is a worked example, 1 1/2 + 2 3/4:

  • As improper fractions these are 3/2 and 11/4.
  • Give them the same bottom number: 6/4 and 11/4.
  • Add the top numbers: 17/4.
  • Written as a mixed number, that is 4 1/4, or 4.25 as a decimal.

A few more: 5/6 − 1/4 = 10/12 − 3/12 = 7/12. And 2/3 × 3/5 = 6/15, which simplifies to 2/5. And 3/4 ÷ 3/8 = 3/4 × 8/3 = 24/12 = 2.

What your result means

You get the answer three ways. The simplified fraction is the exact answer in its lowest terms. The mixed number shows up when the answer is bigger than 1, so 17/4 is also written 4 1/4. The decimal is handy for measuring or money, and it shows up to 10 significant digits.

A negative fraction shows a minus sign in front, and the bottom number is always positive. If the top number is as large as the bottom, as in 10/10, we point out that this is the same as one whole.

If you are checking homework, compare your steps with the working box, not only the final answer.

Limits and cautions

  • Whole numbers and top numbers can be from 0 to 9,999. Bottom numbers can be from 1 to 9,999.
  • A bottom number of 0 is not allowed. The calculator says the bottom number can’t be 0.
  • Dividing by a fraction that is zero, such as 0/5, shows Can’t divide by zero.
  • The decimal is rounded to 10 significant digits for display, but the fraction is always exact.
  • Use the ± button for negative numbers. Type the other boxes without a minus sign.

Frequently asked questions

How do I add fractions with different bottom numbers?

First give both fractions the same bottom number, called a common denominator. For 1/2 + 1/3, use 6: 3/6 + 2/6. Then add the top numbers to get 5/6. The calculator does this for you, and the working box shows each step, so you can follow it or check your own homework.

How do I simplify a fraction?

Divide the top and bottom by the biggest number that goes into both of them. For 18/24, that number is 6, which gives 3/4. The calculator always gives the answer in its simplest form. It finds that number using a method called the greatest common divisor, and the working box shows it.

How do I enter a mixed number?

Type the whole number in the first box, then the top and bottom numbers in the other two. For 2 3/4, enter 2, 3 and 4. For a plain fraction such as 3/4, leave the whole number box empty. For a whole number on its own, fill in the first box and leave the other two empty.

How do I divide by a fraction?

Flip the second fraction upside down, then multiply. So 3/4 ÷ 3/8 becomes 3/4 × 8/3, which is 24/12, or 2. The working box shows the flip. You cannot divide by a fraction that equals zero, such as 0/5, and the calculator tells you if you try.

Why does it also show a decimal?

Fractions and decimals are two ways to write the same number, and sometimes one is easier to use. The decimal shows up to 10 significant digits, so 1/3 appears as 0.3333333333. The fraction itself is always exact, because we work with whole numbers and never round along the way.

Sources