Fraction Calculator

Calculate with fractions and mixed numbers, simplify a fraction or convert between fractions and decimals. Each result includes the calculation steps.

Enter two fractions and choose +, −, × or ÷.

1
2

Use integers for fraction fields (up to 30 digits each). A denominator cannot be zero. Results update as you type.

YOUR RESULT

Result

5/6

1/2 + 1/3 = 5/6 · Decimal: 0.8(3)

Calculation steps

  1. Write the fractions in standard form

    1/2 = 1/2; 1/3 = 1/3. Denominators are positive and fractions are reduced.

  2. Apply the formula

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

  3. Use a common denominator

    Common denominator = 2 × 3 = 6. 1/2 = 3/6; 1/3 = 2/6.

  4. Add the numerators

    (3 + 2) / 6 = 5/6.

  5. Find the greatest common divisor

    GCD(|5|, 6) = 1.

  6. Reduce to lowest terms

    (5 ÷ 1) / (6 ÷ 1) = 5/6.

What does this calculator do?

A fraction represents a numerator divided by a nonzero denominator. For example, 3/4 means three of four equal parts. This tool handles arithmetic, mixed numbers, simplification and decimal conversion. It is useful for school mathematics, recipe quantities, measurements and checking calculations involving parts of a whole.

Fraction arithmetic formulas

OperationFormula
Additiona/b + c/d = (ad + bc)/(bd)
Subtractiona/b − c/d = (ad − bc)/(bd)
Multiplicationa/b × c/d = ac/(bd)
Divisiona/b ÷ c/d = a/b × d/c = ad/(bc)

Addition and subtraction require a common denominator. For example, 1/2 + 1/3 = 3/6 + 2/6 = 5/6. Multiplication uses the product of the numerators and the product of the denominators. Division multiplies by the reciprocal of the second fraction; that fraction must not be zero.

Mixed numbers and negative values

A mixed number combines a whole number and a fractional part. Convert it before calculating: w n/d = (w × d + n)/d for a nonnegative whole part. A leading minus applies to the entire mixed number: −2 3/4 = −(2 + 3/4) = −11/4. For −3/4 in mixed mode, enter −0 as the whole part, 3 as the numerator and 4 as the denominator. The fraction numerator must be nonnegative and its denominator positive.

For the example −2 3/4 + 3 5/7, conversion gives −11/4 + 26/7 = (−77 + 104)/28 = 27/28. Results are shown in lowest terms; an equivalent mixed number appears when appropriate.

Simplifying a fraction

Divide the numerator and denominator by their greatest common divisor (GCD): a/b = (a ÷ g)/(b ÷ g). For 18/24, g = 6, so the result is 3/4. Simplification preserves the value. A negative sign is placed in the numerator, and zero reduces to 0/1.

Converting decimals and fractions

For a terminating decimal with p digits after the decimal point, remove the point to obtain integer N, then write N/10ᵖ and simplify. For example, 0.125 = 125/1000 = 1/8. Decimal input accepts up to 30 digits and a decimal point; repeating-decimal notation and scientific notation are not accepted.

To convert a fraction to a decimal, divide its numerator by its denominator. A zero remainder means the decimal terminates; a repeated remainder identifies a repeating block. Thus 3/8 = 0.375, while 1/6 = 0.1(6), where parentheses mark repeating digits. If no termination or full cycle is found within 120 decimal places, the display ends with an ellipsis and is marked as truncated.

Fraction arithmetic uses exact integer calculations. Only a truncated decimal is an approximation.