Subtracting Fractions Calculator
Subtract two fractions and get the simplified result. Helpful for homework, measurements, and any fraction based calculations.
Enter the Details
Result will appear here...
What this calculator does
So, you have two fractions and you want the difference between them. How much is left after you take one away from the other, or how much bigger one is than the other. This tool subtracts the second fraction from the first and shows the result as a fraction, with any whole number pulled to the front, and as a decimal.
Each fraction has three boxes: a whole number, a numerator, and a denominator. That lets you type mixed numbers like 3 1/4 straight in. And unlike adding, subtraction has a direction to it, so the order you enter the two fractions matters, and the answer can come out negative. The tool tracks the sign for you.
How to use it
- Enter the fraction you are subtracting from in the first row: whole number if any, then numerator over denominator.
- Enter the fraction you are taking away in the second row.
- Press Calculate.
A denominator of zero is the one thing it will refuse, since a fraction needs something on the bottom to mean anything. Negatives are fine, and so is a second fraction larger than the first.
The same common-denominator step, with a twist
Subtracting fractions starts exactly like adding them. You cannot take 1/3 away from 1/2 while the pieces are different sizes, any more than you could add them that way. So both get rewritten over a common denominator first. A half and a third both become sixths: 3/6 and 2/6. Now they are the same size, and 3 sixths minus 2 sixths is 1 sixth.
The twist is direction. With adding, 1/2 + 1/3 and 1/3 + 1/2 give the same answer. With subtracting they do not. 1/2 minus 1/3 is a small positive amount, but 1/3 minus 1/2 is the same amount in the other direction, a negative. So which fraction you put first genuinely changes the result.
The method it uses
Both fractions go over the product of the two denominators, which is a common denominator that always works. For a/b minus c/d that is
(a × d - c × b) / (b × d)
Same shape as adding, with a minus in the middle. A mixed number is folded into one top-heavy fraction first, as whole × denominator + numerator. The calculation runs on math.js, whose fraction type holds exact whole-number ratios, and it reads the sign off the result so a negative difference is shown with its minus rather than quietly dropped.
A worked example, step by step
Take 3/4 minus 1/6.
- New top: 3 × 6 - 1 × 4 = 18 - 4 = 14.
- New bottom: 4 × 6 = 24.
- So the raw answer is 14/24. Both share a factor of 2, so it reduces to 7/12.
As a decimal that is about 0.583. The tool shows 7/12 and the rounded decimal side by side.
When the answer goes below zero
This is the part adding never has to deal with. If the fraction you are taking away is larger than the one you start with, the difference is negative. Take 1/4 minus 1/2. Over a common bottom of 8 that is 2/8 minus 4/8, which is -2/8, or -1/4. There is nothing wrong with that answer; it simply means you tried to remove more than was there, so you end up below zero, the way a balance goes negative when you spend past it.
Swap the two fractions and you get +1/4 instead. Same size, opposite sign. The tool carries the minus through so you always know which way the difference falls.
Subtracting mixed numbers, and the borrowing it saves you
By hand, the ugliest case is a mixed number where the fraction part you are subtracting is bigger than the one you have. Something like 3 1/4 minus 1 3/4. On paper you have to borrow a whole, turning the 3 1/4 into 2 5/4 before you can take the 3/4 away. It is fiddly and easy to get wrong.
The tool sidesteps all of it by folding each mixed number into a single top-heavy fraction before subtracting. 3 1/4 becomes 13/4, and 1 3/4 becomes 7/4. Then it is just 13/4 minus 7/4 = 6/4, which reduces to 3/2, or 1 1/2. No borrowing, no half-step where a digit gets dropped. You type the whole numbers and the fractions, and the borrowing happens for you inside the arithmetic.
Questions people ask
Does the order I enter them in matter?
Yes. Subtraction has a direction. The first fraction is the one being subtracted from, the second is the one taken away. Swap them and the answer keeps its size but flips its sign.
Can the answer be negative?
Yes, whenever the second fraction is larger than the first. The tool shows the minus sign so a negative result is never mistaken for a positive one.
What if the two fractions are equal?
Then the difference is zero. 2/3 minus 2/3, or 4/6 minus 2/3, both come out as 0, since those are the same value written differently.
Does it reduce the answer?
Yes, always to lowest terms, with any whole number split off into a clean mixed number.
Can it handle mixed numbers?
Yes, in both rows, and it does the borrowing internally by converting to top-heavy fractions first, so the awkward by-hand step never comes up.
References
On the reducing step and the notation. Once the subtraction is done, the answer is cut to lowest terms by dividing top and bottom by their greatest common divisor, found with an algorithm Euclid recorded around 300 BC. The bar we write between numerator and denominator is credited to the Moroccan mathematician al-Hassar in the twelfth century and was carried into Europe by Fibonacci's Liber Abaci in 1202.
- Euclid, Elements, Book VII, Propositions 1 and 2 (c. 300 BC), the greatest common divisor algorithm used to reduce a fraction to lowest terms.
- al-Hassar (12th century) and Leonardo of Pisa, Fibonacci, Liber Abaci (1202), for the horizontal fraction bar in the form used today.
Okan Atalay is a results driven senior operations manager and a graduate of Industrial Engineering from Bilkent University. With over 22 years of experience in textile manufacturing and integrated operations, he has led large scale business process improvements and strategic planning initiatives. Currently, he serves as a top mathematics expert for a global ed tech platform, where he applies his analytical expertise to solve complex mathematical problems. At Eon Tools, he reviews converter and maths tools.
Other Tools
- Adding Fractions Calculator
- Comparing Fractions Calculator
- Decimal To Fraction Calculator
- Dividing Fractions Calculator
- Equivalent Fractions Calculator
- Fraction Calculator
- Fraction To Decimal Calculator
- Fraction To Mixed Number Converter
- Fraction To Percent Calculator
- Golden Ratio Calculator
- Golden Section Calculator
- Mixed Number To Fraction Converter
- Multiplying Fractions Calculator
- Ratio Calculator
- Ratio Simplifier
- Ratio To Fraction Calculator
- Simplify Fractions Calculator
- Unit Rate Calculator