What this calculator does
This subtracting fractions calculator finds the difference of two fractions, \(a/b\) minus \(c/d\), and returns the answer as a fraction in lowest terms together with its decimal value. It handles negative results and automatically simplifies, so you never have to reduce by hand.
How to use it
Enter the numerator and denominator of the first fraction (\(a\) and \(b\)) and the second fraction (\(c\) and \(d\)), then read off the simplified result. Denominators must be non-zero. Negative numerators are allowed.
The formula explained
To subtract fractions you need a common denominator. The fastest universal method is cross multiplication: rewrite \(a/b - c/d\) as $$\frac{a}{b} - \frac{c}{d} = \frac{a\cdot d - c\cdot b}{b\cdot d}$$ The numerator becomes \(a\cdot d - c\cdot b\) and the denominator becomes \(b\cdot d\). Finally, divide the top and bottom by their greatest common divisor (gcd) to express the answer in lowest terms.
Worked example
Compute \(3/4 - 1/6\). Cross multiply: numerator $$= 3\cdot 6 - 1\cdot 4 = 18 - 4 = 14$$ denominator $$= 4\cdot 6 = 24$$ So the raw answer is \(14/24\). The gcd of \(14\) and \(24\) is \(2\), giving \(7/12 \approx 0.583333\).
Subtraction Results for Different Fraction Types
The raw result below uses the calculator's formula (ad − cb)/bd, which is not necessarily in lowest terms; the simplified form divides out the GCD.
| Expression | Raw result (ad − cb)/bd | Simplified | Decimal |
|---|---|---|---|
| 5/8 − 3/8 (like fractions) | (40 − 24)/64 = 16/64 (equal-denominator shortcut: 2/8) | 1/4 | 0.25 |
| 3/4 − 1/6 | (18 − 4)/24 = 14/24 | 7/12 | ≈ 0.583333 |
| 1/2 − 3/4 (negative result) | (4 − 6)/8 = −2/8 | −1/4 | −0.25 |
| 2/3 − 2/3 (identical fractions) | (6 − 6)/9 = 0/9 | 0/1 | 0 |
| 7/5 − 2/5 (improper fractions) | (35 − 10)/25 = 25/25 | 1/1 | 1 |
| 1/3 − 1/5 (coprime denominators) | (5 − 3)/15 = 2/15 | 2/15 | ≈ 0.133333 |
Key Terms: Numerator, Denominator, LCD and GCD
- Numerator: the top number of a fraction, counting how many parts are taken. In 5/6, the numerator is 5.
- Denominator: the bottom number, showing how many equal parts make a whole. In 5/6, the denominator is 6 (and it can never be 0).
- Common denominator: any shared multiple of the denominators. For 1/4 and 1/6, both 12 and 24 work.
- Least common denominator (LCD): the smallest common denominator, i.e. the least common multiple of the denominators. For 1/4 and 1/6, the LCD is 12.
- Greatest common divisor (GCD): the largest integer dividing two numbers exactly. gcd(18, 24) = 6.
- Lowest terms (simplest form): a fraction whose numerator and denominator have GCD 1. 18/24 ÷ 6 gives 3/4, which is in lowest terms.
- Like fractions: fractions with the same denominator, such as 5/8 and 3/8; they subtract directly: 5/8 − 3/8 = 2/8 = 1/4.
- Unlike fractions: fractions with different denominators, such as 3/4 and 1/6; they need a common denominator first.
- Improper fraction: a fraction whose numerator is greater than or equal to its denominator, such as 7/5, which equals the mixed number 1 2/5.
FAQ
Can the result be negative? Yes. For example \(1/2 - 3/4 = -1/4\). The calculator keeps the denominator positive and places the sign on the numerator.
What if the answer is a whole number? It will appear as that number over 1, e.g. \(3/2 - 1/2 = 1/1\).
Do the fractions need the same denominator? No. Cross multiplication creates a common denominator automatically.