Fraction calculator
Add, subtract, multiply, and divide fractions and mixed numbers.
Use 2/3, -1 1/2, or an integer. Denominators must be positive. Up to 150 characters per fraction.
Simplified fraction
5/6
- Mixed number
- 5/6
- Decimal (rounded)
- 0.8333
How it’s calculatedCalculated on your device
1/2 + 1/3
Displayed values may be rounded. Calculations keep the underlying precision.
Up to 150 characters per input; positive nonzero denominators. The primary fraction is exact; the decimal is rounded. Use fractions instead of decimal input.
The formula, made simple
Calculate with integer fractions, whole numbers, or mixed numbers. Both inputs may be negative.
For addition, a/b + c/d = (ad + bc)/(bd). Multiply numerators and denominators for multiplication; invert the second fraction for division. Reduce by the greatest common divisor.
A worked example
1/2 + 1/3 = 5/6. The mixed number -1 1/2 means -(1 + 1/2).
A few useful answers
Can I divide by a zero fraction?
No. A zero denominator or dividing by a fraction with a zero numerator produces an explicit error.