Fraction Calculator
Exact fraction arithmetic - no decimal rounding. Results are reduced to lowest terms and shown as a decimal alongside.
Last updated: August 2026 · Written and verified by Akash Pandey
Calculate with two fractions
Result
This runs the same calculation engine as the main scientific calculator, entirely in your browser. Nothing you type is sent anywhere.
The four rules
Adding and subtracting
Fractions can only be added when they are cut into the same size pieces, so both must first be rewritten over a common denominator. Multiplying each fraction by the other's denominator always achieves that:
a/b + c/d = (a×d + c×b) / (b×d)
- Subtraction is identical with a minus sign:
a/b − c/d = (a×d − c×b) / (b×d). b×dis a common denominator, not always the lowest one - which is why the result usually needs reducing afterwards.
Multiplying
Multiplication needs no common denominator at all. Multiply straight across the top and straight across the bottom:
a/b × c/d = (a×c) / (b×d)
Dividing
Dividing by a fraction is the same as multiplying by its reciprocal - flip the second fraction and multiply. This works because dividing by c/d asks "how many lots of c/d fit in?", which is the same as scaling by d/c.
a/b ÷ c/d = a/b × d/c = (a×d) / (b×c)
Worked examples
Add 1/2 and 1/3
1/2 + 1/3
- Find a common denominator:
2 × 3 = 6. - Rewrite both:
1/2 = 3/6and1/3 = 2/6. - Add the numerators only:
3 + 2 = 5, keeping the denominator 6. - Check whether it reduces - 5 and 6 share no factor, so it is already in lowest terms.
= 5/6
- Find a common denominator:
Subtract 5/6 from 3/4
3/4 − 5/6
- Common denominator:
4 × 6 = 24. - Rewrite:
3/4 = 18/24,5/6 = 20/24. - Subtract:
18 − 20 = −2, giving−2/24. - Reduce by their greatest common divisor, 2:
−1/12.
= −1/12
- Common denominator:
Multiply 2/3 by 3/8
2/3 × 3/8
- Multiply the numerators:
2 × 3 = 6. - Multiply the denominators:
3 × 8 = 24. - That gives
6/24; the greatest common divisor of 6 and 24 is 6. - Reduce:
6 ÷ 6 = 1and24 ÷ 6 = 4.
= 1/4
- Multiply the numerators:
Divide 3/4 by 2/5
3/4 ÷ 2/5
- Flip the second fraction:
2/5becomes5/2. - Change the division to multiplication:
3/4 × 5/2. - Multiply across:
(3×5) / (4×2) = 15/8. - 15 and 8 share no common factor, so this is final. As a mixed number it is 1⅞.
= 15/8
- Flip the second fraction:
Reducing to lowest terms
A fraction is in lowest terms when its numerator and denominator share no common factor above 1. To reduce, divide both by their greatest common divisor (GCD). The GCD is found with the Euclidean algorithm: repeatedly replace the larger number with the remainder of dividing it by the smaller, until the remainder is zero.
- To reduce
84/126, first findgcd(84, 126). 126 mod 84 = 42.84 mod 42 = 0, so the GCD is 42.- Divide both parts:
84 ÷ 42 = 2,126 ÷ 42 = 3. - The reduced fraction is
2/3.
Fraction, decimal and percentage equivalents
| Fraction | Decimal | Percentage |
|---|---|---|
| 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% |
| 1/10 | 0.1 | 10% |
| 1/16 | 0.0625 | 6.25% |
That last point is worth dwelling on. 1/8 terminates because 8 = 2³. 1/3 does not, because 3 is neither 2 nor 5. This is a property of base 10, not of the fraction - in base 3, one third would be a clean 0.1. The same logic in base 2 is exactly why 0.1 + 0.2 misbehaves in binary floating point.
Frequently Asked Questions
How do you add fractions with different denominators?
Rewrite both over a common denominator first. Multiplying each fraction by the other's denominator always works: a/b + c/d = (a×d + c×b)/(b×d). Then add the numerators, keep the denominator, and reduce.
Why do you flip the second fraction when dividing?
Dividing by a number is the same as multiplying by its reciprocal. Dividing by c/d asks how many lots of c/d fit into the first fraction, which is the same as scaling it by d/c.
What does "lowest terms" mean?
A fraction is in lowest terms when the numerator and denominator have no common factor greater than 1. 6/24 reduces to 1/4 because both divide by 6.
Can this calculator handle negative fractions?
Yes. Enter the minus sign on the numerator. The result keeps the sign on the numerator and the denominator is always shown positive, which is the standard convention.
Why does this give exact answers when the main calculator does not?
This tool keeps numerators and denominators as whole numbers all the way through, so no rounding ever happens. The main calculator works in binary floating point, where 1/3 cannot be stored exactly. For fraction work the exact route is the right one.
Which fractions turn into terminating decimals?
Only those whose reduced denominator factors into 2s and 5s alone - the prime factors of 10. So 1/8 and 3/20 terminate, while 1/3, 1/6 and 1/7 repeat forever.
How do I convert a decimal to a fraction?
Count the decimal places, put the digits over 1 followed by that many zeros, then reduce. For example, 0.75 = 75/100 = 3/4. The calculator above does this automatically.
Can I multiply a fraction by a whole number?
Yes. Treat the whole number as a fraction with denominator 1, then multiply straight across: a/b × c = (a×c)/b. For example, 3/5 × 4 = 12/5 = 2.4.