
Fraction calculator
Simplify a fraction or add, subtract, multiply and divide two fractions.
Your inputs stay in your browser. Displayed fractions are exact, without rounding.
Method and assumptions
Method version 1.0.0 · Updated
Simplify
Formula: (n ÷ GCD) / (d ÷ GCD)
Integers only, with a nonzero denominator. The result is an exact reduced fraction with a positive denominator, without decimal rounding. Example: 12/18 = 2/3; zero becomes 0/1.
- numerator
- Numerator
- denominator
- Denominator
Operations
Formula: a/b ± c/d = (ad ± bc)/bd ; (a/b) × (c/d) = ac/bd ; (a/b) ÷ (c/d) = ad/bc
Each integer is limited to ±9,007,199,254,740,991. Denominators and the divisor fraction must be nonzero. Exact calculation and final reduction, even when products exceed that limit. Example: 1/2 + 1/3 = 5/6.
- numerator
- Numerator
- denominator
- Denominator
- operation
- Operation
- otherNumerator
- Second numerator
- otherDenominator
- Second denominator
Integers within the stated limits; exact fraction without rounding. Fields accept neither decimals nor thousands separators.