Subtracting fractions is where elementary arithmetic often goes wrong. Three-quarters minus one-half does not become two-quarters in the obvious way you might guess, and unlike-subtraction problems trip up students, cooks, and tradespeople alike. This fraction subtraction calculator takes two fractions, finds their least common denominator (LCD), subtracts the second numerator from the first on a common base, reduces the result to lowest terms, and shows you both the mixed number and the decimal equivalent so you can verify the step-by-step work yourself.
Type four numbers and the answer appears instantly. Use it for homework, adjusting a recipe, cutting a length of lumber, measuring paint, splitting a tank of fuel, or checking a sale price that is already a fraction off the ticket.
How to Use
- Enter the First Numerator (Minuend) — the top number of the fraction you are subtracting from. In
a/b − c/d, this isa. - Enter the First Denominator — the bottom number of that first fraction. It cannot be zero.
- Enter the Second Numerator (Subtrahend) — the top number of the fraction being taken away. This is
c. - Enter the Second Denominator — the bottom number of the fraction being subtracted. It also cannot be zero.
- Read the result card. The calculator shows the reduced difference, the least common denominator it used, the decimal equivalent, and the mixed number whenever the result is larger than one whole.
You do not have to find a common denominator by hand. The engine computes the LCD, rewrites both fractions against it, subtracts the second numerator from the first, and divides the result by the greatest common divisor so the answer is always in lowest terms.
The Fraction Subtraction Rule
Fractions can only be subtracted once they share a denominator. The formal rule is:
a/b − c/d = (a·d − c·b) / (b·d)
Then the result is reduced by dividing the new numerator and denominator by their greatest common divisor (gcd). The least common denominator is the least common multiple of the two denominators:
LCD = lcm(b, d) = b · d / gcd(b, d)
Worked example on the default inputs, 3/4 − 1/6: gcd(4, 6) = 2, so the LCD is 4·6/2 = 12. Rewriting, 3/4 = 9/12 and 1/6 = 2/12. Subtracting gives 9/12 − 2/12 = 7/12. The gcd of 7 and 12 is 1, so 7/12 is already reduced, and the decimal equivalent is roughly 0.5833.
If the denominators are already equal — say 5/8 − 1/8 — the LCD is just 8, and you subtract the numerators directly: (5−1)/8 = 4/8 = 1/2.
Negative Results and Negative Fractions
The calculator treats every input as a signed rational number, so negative numerators work exactly the way you expect. For example, 1/8 − 3/8 = −2/8 = −1/4: the engine rewrites on the common denominator 8, subtracts 3 from 1, and lands on −1/4. The sign always lives on the numerator; denominators are kept positive.
A negative result simply means you started with less than you subtracted. On this page that is a normal, correct outcome — not an error. If 0/5 − 1/3 is entered, the first fraction contributes nothing, so the answer is −1/3, decimal −0.3333.
Mixed numbers such as 2 1/2 are not entered directly. Convert them to improper fractions first: 2 1/2 = 5/2, then subtract as usual. The result card prints the mixed-number form automatically once the absolute result is greater than one, so 1999999/6 comes back as 333333 1/6.
Why Reduce to Lowest Terms?
An unreduced answer like 4/8 is mathematically equal to 1/2, but graders, recipes, and tape measures expect the simplified form. Reduction is always safe because dividing both the numerator and denominator by their gcd does not change the value — it only makes the numbers smaller and easier to use. Python's built-in fractions.Fraction type does this automatically, which is exactly the arithmetic this calculator runs under the hood, so fractions like 1999999/6 keep every digit exact instead of rounding to a fuzzy decimal.
Examples
Example 1 — Adjusting a recipe. A bread recipe calls for 3/4 cup of honey, but you only have 1/6 cup left in the jar. How much more honey do you need to borrow? On the common denominator 12: 3/4 = 9/12 and 1/6 = 2/12, so 9/12 − 2/12 = 7/12 cup. You are short about 58% of a cup — roughly a half-cup measure plus a tablespoon.
Example 2 — A sale price already discounted. A $120 jacket is marked down by 1/4, and you have a coupon that takes another 1/8 off the already-reduced price. After the markdown, 1 − 1/4 = 3/4 of the price remains, which is 75% of $120 = $90. Applying the coupon: 3/4 − 1/8 = 6/8 − 1/8 = 5/8 of the original ticket. That is 62.5% of $120, so the final price is about $75 — a savings of $45 off the original. Checking on this page: 3/4 − 1/8 = 5/8, decimal 0.625, matches the expected 62.5% you pay.
Example 3 — Cutting trim to length. You have a board that is 7/8 inch thick and you plane off 3/16 inch to fit a door jamb. What is the finished thickness? LCD(8, 16) = 16. 7/8 = 14/16, minus 3/16 gives 11/16 inch. When you are laying out trim in fractions of an inch, keeping the sixteenths straight is the whole job, and 11/16 is a standard tape-measure mark.
Example 4 — Large numerators. Subtracting 1,000,000/3 − 1/6 uses exact integer arithmetic: the LCD is 6, 1000000/3 = 2000000/6, minus 1/6 = 1999999/6, which is already reduced (gcd 1) and equals about 333333.1667. Floating-point arithmetic would round this, but the exact fraction form keeps every digit.
FAQ
How do you subtract fractions with different denominators?
Find the least common denominator (LCD) of the two denominators, rewrite each fraction so it uses that denominator, then subtract the second numerator from the first. For 3/4 − 1/6, the LCD is 12; rewriting gives 9/12 − 2/12 = 7/12. The calculator on this page does all three steps automatically.
Why does my answer come out negative?
A negative result means the second fraction is larger than the first. For example, 1/8 − 3/8 = −1/4. The engine keeps the sign on the numerator and denominators positive. If you expected a positive difference, swap the two fractions so the larger one is the minuend.
Can I subtract a negative fraction?
Yes. Entering a negative numerator treats that fraction as a signed rational. Subtracting a negative number is the same as adding a positive one, so 1/2 − (−1/4) = 1/2 + 1/4 = 3/4. The calculator handles this through exact rational arithmetic.
What if one denominator is zero?
Division by zero is undefined, so the calculator rejects any input whose denominator is zero and shows an error instead of returning a nonsense value. Check both denominator fields before trusting the result.
Do I need to simplify the answer myself?
No. The engine divides the result by the greatest common divisor of the numerator and denominator, so the answer is always in lowest terms. What you see in the Result Numerator and Result Denominator fields is the reduced form.
How do I subtract mixed numbers like 3 1/2 and 1 3/4?
Convert each mixed number to an improper fraction first: 3 1/2 = 7/2 and 1 3/4 = 7/4. Then subtract: 7/2 − 7/4 = 14/4 − 7/4 = 7/4 = 1 3/4. The result card prints the mixed-number form for you automatically.
Why is my decimal result repeating?
Many fractions do not terminate in decimal form. 1/3 = 0.3333…, and 7/12 = 0.58333… The fraction form on this page is exact; the decimal is shown only for convenience. If you need an exact answer, trust the reduced fraction, not the decimal.
Disclaimer
This fraction subtraction calculator is provided for informational purposes only and does not constitute mathematical, educational, or professional advice. Results are computed with exact rational arithmetic (Python's fractions.Fraction), but you are responsible for verifying any calculation that affects money, construction, cooking, grading, or other real-world decisions. Always double-check critical arithmetic by hand or with a second tool.