Fraction calculator
The arithmetic stays in whole numbers from start to finish. Nothing is converted to a decimal along the way, so 1/10 + 1/5 is exactly 3/10 rather than 0.30000000000000004.
Result
- Result
- 3/10
- As a decimal
- 0.3
- Simplified inputs
- 1/10 · 1/5
How this is calculated
Addition and subtraction put both fractions over a common denominator first. Multiplication needs no common denominator at all. Division multiplies by the reciprocal — flipping the second fraction — which is why dividing by a fraction smaller than one makes the answer bigger.
- numerator
- — the number on top: how many parts you have
- denominator
- — the number underneath: how many parts make a whole
- lowest terms
- — numerator and denominator divided by their greatest common divisor
Worked example
Take 1/10 + 1/5. Put both over ten: 1/10 + 2/10 = 3/10. That is exact. A calculator working in decimals would compute 0.1 + 0.2 and return 0.30000000000000004, because neither tenth can be written exactly in binary. The difference is invisible once, and accumulates once you add a column of them — which is the whole reason to keep fractions as fractions.
How to use it
- Enter each fraction as a numerator over a denominator. Whole numbers go in as something over 1.
- Pick the operation. The result is reduced to lowest terms automatically.
- Improper results are also shown as a mixed number, and as a decimal for comparison.
Limitations and assumptions
- Numerators and denominators must be whole numbers. A fraction of a fraction needs to be rewritten first — 0.5/2 is 1/4.
- The arithmetic is exact only while the intermediate values stay within the safe integer range. Very large denominators are refused rather than silently losing precision, which would defeat the purpose.
- Two fractions at a time. For a longer chain, feed each result back in as the first fraction.
- The decimal shown alongside is for convenience and is subject to the usual rounding; the fraction is the exact answer.
Questions
How do I add fractions with different denominators?
Rewrite both over a common denominator, then add the numerators. Multiplying the two denominators always gives a valid common one, though not always the smallest; reducing at the end tidies that up.
Why does dividing by a fraction make the number bigger?
Because dividing by a half asks how many halves fit in the number, and the answer is twice as many as there are wholes. Dividing by a/b is the same as multiplying by b/a.
What is an improper fraction?
One where the numerator is larger than the denominator, like 7/4. It is perfectly valid; a mixed number such as 1 3/4 is the same value written differently, and both are shown here.
Related calculators
This page has not yet had an editorial review.
