Math Calculator

Fraction Calculator

Add, subtract, multiply or divide two fractions and get the answer reduced to its simplest form, plus its decimal value.

Maintained by Kumara Samigari LokeshMethod: exact integer arithmetic, then reduce by the greatest common divisorMethods and limitations

What this calculator does

Enter two fractions as whole-number numerators and denominators, choose an operation, and the calculator returns the result in lowest terms and as a decimal. It uses exact whole-number arithmetic, so there are no rounding errors in the fraction itself.

Rules used

Add: a/b + c/d = (a×d + c×b) ÷ (b×d)

Subtract: a/b − c/d = (a×d − c×b) ÷ (b×d)

Multiply: a/b × c/d = (a×c) ÷ (b×d)

Divide: a/b ÷ c/d = (a×d) ÷ (b×c)

The result is then divided top and bottom by their greatest common divisor (GCD) to reach simplest form.

Worked examples

  • 1/2 + 1/3 = (1×3 + 1×2) ÷ (2×3) = 5/6, decimal 0.833333
  • 3/4 ÷ 2/5 = (3×5) ÷ (4×2) = 15/8, decimal 1.875 (as a mixed number, 1 7/8)
  • 2/6 × 3/4 = 6/24, which simplifies to 1/4 because the GCD of 6 and 24 is 6

Working with mixed numbers and negatives

Convert mixed numbers to improper fractions first: 2½ becomes (2×2 + 1)/2 = 5/2. For a negative fraction, put the minus sign on the numerator, for example −3 over 4. The calculator accepts negative whole numbers in either box. Denominators cannot be zero, and you cannot divide by a fraction whose numerator is zero.

Why simplify?

Simplest form makes fractions easy to compare and is what exams usually expect. 6/24 and 1/4 are equal, but 1/4 is far easier to read. To simplify by hand, find the largest number that divides both the numerator and denominator, and divide both by it.

Common mistakes

  • Adding numerators and denominators directly: 1/2 + 1/3 is not 2/5.
  • Forgetting to flip the second fraction when dividing.
  • Entering a mixed number like 1 1/2 into one box instead of converting to 3/2.

FAQs

How do you add fractions with different denominators?

Multiply each numerator by the other fraction’s denominator, add, and put the sum over the product of the denominators. Then simplify.

How do I enter a mixed number?

Convert it to an improper fraction first: whole × denominator + numerator, over the denominator.

Can I use decimals?

No. Enter whole numbers only; convert decimals to fractions first, for example 0.25 = 1/4.

Why is the decimal shown to six places?

Many fractions have repeating decimals, so the decimal is rounded for display. The fraction is exact.

Can it handle negative fractions?

Yes. Enter a negative numerator.