Free online tools
English EN, Choose a language

Fraction calculator

Add, subtract, multiply or divide fractions and mixed numbers. Get the simplified answer, mixed number, decimal and every step.

Type 3/4, a mixed number like 2 1/3 (space between), a negative like -5/6, a whole number or a decimal.

Answer

—

Type two fractions to see the answer.

Runs in your browser. Nothing you type is sent.

Related tools

All calculators →

How to use the fraction calculator

  1. Type the first number. A fraction is written with a slash (3/4), a mixed number with a space between the whole part and the fraction (1 1/2), and a negative number with a minus sign in front (-5/6). Whole numbers and decimals such as 0.25 work too.
  2. Pick the operation: add, subtract, multiply or divide.
  3. Type the second number. The answer updates as you type.

The result is always shown in lowest terms, with the mixed number, the decimal and the percent next to it. Under the result you get the working, step by step, and a table with all four operations on the same two numbers, which is handy when checking homework. The arithmetic uses exact whole numbers rather than floating point, so 1/3 + 1/3 + 1/3 is exactly 1, not 0.9999999. Nothing you type leaves your browser.

Adding and subtracting fractions

Fractions can only be added or subtracted when they have the same denominator (the bottom number). The calculator finds the least common denominator, which is the least common multiple of the two denominators, rewrites both fractions over it, then adds or subtracts the numerators. For the default example:

  1. Write as a fraction: 1 1/2 = 3/2.
  2. Find a common denominator: the least common multiple of 2 and 4 is 4, so 3/2 = 6/4 and 3/4 = 3/4.
  3. Combine the numerators over the common denominator: (6 + 3) / 4 = 9/4.
  4. 9/4 is already in lowest terms: the top and bottom share no factor except 1.
  5. As a mixed number: 9/4 = 2 1/4.

So 1 1/2 + 3/4 = 9/4 (or 2 1/4 as a mixed number). Subtraction works the same way. For 5/6 − 1/4 the least common denominator is 12:

  1. Find a common denominator: the least common multiple of 6 and 4 is 12, so 5/6 = 10/12 and 1/4 = 3/12.
  2. Combine the numerators over the common denominator: (10 − 3) / 12 = 7/12.
  3. 7/12 is already in lowest terms: the top and bottom share no factor except 1.

Using the least common denominator keeps the numbers small. Any common denominator gives the right answer (6 × 4 = 24 would also work), but you would have to simplify more at the end. The LCM calculator shows how the least common multiple is found.

Multiplying and dividing fractions

Multiplication needs no common denominator: multiply the numerators together and the denominators together, then simplify.

  1. Multiply the numerators and the denominators: (2 × 9) / (3 × 10) = 18/30.
  2. Simplify: the greatest common factor of top and bottom is 6, so 18/30 = 3/5.

To divide, flip the second fraction (take its reciprocal) and multiply. The rule is often remembered as “keep, change, flip”.

  1. Dividing by 1/8 is the same as multiplying by its reciprocal, 8.
  2. Multiply the numerators and the denominators: (3 × 8) / (4 × 1) = 24/4.
  3. Simplify: the greatest common factor of top and bottom is 4, so 24/4 = 6.

The answer 6 says that 1/8 fits into 3/4 exactly six times. Dividing by a fraction smaller than 1 always makes the answer bigger, which surprises many people the first time.

Mixed numbers and negative fractions

A mixed number such as 2 1/3 is a whole number plus a fraction. Before doing any arithmetic the calculator turns it into an improper fraction: multiply the whole part by the denominator and add the numerator, so 2 1/3 = (2 × 3 + 1)/3 = 7/3. Here is a subtraction whose answer is negative:

  1. Write as a fraction: 2 1/3 = 7/3 and 3 1/2 = 7/2.
  2. Find a common denominator: the least common multiple of 3 and 2 is 6, so 7/3 = 14/6 and 7/2 = 21/6.
  3. Combine the numerators over the common denominator: (14 − 21) / 6 = −7/6.
  4. −7/6 is already in lowest terms: the top and bottom share no factor except 1.
  5. As a mixed number: −7/6 = −1 1/6.

Result: 2 1/3 − 3 1/2 = −7/6 (or −1 1/6 as a mixed number). Keep the minus sign on the whole mixed number: −1 1/6 means −(1 + 1/6), not −1 + 1/6.

Decimals are converted exactly too. 0.25 becomes 25/100 = 1/4, so 1/4 + 1/3 = 7/12. If you need the reverse, the decimal to fraction calculator and the fraction to decimal calculator show every step.

Simplifying fractions to lowest terms

A fraction is in lowest terms when the numerator and denominator have no common factor other than 1. To simplify, divide both by their greatest common factor (GCF). For example 18/24: the GCF of 18 and 24 is 6, so 18/24 = 3/4. The calculator always shows the unsimplified result as a stat when a simplification step happened, so you can compare it with your own working. The GCF calculator lists the factors of both numbers if you want to see where the 6 comes from.

FractionGCFLowest termsDecimal
2/421/20.5
6/823/40.75
9/1233/40.75
10/1552/30.666…
18/2463/40.75
35/5057/100.7

Common fraction mistakes

Related calculators and converters

Fraction calculator FAQ

How do you add fractions with different denominators?

Find the least common denominator, rewrite both fractions over it, then add the numerators. 1 1/2 + 3/4 becomes 6/4 + 3/4 = 9/4, which is 2 1/4.

How do you divide fractions?

Multiply the first fraction by the reciprocal of the second. 3/4 ÷ 1/8 = 3/4 × 8/1 = 24/4 = 6.

How do I enter a mixed number?

Type the whole number, a space, then the fraction: 2 1/3. For a negative mixed number put the minus sign first: -2 1/3.

Can I use decimals in the fraction calculator?

Yes. A decimal like 0.25 is turned into the exact fraction 1/4 before the calculation, so the answer stays exact.

What does lowest terms mean?

The numerator and denominator share no factor other than 1. Divide both by their greatest common factor to get there, for example 18/24 = 3/4.

Why is the answer shown as an improper fraction?

An improper fraction such as 9/4 is easier to use in further calculations. The mixed number (2 1/4), decimal and percent are shown right under it.

Is the answer rounded?

No. The calculator works with exact whole numbers, so fraction answers are exact. Only the decimal is cut off when it repeats forever, and then it ends in “…”.

Missing something in the fraction calculator?Suggest an idea. It takes 20 seconds and we read every one.Suggest an idea

Sends only what you type here, never the text you work with. Your email is used only to reply about this idea.

Free online tools