Working with fractions
For addition and subtraction, use a common denominator: a/b + c/d = (ad + bc)/(bd). Multiplication gives ac/bd. Division multiplies by the reciprocal: a/b ÷ c/d = ad/bc.
Worked example
1/2 + 1/3 = (1 × 3 + 1 × 2)/(2 × 3) = 5/6. For 2/3 × 9/4, the unreduced result is 18/12. Divide both parts by their greatest common divisor, 6, to get 3/2 or 1 1/2.
Exact fractions and rounded decimals
Integer arithmetic preserves the exact fraction, including negative signs. Decimal output is an approximation shown to at most 12 significant digits. Enter up to 30 digits per integer; decimal inputs and mixed-number input notation are not accepted.
Why can’t a denominator be zero?
A fraction with a zero denominator is undefined. You also cannot divide by a fraction whose numerator is zero. To enter 1 1/2, first convert it to the improper fraction 3/2.
Updated 25 October 2026. Calculations run in your browser; inputs are not submitted to our server. Save result optionally stores an input and result snapshot on your device.
Methods and validation scope