Math
Fraction Calculator
Add, subtract, multiply and divide fractions.
Simplified fraction
-
Decimal value
-
Steps
-
FAQ
- How are fractions added or subtracted?
- To add a/b + c/d, compute (a*d + c*b) / (b*d), then simplify by dividing numerator and denominator by their greatest common divisor (GCD). Subtraction follows the same cross-multiplication, using minus instead of plus.
- How is the result simplified?
- The calculator divides both the numerator and denominator by their GCD, found with the Euclidean algorithm. If the denominator is negative it is moved to the numerator so the sign is always on top.
- What happens when dividing by zero?
- Division by zero is undefined. If any denominator input or the second fraction (when dividing) evaluates to zero, the calculator shows an error instead of a result.