Everyday Math

Fraction Calculator

Add, subtract, multiply, or divide two fractions and obtain an exact reduced result.

Private, in-browser calculationUpdated

Let’s work it out

Enter your numbers. We’ll show the working.

Whole number, up to 30 digits; no decimal point.
Whole number, up to 30 digits; no decimal point.
Choose the convention for your inputs.
Whole number, up to 30 digits; no decimal point.
Whole number, up to 30 digits; no decimal point.

How to use this calculator

  1. Enter first numerator and the remaining values.
  2. Check the selected units and the counting or calculation convention described below.
  3. Select Calculate to review the result and breakdown. Reset restores the example.

The formula

a/b + c/d = (ad+bc)/bd; subtract uses ad−bc; multiply = ac/bd; divide = ad/bc

Fractions are normalized to positive denominators and reduced by their greatest common divisor. Operations use exact integers, so no decimal approximation is needed for the fraction result. Division by a zero fraction is rejected.

PUTTING IT INTO PRACTICE

A worked example

1/2 + 1/3 = (3 + 2)/6 = 5/6. The approximate decimal is 0.833333333333 at the display precision.

How to interpret your result

Use the reduced fraction when exact arithmetic matters. The decimal line is a convenience and may be rounded or repeating. Negative signs are carried by the numerator.

Assumptions and limitations

Integer numerators and nonzero integer denominators, each at most 30 digits; improper fractions are accepted.

Mixed-number notation such as 1 1/2 is not accepted. Convert it to 3/2 before entering it.