Fraction Calculator
Add, subtract, multiply, and divide fractions online. Get a simplified fraction result plus the decimal value, with the step-by-step working shown. Handles division by zero. 100% browser-based, no signup.
1/2 + 1/3 = 5/6 Common denominator: 2 × 3 = 6. 1×3 + 1×2 = 5.
All Four Operations
Add (+), subtract (−), multiply (×), and divide (÷) two fractions. Each fraction is entered as a numerator and denominator separately.
Auto-Simplification
Results are reduced to lowest terms using the Euclidean GCD algorithm. The sign is normalized to the numerator so the denominator is always positive.
Step-by-Step Working
The exact arithmetic is shown — common denominators for ±, cross-multiplication for ÷, and straight-across for × — so you can follow how the answer was reached.
100% Private
All calculation happens in your browser. No fractions are sent to a server, no signup required, and there is no daily limit.
How does the fraction calculator simplify results?
It uses the Euclidean algorithm to find the greatest common divisor (GCD) of the numerator and denominator, then divides both by the GCD. The sign is moved to the numerator so the denominator is always positive.
How are addition and subtraction done?
For a/b ± c/d, the calculator uses the common-denominator method: (a·d ± c·b) / (b·d). It does not require finding the least common multiple — the result is simplified afterwards.
How is fraction division handled?
To divide a/b by c/d, the second fraction is inverted and the two are multiplied: (a·d) / (b·c). If the divisor (the second fraction) equals 0, the calculator shows a "cannot divide by zero" error.
What happens if I enter 0 as a denominator?
A fraction cannot have 0 in the denominator — the calculator shows an error and refuses to compute. This applies to either input fraction, and to the divisor in division.
Does it show the decimal value too?
Yes. Alongside the simplified fraction result, the decimal equivalent is shown to 6 decimal places (trailing zeros removed).
Ready to use the Fraction Calculator?
Free, no signup, no watermark. 100% browser-based. Your data never leaves your device.
Open the tool