dopecalc

Fraction Calculator

Add, subtract, multiply, or divide two fractions. Results are simplified and shown both as a simplified fraction and as a decimal.

Fraction 1

Fraction 2

About this Calculator

Add, subtract, multiply, or divide two fractions. Results are simplified and shown both as a simplified fraction and as a decimal.

Formula & Calculations

Formula

a/b ± c/d = (ad ± bc)/bd, a/b × c/d = ac/bd, a/b ÷ c/d = ad/bc
Where:
  • numerator=The top number of a fraction
  • denominator=The bottom number of a fraction (cannot be zero)
  • GCD=Greatest Common Divisor used to simplify fractions

Assumptions

  • Denominators cannot be zero.
  • Fractions are simplified to lowest terms using the Euclidean algorithm for GCD.
  • Improper fractions are displayed as-is; mixed numbers are not converted.

Calculation Examples

Example 1

Inputs:1/2 + 1/3
Result:5/6 ≈ 0.8333

Find LCD of 2 and 3 = 6. Convert: 3/6 + 2/6 = 5/6.

Example 2

Inputs:3/4 × 2/5
Result:3/10 = 0.3

Multiply numerators (3×2=6) and denominators (4×5=20) → 6/20, simplified by GCD 2 to 3/10.

Example 3

Inputs:7/8 ÷ 3/4
Result:7/6 ≈ 1.1667

Multiply by reciprocal: 7/8 × 4/3 = 28/24, simplified by GCD 4 to 7/6.

Frequently Asked Questions

How do you simplify a fraction?

Find the Greatest Common Divisor (GCD) of the numerator and denominator, then divide both by the GCD. For example, 8/12 → GCD is 4 → 2/3.

What is a common denominator?

When adding or subtracting fractions, you need a common denominator. The least common denominator (LCD) is the least common multiple of both denominators. Convert each fraction to an equivalent fraction with the LCD, then add/subtract the numerators.

How do you divide fractions?

To divide by a fraction, multiply by its reciprocal. For example, a/b ÷ c/d = a/b × d/c = ad/bc.