Rational Number Calculator

This page does exact arithmetic on rational numbers. You write each number as an integer, a decimal, a fraction such as 3/4 or a mixed number such as 2 1/3, choose one of the four operations, and it returns the answer as a fraction in lowest terms with the mixed number, the decimal and the working that got there. A second action applies one operation across a list of up to twenty numbers, folding them left to right. Nothing is converted to a floating-point number on the way, so 1/3 plus 1/3 plus 1/3 comes back as 1 rather than as 0.9999999999999999. The decimal is derived from the answer afterwards, and the page says whether that expansion terminates or repeats.

Calculator Type

Write each number as an integer, a decimal, a fraction such as 3/4 or a mixed number such as 2 1/3. The answer comes back as an exact fraction in lowest terms.

Accepts 7, -3, 0.75, 3/4, -5/8 or 2 1/3.
Written the same way as the first.
Widget

Give two or more rational numbers separated by commas and the operation is applied left to right, exactly.

Between two and twenty of them. Integers, decimals, fractions and mixed numbers can be mixed freely.
Widget