Fractions Calculator
Add, subtract, multiply, or divide two fractions with step-by-step cross-multiplication, automatic reduction, and mixed-number conversion.
How to use this calculator
Enter a numerator and denominator for each of the two fractions, then choose an operation — addition, subtraction, multiplication, or division. The calculator applies the matching formula, shows the raw result before reducing, finds the greatest common factor (GCF), reduces the fraction, and converts to a mixed number when the result is improper.
-3 or -4.The four formulas
This calculator uses cross-multiplication, so it never needs to find a least common denominator first — the raw result is always correct, just not always fully reduced.
Addition
Subtraction
Multiplication — the simplest case, no common denominator needed:
Division
Why dividing means multiplying by the reciprocal
Division by a fraction is defined as multiplication by its reciprocal (flip the numerator and denominator). The memory trick is Keep, Change, Flip:
- Keep the first fraction as it is.
- Change the ÷ sign to ×.
- Flip the second fraction — swap its numerator and denominator.
After every operation: reduce, then convert to a mixed number
- Find the GCF of the raw numerator and denominator, then divide both by it — this is the fully reduced fraction.
- Convert to a mixed number if the reduced numerator's absolute value is at least the denominator (and the denominator isn't 1): divide with remainder, and the quotient becomes the whole part.
Worked examples
Example 1 — addition:
. GCF(5, 6) = 1, so the answer is — already in lowest terms.
Example 2 — addition needing reduction:
. GCF(20, 24) = 4, so . The answer is .
Example 3 — addition producing a mixed number:
. GCF(18, 8) = 2, so . Since 9 ≥ 4, convert: remainder . The answer is .
Example 4 — division:
Keep, change, flip: . GCF(6, 2) = 2, so — a whole number.
Common results reference
| Operation | Example | Answer |
|---|---|---|
| Add | 1/2 + 1/3 | 5/6 |
| Add | 2/4 + 2/6 | 5/6 |
| Subtract | 2/3 − 1/6 | 1/2 |
| Multiply | 2/3 × 3/4 | 1/2 |
| Divide | 1/2 ÷ 1/6 | 3 |
| Add (negative) | −1/2 + 1/3 | −1/6 |
Precision note
Every computation uses arbitrary-precision integers (BigInt), not floating-point numbers — so the cross-multiplied result, the GCF, and the reduced fraction are always exact, no matter how large the numerators or denominators are.
Frequently asked questions
- How do you add two fractions with different denominators?
- Cross-multiply: . For , that's — no need to find the least common denominator first.
- How do you subtract fractions?
- The same cross-multiplication as addition, but subtract the cross products: . For , that's after reducing.
- How do you multiply two fractions?
- Multiply straight across — numerator times numerator, denominator times denominator: . No common denominator is needed for multiplication.
- Why do you flip the second fraction when dividing?
- Dividing by a number is the same as multiplying by its reciprocal. "Keep, Change, Flip": keep the first fraction, change ÷ to ×, and flip the second fraction upside down, so .
- Can a denominator be zero?
- No. A denominator of zero makes the fraction undefined, so this calculator reports an error whenever either input denominator is zero. When dividing, the second fraction's numerator also can't be zero, since flipping it would put a zero in the new denominator.
- Why did I get a mixed number in the answer?
- Whenever the reduced result is improper (its numerator, ignoring sign, is at least as large as the denominator) and the denominator isn't 1, the calculator also shows the equivalent mixed number. becomes because remainder .
- Does this work with negative fractions?
- Yes. Enter a minus sign on the numerator (or the denominator) of either fraction. One negative sign makes the fraction negative; two negative signs cancel out, exactly like signed whole numbers.