Fraction Calculator
Works with plain fractions and mixed numbers. The arithmetic is done with whole numbers throughout, so results are exact rather than rounded decimals.
How fraction arithmetic works
Every operation here is done in whole numbers and only converted to a decimal at the very end. That matters: a computer adding 1/3 + 1/3 + 1/3 as decimals gets 0.9999999999999999, while adding them as fractions gets exactly 1.
| Operation | Rule | Example |
|---|---|---|
| Add | Put both over a common denominator, then add the numerators | 1/2 + 1/3 = 3/6 + 2/6 = 5/6 |
| Subtract | Same, then subtract | 3/4 − 1/4 = 1/2 |
| Multiply | Multiply across the top and across the bottom | 2/3 × 3/5 = 6/15 = 2/5 |
| Divide | Flip the second fraction, then multiply | 1/2 ÷ 1/4 = 1/2 × 4/1 = 2 |
How to add fractions by hand
- Find a common denominator. Multiplying the two denominators always works; the lowest common multiple keeps the numbers smaller.
- Rewrite both fractions over that denominator, scaling each numerator by the same factor you used on its denominator.
- Add or subtract the numerators and leave the denominator alone.
- Simplify by dividing the top and bottom by their greatest common divisor.
Multiplication and division skip step one entirely, which is why they are the easier pair despite feeling harder at school.
Mixed numbers
A mixed number like 2 ½ is shorthand for 2 + ½. Before any arithmetic it becomes an improper fraction: multiply the whole number by the denominator and add the numerator, so 2 ½ becomes 5/2.
The sign lives with the whole number. −2 ½ means −(2 + ½) = −5/2, not −2 + ½. This calculator follows that convention, which is the standard one.
2 ½ ÷ ¾
2 ½ becomes 5/2. Flip ¾ to 4/3 and multiply: 5/2 × 4/3 = 20/6, which simplifies to 10/3 — or 3 ⅓ as a mixed number, 3.333… as a decimal.
Simplifying, and why the answer sometimes looks different
Every result is reduced to its lowest terms using the greatest common divisor. 6/15 and 2/5 are the same number, but 2/5 is the conventional way to write it, so that is what you get.
When the result is an improper fraction — the top bigger than the bottom — both forms are shown. Improper fractions are what you want for further calculation; mixed numbers are what you want for a recipe or a tape measure.
A zero denominator is refused rather than silently ignored: a fraction with nothing on the bottom is undefined, not zero. Dividing by a fraction that equals zero is refused for the same reason.
Where fractions still matter
- Cooking: halving or tripling a recipe that calls for ¾ cup.
- Construction and woodworking: imperial measurements are fractions of an inch, and 3/16 + 5/8 is a daily calculation.
- School maths: homework where the answer must be an exact fraction, not a decimal.
- Music: note lengths, time signatures and tuplets.
- Probability: odds are naturally fractions, and rounding them early loses accuracy.
Frequently asked questions
How do I add fractions with different denominators?
What is an improper fraction?
How do I turn a decimal into a fraction?
Can I use negative fractions?
Why does the calculator refuse a denominator of zero?
Does it handle decimals in the input boxes?
Related calculators
- Percentage Calculator Six percentage calculations in one place, each with the formula and the steps. Math
- Square Footage Calculator Area of rooms, lots and odd shapes in square feet and square meters. Construction
- Aspect Ratio Calculator Ratio from two dimensions, or the missing dimension from a ratio. Design & Tech
- Percentage Increase Calculator Measure the increase or decrease between two values, in either direction. Math