Fraction Calculator
Add, subtract, multiply and divide fractions, with the result simplified, as a decimal and as a mixed number.
What the fraction calculator does
Enter two fractions and an operation. The tool returns the answer in simplest form, as a decimal, and as a mixed number when the value is above one. For 1/2 + 1/3, the result is 5/6, or 0.833333.
Adding and subtracting
The denominators must match first. Multiply each numerator by the other fraction's denominator, add or subtract, and put the result over the product of the denominators: 1/2 + 1/3 = (1 × 3 + 1 × 2) ÷ 6 = 5/6. Using the least common denominator keeps the numbers smaller, but the final simplified answer is the same.
Multiplying
Multiply the numerators and multiply the denominators. 2/3 × 3/5 = 6/15, which simplifies to 2/5.
Dividing
Dividing by a fraction is the same as multiplying by its reciprocal, which is the fraction turned upside down. 3/4 ÷ 1/2 = 3/4 × 2/1 = 6/4 = 3/2, which is 1 1/2 as a mixed number.
Simplifying
Divide the top and bottom by their greatest common divisor. 6/15 has a GCD of 3, so it simplifies to 2/5. The calculator does this automatically.
Mixed numbers and improper fractions
An improper fraction has a numerator larger than its denominator. To convert to a mixed number, divide the numerator by the denominator: 7/4 is 1 with remainder 3, so it is 1 3/4. To go back, multiply the whole number by the denominator and add the numerator.
Common mistakes
Do not add the denominators, and do not forget that a denominator cannot be zero.
Worked example: Adding 3/8 and 5/12 and simplifying to lowest terms
Suppose you are combining two lumber or recipe measurements: 3/8 and 5/12:
- Step 1 — Find the least common denominator (LCD): Multiples of 8 are `8, 16, 24, 32`; multiples of 12 are `12, 24, 36`. The smallest common multiple is 24 (or multiply denominators `8 × 12 = 96` and simplify at the end).
- Step 2 — Convert both fractions to twenty-fourths: `3/8 = (3 × 3) / (8 × 3) = 9/24`, and `5/12 = (5 × 2) / (12 × 2) = 10/24`.
- Step 3 — Add numerators: `(9 + 10) / 24 = 19/24`. Because 19 is a prime number, `gcd(19, 24) = 1`, so 19/24 (`0.791667`) is already in lowest terms.
If you instead multiply `3/8 × 5/12`, multiply straight across to get `15/96`, then divide top and bottom by `gcd(15, 96) = 3` to get 5/32 (`0.15625`).
Limits and what this tool cannot do
- Two fractions per calculation: The calculator operates on a left fraction (`a/b`) and a right fraction (`c/d`). To add three or more fractions, take the simplified result of the first two and enter it as the first fraction for the next step.
- Convert mixed numbers (`2 3/4`) to improper fractions (`11/4`) on input: Enter whole-plus-fraction inputs as improper fractions (`(2 × 4 + 3) / 4 = 11/4`); the output automatically displays both the improper fraction and the mixed number whenever the result exceeds 1.
- Zero denominators are undefined: Division by zero (`a/0`, or dividing by a fraction whose numerator is `0`) is mathematically undefined and rejected.
Frequently asked questions
How do I add fractions with different denominators?
Convert them to a common denominator, then add the numerators.
How do I divide fractions?
Multiply by the reciprocal of the second fraction.
How do I turn a fraction into a decimal?
Divide the numerator by the denominator.
What if the denominator is zero?
The fraction is undefined. The calculator will warn you.
How do I enter a negative fraction?
Put a minus sign before the numerator, such as -3 in the top box and 4 in the bottom box for -3/4.
How do I enter a whole number like 5?
Enter 5 as the numerator and 1 as the denominator (5/1). Every whole number is a fraction over 1.
Why do we flip the second fraction when dividing fractions?
Dividing by a number is identical to multiplying by its reciprocal (`(a/b) ÷ (c/d) = (a/b) × (d/c)`). Multiplying by `d/c` clears the denominator fraction in one step.