Fraction Calculator

Enter two fractions below, choose an operation, and get the result instantly — simplified and shown as both a fraction and a decimal.

Result
—
—

How to Use the Fraction Calculator

Enter the numerator and denominator for each fraction in the input fields. Select the operation you want to perform: addition (+), subtraction (−), multiplication (×), or division (÷). Click "Calculate" to see the result displayed as a simplified fraction and its decimal equivalent. The result is always reduced to its simplest form using the greatest common divisor.

This fraction calculator is perfect for students learning fraction arithmetic, teachers preparing examples, and anyone who needs quick and accurate fraction calculations. Whether you are working on homework, solving recipe proportions, or performing engineering calculations, this tool gives you instant, simplified results.

How Fraction Operations Work

  • Addition (a/b + c/d): Find a common denominator by multiplying: (a×d + c×b) / (b×d), then simplify.
  • Subtraction (a/b − c/d): Same as addition but subtract: (a×d − c×b) / (b×d), then simplify.
  • Multiplication (a/b × c/d): Multiply straight across: (a×c) / (b×d), then simplify.
  • Division (a/b ÷ c/d): Multiply by the reciprocal: (a×d) / (b×c), then simplify.

Simplification with GCD

Every result is automatically simplified using the Euclidean algorithm to find the Greatest Common Divisor (GCD). The GCD of two numbers is the largest positive integer that divides both numbers without a remainder. For example, GCD(12, 8) = 4, so 12/8 simplifies to 3/2. The algorithm works by repeatedly replacing the larger number with the remainder of dividing it by the smaller number until the remainder is zero. This method is efficient even for very large numbers.

Common Fraction Conversions

FractionDecimalPercentage
1/20.550%
1/30.333…33.3%
1/40.2525%
2/30.666…66.7%
3/40.7575%
1/80.12512.5%

Why Simplify Fractions?

Simplified fractions are easier to understand, compare, and work with in further calculations. A fraction in its simplest form has no common factors between numerator and denominator other than 1. Simplification is essential in algebra, physics, and engineering where clean fractions make equations more readable and reduce calculation errors. This calculator handles the simplification automatically so you can focus on the math that matters.

Frequently Asked Questions

How does the calculator simplify fractions?

The calculator uses the Greatest Common Divisor (GCD) algorithm, also known as the Euclidean algorithm, to find the largest number that divides both the numerator and denominator evenly. It then divides both by this GCD to produce the simplest form. For example, 6/8 has a GCD of 2, so it simplifies to 3/4.

Can I enter mixed numbers?

Currently, the calculator accepts proper and improper fractions (where the numerator can be larger than the denominator). To convert a mixed number like 2⅓ to an improper fraction, multiply the whole number by the denominator and add the numerator: 2⅓ = (2×3+1)/3 = 7/3. Then enter 7 as the numerator and 3 as the denominator.

What happens if I divide by zero?

If the second fraction's numerator is zero when dividing (which would mean dividing by zero), the calculator displays an error message. Division by zero is undefined in mathematics. Similarly, entering zero as any denominator is treated as invalid input since fractions cannot have a zero denominator.