Add, subtract, multiply, and divide fractions or mixed numbers and get a simplified result, mixed-number form, and decimal value back. Accepts inputs like 1/2, 3 1/4, or 0.75 - the calculator converts every form to a common representation.
The math: a/b + c/d = (ad + bc) / bd, a/b - c/d = (ad - bc) / bd, a/b ร c/d = ac / bd, a/b รท c/d = ad / bc. After computing the raw numerator and denominator, the result is reduced using the greatest common divisor (Euclid algorithm). Decimal inputs are parsed by counting digits after the decimal point and constructing the appropriate denominator (e.g. 0.75 = 75/100, then reduced to 3/4).
Disclaimer: Division by zero is rejected. Mixed-number input format is "whole numerator/denominator" with a space (e.g. "3 1/4").