PocketCalc

Fraction Calculator

Free fraction calculator — add, subtract, multiply or divide two fractions. The result is shown in lowest terms with the decimal value. Works in your browser.

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

Type two fractions and pick an operation. The calculator returns the result in lowest terms, with its decimal approximation.

Formulas

a/b + c/d = (a·d + c·b) ÷ (b·d) a/b − c/d = (a·d − c·b) ÷ (b·d) a/b × c/d = (a·c) ÷ (b·d) a/b ÷ c/d = (a·d) ÷ (b·c)

Addition and subtraction need a common denominator (we use b × d, simplifying at the end). Multiplication is straight numerator × numerator over denominator × denominator. Division is “invert and multiply”.

Simplification

After each operation, the result is reduced by dividing the numerator and denominator by their GCD. So 2/4 becomes 1/2, 12/18 becomes 2/3. The sign rides on the numerator; the denominator is always positive.

Mixed numbers (out of scope, for now)

1 1/2 means 1 + 1/2 = 3/2. Convert mixed numbers to improper fractions before typing them in. We may add direct mixed-number input later.

Worked examples

  • 1/2 + 1/3

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

  • 3/4 − 1/4 → simplifies to 1/2

    3/4 − 1/4 = 1/2 ≈ 0.5

  • 2/3 × 3/4

    2/3 × 3/4 = 1/2 ≈ 0.5

Frequently asked questions

How are fractions added?

Cross multiplication: a/b + c/d = (a·d + c·b) ÷ (b·d). Same denominator for both terms, then sum the numerators. The result is automatically simplified to lowest terms.

How are fractions multiplied and divided?

Multiplication is the easy one: a/b × c/d = (a·c) ÷ (b·d). For division, flip the second fraction and multiply: a/b ÷ c/d = (a·d) ÷ (b·c). "Invert the divisor" is the same rule.

Why is the result simplified automatically?

Because fractions are equivalence classes. 2/4, 3/6 and 4/8 are all the same number; the simplest form (here 1/2) is the canonical representative. The calculator divides numerator and denominator by their GCD to land in lowest terms.

What about mixed numbers, like \"1 1/2\"?

Convert first: 1 1/2 = 3/2 (multiply the whole part by the denominator and add the numerator). The calculator works with improper fractions; if you need a mixed-number output, divide the result with remainder by hand: 5/6 stays 5/6, but 7/6 = 1 1/6.

Does it handle negative fractions?

Yes. Use a negative numerator (e.g. −1/2). The sign is carried on the numerator and the denominator is normalized to positive. "Negative denominator" inputs are accepted and converted to the equivalent positive-denominator form internally.