Fraction Calculator
Add, subtract, multiply or divide fractions and mixed numbers, with every step shown. Switch to Advanced to simplify, convert decimals and percents, compare fractions or type a long sum.
The left box is for a whole number (leave it empty for a plain fraction). Use a minus sign for negatives, like −1 1/2.
Write fractions as 3/4 and mixed numbers as 1 1/2. Brackets, powers (^), % and “of” work. × and ÷ are done before + and −.
For 0.1666… type 0.1 and repeating 6, or type 0.1(6) in the number box.
“Nearest 1/16” rounds to tape-measure fractions. “Closest with bottom up to …” finds the best simple fraction.
Separate with commas. Mixed numbers (1 1/2), decimals and percents work too.
Exact shows repeating digits with a line over them, like 0.16.
How your answer is worked out
Your numbers, step by step: common bottom, work out the tops, then simplify.
- 1
Make them improper
1 1/2 = 3/2second: 5/63/2 + 5/6
- 2
Common bottom
LCD(2, 6) = 63/2 = 9/65/6 = 5/6
- 3
Add the tops
9 + 5= 14= 14/6
- 4
Simplify
GCD(14, 6) = 2÷ 2 top and bottom= 7/3 = 2 1/3
Read more: the formula, a worked example, repeating decimals and tips
A fraction is a top number (the numerator) over a bottom number (the denominator): 3/4 means 3 parts out of 4 equal parts. To add or subtract fractions, the parts must be the same size, so you first give them a common bottom. To multiply, you multiply straight across. To divide, you flip the second fraction and multiply. At the end you divide the top and bottom by their greatest common divisor (GCD) to get the simplest form.
The formula
mixed number w n/d = (w × d + n) / d
a/b + c/d = (a × L ÷ b + c × L ÷ d) / L, where L = lowest common denominator of b and d
a/b − c/d = (a × L ÷ b − c × L ÷ d) / L
a/b × c/d = (a × c) / (b × d)
a/b ÷ c/d = a/b × d/c
simplest form = (top ÷ GCD) / (bottom ÷ GCD)
Worked example
1 1/2 + 5/6. First turn the mixed number into an improper fraction: 1 1/2 = (1 × 2 + 1)/2 = 3/2. The lowest common denominator of 2 and 6 is 6, so 3/2 = (3 × 3)/(2 × 3) = 9/6. Now add the tops: 9/6 + 5/6 = 14/6. The GCD of 14 and 6 is 2, so 14/6 = (14 ÷ 2)/(6 ÷ 2) = 7/3. As a mixed number, 7 ÷ 3 = 2 remainder 1, so it is 2 1/3. As a decimal it is 2.333… (the 3 repeats for ever), which is 233.33%.
Finding the GCD (Euclid’s method)
Divide the bigger number by the smaller and keep the remainder. Then divide the smaller number by that remainder, and repeat until the remainder is 0. The last number you divided by is the GCD. For 12/16: 16 = 1 × 12 + 4, then 12 = 3 × 4 + 0, so the GCD is 4 and 12/16 = 3/4. The lowest common denominator of two bottoms is their product divided by their GCD: for 4 and 6 it is 24 ÷ 2 = 12.
Decimals and repeating decimals to fractions
A decimal that stops goes over 1 followed by as many zeros as it has decimal places: 0.375 = 375/1000 = 3/8 (the GCD is 125). For a repeating decimal, call it x and shift it so the repeats line up. For 0.1666…: 100x = 16.666… and 10x = 1.666…, so 90x = 15 and x = 15/90 = 1/6. In Advanced, type 0.1(6) or put 6 in the repeating box. A percent is a number over 100: 37.5% = 37.5/100 = 3/8.
Rounding to tape-measure fractions
To round a decimal to the nearest 1/16 (common on imperial rulers and drill bits), multiply by 16, round to a whole number and put it over 16: 0.37 × 16 = 5.92, which rounds to 6, and 6/16 = 3/8. The “Closest with bottom up to …” option finds the nearest fraction with a small bottom: 3.14159265 is closest to 22/7 with a bottom up to 10 and 311/99 with a bottom up to 100.
Comparing fractions
Give them all the same bottom and compare the tops. For 1/2, 3/5 and 2/3 the lowest common denominator is 30: 15/30, 18/30 and 20/30, so 1/2 < 3/5 < 2/3. For just two fractions you can cross-multiply: 1/2 vs 2/3 compares 1 × 3 = 3 with 2 × 2 = 4, so 1/2 is smaller.
Typing a long sum
- A fraction typed with no spaces round the slash, like 1/2, counts as one number, so 6 ÷ 1/2 = 12.
- A slash with spaces round it divides in order: 6 / 1 / 2 = 3.
- Write mixed numbers with a space: 2 1/4. Negative numbers: −3/4.
- Powers: (2/3)^2 = 4/9, and 2^−1 = 1/2. Percent: 50% of 3/4 = 3/8.
- The working shows each step in the order it is done: brackets, then powers, then × and ÷, then + and −.
Common fractions
| Fraction | Decimal | Percent |
|---|---|---|
| 1/2 | 0.5 | 50% |
| 1/3 | 0.333… | 33.33% |
| 2/3 | 0.666… | 66.67% |
| 1/4 | 0.25 | 25% |
| 3/4 | 0.75 | 75% |
| 1/5 | 0.2 | 20% |
| 1/6 | 0.1666… | 16.67% |
| 1/8 | 0.125 | 12.5% |
| 3/8 | 0.375 | 37.5% |
| 5/8 | 0.625 | 62.5% |
| 7/8 | 0.875 | 87.5% |
| 1/16 | 0.0625 | 6.25% |
All answers are exact: the calculator works with whole numbers of any size (up to 3,000 digits), so there are no rounding errors until you choose a number of decimal places.
Common questions
How do I add fractions with different denominators?
Find the lowest common denominator, rewrite each fraction over it and add the tops. For 1 1/2 + 5/6, 1 1/2 is 3/2, which is 9/6, and 9/6 + 5/6 = 14/6. That simplifies to 7/3, or 2 1/3 as a mixed number.
How do I simplify a fraction?
Divide the top and bottom by their greatest common divisor. For 12/16 the GCD is 4, so 12/16 = 3/4. Euclid's method finds the GCD: divide the bigger number by the smaller, keep the remainder and repeat until the remainder is 0.
How do I divide fractions?
Flip the second fraction and multiply, so a/b ÷ c/d becomes a/b × d/c. Multiply the tops together and the bottoms together, then simplify. Typed with no spaces round the slash, 6 ÷ 1/2 = 12. With spaces round it, 6 / 1 / 2 = 3, because it divides in order.
How do I turn a decimal into a fraction?
Put the decimal over 1 followed by as many zeros as it has decimal places, then simplify: 0.375 = 375/1000 = 3/8. Repeating decimals work too, so 0.1666… is 1/6. In Advanced, type 0.1(6) or use the repeating box. A percent is a number over 100.
How do I convert a mixed number to an improper fraction?
Multiply the whole number by the bottom, add the top and keep the same bottom. 1 1/2 becomes (1 × 2 + 1)/2 = 3/2. To go back, divide: 7 ÷ 3 = 2 remainder 1, so 7/3 is 2 1/3.
How do I compare fractions?
Give them all the same bottom and compare the tops. For 1/2, 3/5 and 2/3 the lowest common denominator is 30, giving 15/30, 18/30 and 20/30, so 1/2 is the smallest and 2/3 is the largest. For just two fractions you can cross-multiply instead.
Related calculators
Made by Zulu Calculator, part of AlphaZulu LLC. Formulas are shown in full and rule figures are checked against official sources; see how we build calculators.