Fraction Calculator

Add, subtract, multiply or divide fractions and mixed numbers, with the answer in lowest terms and every step shown.

Fractions

First fraction

Up to 30 digits in each part. Fractions stay exact.

Second fraction

Up to 30 digits in each part. Fractions stay exact.

Operation

Use the whole box for mixed numbers, such as 1 3/4. Put a minus sign on the whole part, or on the numerator when there is no whole part.

Results

Answer in lowest terms
23/20
3/4 + 2/5, already in lowest terms
Mixed number
1 3/20
Whole number and a proper fraction
Decimal
1.15
Exact
Percent
115%
Exact

Picture it

First
Second
Answer

Working

  1. Common denominator: LCM(4, 5) = 20
  2. Scale up: 3/4 = 15/20 and 2/5 = 8/20
  3. Add the numerators: 15 + 8 = 23, giving 23/20
  4. 23/20 is already in lowest terms

The rules of fraction arithmetic

A fraction ab\frac{a}{b} means aa divided by bb, where the numerator aa counts parts and the denominator b≠0b \neq 0 says how many parts make a whole.

Adding and subtracting

Fractions can only be added once they share a denominator. The smallest one that works is the LCM of the two:

ab+cd=a⋅mb+c⋅mdm,m=lcm⁡(b,d)\frac{a}{b} + \frac{c}{d} = \frac{a \cdot \frac{m}{b} + c \cdot \frac{m}{d}}{m}, \quad m = \operatorname{lcm}(b, d)

Multiplying

No common denominator is needed. Multiply the tops and the bottoms:

ab×cd=a×cb×d\frac{a}{b} \times \frac{c}{d} = \frac{a \times c}{b \times d}

Dividing

Dividing by a fraction is the same as multiplying by its reciprocal:

ab÷cd=ab×dc=a×db×c\frac{a}{b} \div \frac{c}{d} = \frac{a}{b} \times \frac{d}{c} = \frac{a \times d}{b \times c}

Worked example: 3/4 + 2/5

These are the calculator's default fractions.

  1. The denominators are 4 and 5. Their LCM is 20, so both fractions become twentieths.
  2. 3/4 = (3 × 5)/(4 × 5) = 15/20, and 2/5 = (2 × 4)/(5 × 4) = 8/20.
  3. Add the numerators: 15/20 + 8/20 = 23/20.
  4. GCD(23, 20) = 1, so 23/20 is in lowest terms. As a mixed number it is 1 3/20, which is 1.15 or 115%.

Fractions in everyday use

  • Recipes: to make 1 1/2 times a recipe that needs 3/4 cup of milk, multiply: 3/2 × 3/4 = 9/8 = 1 1/8 cups.
  • Sharing: splitting 2/3 of a pizza between 4 people gives each 2/3 ÷ 4 = 1/6 of the pizza.
  • Measurements: a 5/8 inch board on top of a 3/4 inch board is 5/8 + 6/8 = 11/8 = 1 3/8 inches thick.

Frequently asked questions

How do you add or subtract fractions with different denominators?
Find a common denominator, ideally the least common multiple (LCM) of the two denominators. Scale each fraction up to it, add or subtract the numerators, keep the denominator, then simplify. For 3/4 + 2/5, the LCM of 4 and 5 is 20, so 15/20 + 8/20 = 23/20.
How do you multiply two fractions?
Multiply the numerators together and the denominators together, then simplify: (a/b) × (c/d) = (a × c)/(b × d). No common denominator is needed. 2/3 × 3/4 = 6/12 = 1/2.
How do you divide two fractions?
Keep the first fraction, flip the second (swap its numerator and denominator), and multiply: (a/b) ÷ (c/d) = (a/b) × (d/c) = (a × d)/(b × c). Dividing by 1/2 is the same as multiplying by 2.
What is the difference between an improper fraction and a mixed number?
An improper fraction has a numerator at least as big as its denominator, such as 7/4. A mixed number writes the same amount as a whole number and a proper fraction: 1 3/4. Both mean exactly the same value.
Why can a denominator never be 0?
A fraction a/b means a divided by b, and division by 0 has no answer: there is no number that gives a when multiplied by 0. So a fraction with 0 underneath is undefined.
Why do some fractions give repeating decimals?
A fraction in lowest terms ends as a decimal only when its denominator has no prime factors other than 2 and 5. Any other prime, such as 3 in 1/3 or 7 in 1/7, makes the digits repeat forever. This calculator shows the repeating part in brackets: 1/6 = 0.1(6).
Esc