How to use the fraction calculator

  1. Enter the numerator (top number) and denominator (bottom number) of each fraction.
  2. Choose addition, subtraction, multiplication or division, then select Calculate.
  3. Read the simplified fraction first. Use the decimal for an approximation, and the steps to check your work.

Formulas and method

Add fractions
a/b + c/d = (ad + bc) / bd

A common denominator gives the parts the same size. The calculator uses the least common denominator to keep intermediate numbers smaller.

Subtract fractions
a/b − c/d = (ad − bc) / bd

Keep the common denominator and subtract the numerators in order.

Multiply fractions
(a/b) × (c/d) = ac / bd

Multiply the numerators together and the denominators together, then simplify.

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

Multiply by the reciprocal of the second fraction. Both denominators and the second numerator must be nonzero.

Worked examples

Adding fractions with different denominators

1/2 + 1/3 = 3/6 + 2/6
3/6 + 2/6 = 5/6

Six is the least common denominator. Five sixths is already simplified because 5 and 6 share no factor greater than 1.

Dividing by a fraction

3/4 ÷ 2/5 = 3/4 × 5/2
3/4 × 5/2 = 15/8 = 1.875

The exact answer is an improper fraction. As a mixed number, 15/8 is 1 7/8; a fraction can be greater than one.

Multiplying a negative fraction

−2/3 × 9/4 = −18/12
−18/12 = −3/2 = −1.5

A negative times a positive is negative. Divide the numerator and denominator by their greatest common factor, 6.

Supported inputs and precision

Enter signed integers with up to 30 digits in each field. Denominators cannot be zero. Fraction answers are exact; decimal displays are rounded to 12 significant digits. Convert mixed numbers to improper fractions before entering them.

Calculations run in your browser. No account or download is needed. The example answer and this guide are readable without JavaScript; enable JavaScript to calculate your own values.

Frequently asked questions

Can I enter mixed numbers?

Use an improper fraction. For example, 1 2/3 becomes (1 × 3 + 2)/3 = 5/3, so enter 5 as the numerator and 3 as the denominator. To enter −1 2/3, use −5/3.

How do I simplify a fraction?

Divide the numerator and denominator by their greatest common factor. For example, 18/24 becomes 3/4 after dividing both by 6. This calculator simplifies the final answer automatically.

Why can I not divide by a zero fraction?

A fraction such as 0/5 equals zero. Dividing by it would require a reciprocal with zero in the denominator, which is undefined.

Is the decimal result exact?

The simplified fraction is exact. A decimal such as 5/6 = 0.8333… repeats indefinitely, so its displayed decimal is rounded. Keep the fraction when you need an exact result.