Fraction Calculator

Add, subtract, multiply or divide two fractions or mixed numbers and see the answer in lowest terms, as a mixed number, a decimal and a percentage, with the working shown. It is free, needs no sign-up and runs in your browser, so nothing you type is uploaded.

Fraction CalculatorPrivate · runs on your device
Your numbers
Results

Fill in the numbers on the left. Results update as you type.

How to use the fraction calculator

Each number is entered in three boxes, so a plain fraction, a mixed number and a whole number all use the same layout. The boxes start at 1/2 and 1/3, which gives you a working example straight away.

  1. Fill in the first number. Type its whole number in First number: whole part (leave it at 0 for a plain fraction), then the top in First: numerator and the bottom in First: denominator. For 2 1/3 enter 2, 1 and 3.
  2. Choose the Operation: Add, Subtract, Multiply or Divide.
  3. Fill in the second number with Second number: whole part, Second: numerator and Second: denominator.
  4. For a whole number such as 4, enter 4 as the whole part and 0 as the numerator, keeping the denominator at 1 or higher.
  5. Read the result: the simplified fraction, the mixed number, the decimal, the percentage and the greatest common divisor that was cancelled.
  6. Look at the working line underneath, which shows the common denominator used for adding and subtracting, or the flipped fraction used for dividing.

How each operation works

Adding and subtracting need both fractions over the same denominator. The calculator multiplies the denominators together, divides out what they share, rewrites each fraction over that common denominator and then combines the tops. Multiplying simply multiplies tops and bottoms. Dividing multiplies the first fraction by the second one turned upside down. Every answer is then reduced by dividing top and bottom by their greatest common divisor.

SumWorkingAnswer
1/2 + 1/33/6 + 2/6 = 5/65/6, or 0.8333, or 83.33%
1 1/2 × 2/33/2 × 2/3 = 6/61
2 1/3 - 5/614/6 - 5/6 = 9/6, divided by 33/2, or 1 1/2
1/2 ÷ 1/41/2 × 4/1 = 4/22

In the subtraction row, 2 1/3 first becomes the improper fraction 7/3, which is 14/6 over the common denominator. After subtracting, 9/6 has a greatest common divisor of 3, so it reduces to 3/2.

Mixed numbers, negatives and common mistakes

A whole part turns a fraction into a mixed number: whole 2, numerator 1 and denominator 3 means 2 1/3. When the whole part is not zero, the sign belongs to it, so enter -2 for minus 2 1/3 and read the numerator as a size only. When the whole part is 0, a negative numerator gives a negative fraction, and a negative denominator is moved to the top for you.

  • Do not add the denominators. 1/2 + 1/3 is 5/6, not 2/5.
  • In a division, only the second fraction is flipped. Flipping the first one gives a different answer.
  • An answer such as 9/6 is correct but unfinished. The calculator reports 3/2 and 1 1/2 instead.
  • A denominator of zero, or dividing by a second number that equals zero, is refused with a message rather than an answer.

To sanity-check a result, type the same sum into the scientific calculator and compare decimals. To turn the percentage into a share of a real amount, use the percentage calculator.

What this calculator does not do

The boxes take whole numbers only, and anything after a decimal point is ignored. To work with 0.75, write it as 75/100 and let the calculator reduce it to 3/4. If the intermediate numbers pass roughly nine quadrillion, the calculation is refused rather than rounded, because the arithmetic would stop being exact. Only two numbers are combined at a time, so for a longer sum feed each answer into the next calculation.

Everyday uses are mostly about scaling and splitting. A recipe that needs 3/4 of a cup, made one and a half times, is 0 3/4 multiplied by 1 1/2, which gives 9/8, shown as the mixed number 1 1/8. Cutting a 1 1/2 metre board into pieces of 3/4 of a metre is a division: 3/2 times 4/3 is 12/6, so you get exactly 2 pieces. Writing the working beside the answer makes it easy to check homework or a hand calculation line by line, and the percentage row helps when a fraction needs to be quoted as a share.

For a list of values the average calculator is a better fit, and if you need an amount spelled out for a document, try the number to words converter.

Quick answers

Frequently asked questions

The questions people ask most, answered in plain words.

How do I add fractions with different denominators?

Rewrite both fractions over a common denominator, then add the numerators and keep that denominator. For 1/2 + 1/3 the common denominator is 6, so the sum is 3/6 + 2/6 = 5/6. The calculator does this automatically, shows the working line and reduces the answer to simplest form.

How do I enter a mixed number like 2 1/3?

Put 2 in the whole part box, 1 in the numerator box and 3 in the denominator box. The calculator converts it to the improper fraction 7/3 before calculating. For a negative mixed number, make the whole part negative, because the sign is taken from the whole part whenever it is not zero.

Why is my answer a different fraction from my working?

It is most likely the same value in lowest terms. The calculator divides the top and bottom by their greatest common divisor, so 9/6 appears as 3/2, and it also shows the mixed number 1 1/2. The greatest common divisor row tells you exactly what was cancelled.

Can I type decimals into the fraction boxes?

No, the boxes accept whole numbers only and ignore anything after a decimal point. Convert a decimal first by writing it over a power of ten, so 0.75 becomes 75/100, and the calculator will reduce it to 3/4. Results are also shown as a decimal and a percentage.

What happens if I divide by zero or use a zero denominator?

The calculator refuses and shows a message instead of an answer. A denominator of zero does not describe a real fraction, and dividing by a number equal to zero has no result in arithmetic. Change the denominator or the second value to a non-zero number and the calculation will run.