How the fraction calculator works
A fraction has a top number (the numerator) and a bottom number (the denominator): 3/4 means 3 parts out of 4 equal parts. A mixed number such as 1 1/2 is a whole number plus a fraction. The calculator first turns mixed numbers into one fraction, then uses the rule for your operation.
Mixed to improper: a b/c = (a × c + b)/c
Add or subtract: same bottom number first, then a/d ± b/d = (a ± b)/d
Multiply: a/b × c/d = (a × c)/(b × d)
Divide: a/b ÷ c/d = a/b × d/c
To add or subtract, it uses the least common denominator: the smallest number both bottom numbers divide into. Any common bottom number gives the same answer, but the smallest one keeps the numbers small.
Then it simplifies: it divides the top and the bottom by their greatest common factor, so 18/12 becomes 3/2. Finally it shows the answer as a mixed number (3/2 = 1 1/2), as a decimal (top divided by bottom) and as a percent (the decimal times 100).
Exact decimals, even when they repeat
Many calculators round 1/3 to 0.3333 and stop. This one shows the exact decimal: digits that repeat forever have a line over them, so 1/3 = 0.3 and 13/6 = 2.16. A rounded value is shown next to it for everyday use. A fraction’s decimal ends only when its simplified bottom number is made of 2s and 5s (8 = 2 × 2 × 2, so 1/8 = 0.125); otherwise it repeats.
Worked examples
Adding a mixed number: 1 1/2 + 2/3
- 1 1/2 = (1 × 2 + 1)/2 = 3/2.
- The least common denominator of 2 and 3 is 6: 3/2 = 9/6 and 2/3 = 4/6.
- 9 + 4 = 13, so the sum is 13/6, already in simplest form.
- 13 ÷ 6 = 2 remainder 1, so 13/6 = 2 1/6 = 2.1666… ≈ 2.1667, or 216.67%.
A recipe: 3/4 cup of flour, made 2 1/2 times
- 2 1/2 = 5/2.
- 3/4 × 5/2 = (3 × 5)/(4 × 2) = 15/8.
- 15 ÷ 8 = 1 remainder 7: you need 1 7/8 cups (1.875 cups).
How many 3/8-inch spacers fit in 4 1/2 inches?
- 4 1/2 = 9/2.
- 9/2 ÷ 3/8 = 9/2 × 8/3 = 72/6.
- 72/6 simplifies to 12/1: exactly 12 spacers.
Common mistakes
- Adding the bottom numbers. 1/2 + 1/3 is 5/6, not 2/5. Only the top numbers are added, once the bottoms match.
- Flipping the wrong fraction. When dividing, flip the second fraction (the one you divide by), not the first.
- Forgetting the whole number. 2 1/3 × 3 is 7, not 6 1/3 or 2 1. Turn the mixed number into 7/3 first.
Good to know
- Negative fractions. Choose − in a fraction’s Sign menu. The minus sign applies to the whole mixed number: −1 1/2 means −(1 + 1/2) = −3/2.
- Mixed numbers in other countries. Schools in the US, Canada and Spanish-speaking countries use mixed numbers such as 2 1/6. Schools in France rarely do: the same answer is written 13/6 or 2 + 1/6. The French version writes it that way, with a decimal comma.
- Size limits. Each box takes a whole number up to 1,000,000. Answers are worked out exactly, however large they get.
To work with percentages directly, try the percentage calculator.
Frequently asked questions
How do you add fractions with different denominators?
Rewrite both fractions so they have the same bottom number, then add the top numbers. For 1/4 + 1/6, the least common denominator is 12: 1/4 = 3/12 and 1/6 = 2/12, so the sum is 5/12. Never add the bottom numbers: 1/4 + 1/6 is not 2/10.
How do you divide fractions?
Flip the second fraction upside down and multiply. 3/4 ÷ 1/2 is 3/4 × 2/1 = 6/4, which simplifies to 3/2, or 1 1/2. You can check it: 1/2 fits into 3/4 one and a half times.
How do I turn a mixed number into an improper fraction?
Multiply the whole number by the bottom number and add the top number; keep the same bottom number. 2 3/4 = (2 × 4 + 3)/4 = 11/4. The calculator does this step for you and shows it.
What does the line over the digits mean?
It marks digits that repeat forever. 1/3 = 0.333… is written 0.3 with a line over the 3, and 1/7 = 0.142857142857… has a line over 142857. Every fraction either ends (1/8 = 0.125) or repeats; it ends only when the simplified bottom number has no prime factors other than 2 and 5.
Is 2/4 the same as 1/2?
Yes. Both mean the same amount; 1/2 is the simplest form. To simplify, divide the top and the bottom by their greatest common factor: for 2/4 that is 2, so 2/4 = 1/2.
Can I enter a decimal such as 2.5?
Enter it as a mixed number instead: 2.5 is 2 and 1/2, so put 2 in Whole, 1 on top and 2 at the bottom. A decimal with more places works the same way: 0.375 is 375/1000, which the calculator simplifies to 3/8.
Sources
- OpenStax Prealgebra 2e (Rice University), 4.2: Multiply and Divide Fractions
- OpenStax Prealgebra 2e, 4.3: Multiply and Divide Mixed Numbers and Complex Fractions
- OpenStax Prealgebra 2e, 4.5: Add and Subtract Fractions with Different Denominators
Results are exact for the numbers you enter. Only the values marked “about” are rounded. Read the full disclaimer and how we check our formulas.