Fraction Calculator
Add, subtract, multiply, divide or compare two fractions or mixed numbers, including negatives. Get the simplified fraction, mixed number, decimal and every step, calculated with exact integer arithmetic.
Add, subtract, multiply, divide or compare two fractions or mixed numbers, including negatives. Get the simplified fraction, mixed number, decimal and every step, calculated with exact integer arithmetic.
Fraction Calculator works with two fractions or mixed numbers at a time. Enter an optional whole number, a numerator and a denominator for each, choose add, subtract, multiply, divide or compare, and the calculator shows the result as a simplified fraction, as a mixed number where that helps, and as a decimal, followed by the steps used to get there.
All fraction arithmetic is done with exact whole-number (integer) maths and simplified with the greatest common divisor, so there is no floating-point rounding in the fraction result; only the decimal line is rounded, to 12 decimal places, and it is labelled when it is not exact. Negative values are supported, inputs are limited to 1,000,000,000 per field, and a clear message appears for a zero denominator, division by a zero fraction, or a result too large to handle precisely.
Use the whole-number box for the whole part and the numerator and denominator boxes for the fraction, for example 2 and 3/4. The calculator converts it to an improper fraction (11/4) before calculating.
A minus sign on the whole number applies to the whole value, so −1 1/2 means −(1 + 1/2) = −3/2. With no whole number, put the minus sign on the numerator.
Yes. The fraction result is calculated with exact integer arithmetic and simplified with the greatest common divisor. Only the decimal line can be rounded, and it says so.
Dividing by a fraction equal to zero is not defined. The calculator also rejects a denominator of zero in either fraction.
The calculator cross-multiplies: for a/b and c/d it compares a × d with c × b, which avoids rounding and gives an exact <, > or = result.
Each whole number, numerator and denominator must be at most 1,000,000,000, and results with more than 30 digits are rejected with a precision message.