Fraction Calculator

Add, subtract, multiply or divide two fractions. The answer is shown as a simplified fraction, a mixed number and a decimal.

First fraction (for a mixed number, enter the whole part too)
Operation
Second fraction (for a mixed number, enter the whole part too)
Answer (simplified fraction) —
Mixed number—
Decimal—
The copied value is the simplified fraction (for example 5/6; a whole number if the answer is whole). Numerators, denominators and whole parts can have up to 12 digits.

How the calculator works

Each fraction is converted to an improper fraction (a mixed number such as 1 1/2 becomes 3/2) and the operation is carried out with exact integer arithmetic. The result is then simplified by dividing the numerator and denominator by their greatest common divisor.

Examples

Notes

Frequently asked questions

How do I add fractions with different denominators?

Rewrite both fractions with a common denominator, add the numerators, then simplify. This calculator does it for you: 1/2 + 1/3 = 3/6 + 2/6 = 5/6.

How do I enter a mixed number?

Enter the whole part in the "Whole" box, and the numerator and denominator of the fractional part in the other boxes. For 2 1/3, enter 2, 1 and 3.

How do I turn a fraction into a decimal?

The decimal is shown under the answer. When the decimal repeats, the repeating digits appear in parentheses, for example 1/3 = 0.(3).