This fraction and whole number calculator finds two exact results from the same inputs. It shows the whole number plus the fraction and the whole number minus the fraction. The table expresses both calculations using the entered denominator and then reports each reduced answer. Negative whole numbers and negative numerators can be entered directly.
Write the whole number in the fraction's unit
The denominator is the number of equal pieces that make one unit. If the denominator is eight, a whole unit has eight eighths. A whole number of three can be written as 24/8. That conversion leaves the value unchanged and puts the terms into the same unit for addition or subtraction.
The denominator must be positive on this page. Enter a negative sign in the numerator if the fraction is negative. For example, enter −5 and 8 for the fraction −5/8. Enter a signed whole number in its own field. This keeps both signs explicit and avoids assigning a sign twice.
The fraction can have an absolute value greater than one. A numerator of 11 and denominator of 6 represents 11/6. Its role in both operations is the same as the role of a fraction such as 5/8. There is no need to turn it into a mixed number before doing the calculation.
Worked example combining −3 and 5/8
Use −3 as the whole number and 5/8 as the fraction. Rewriting the whole number in eighths gives −24/8. Adding the second numerator gives −24 + 5 = −19. The sum is −19/8. That fraction is already reduced since its positive denominator and numerator magnitude have no shared divisor greater than one.
Subtracting the same fraction from the whole number uses −24 − 5. This equals −29. The difference is −29/8, which also is in lowest terms. As a quick check, the sum lies between −3 and −2. The difference lies between −4 and −3. Those directions make sense because adding a positive fraction increases a number, while subtracting it decreases the number.
There is room between the two results. Their difference is 10/8, or twice the original positive fraction. This is another way to check paired addition and subtraction. The midpoint of the two answers is the whole number that started both operations.
Try an example that reduces
With whole number 2 and fraction 3/9, convert 2 to 18/9. The addition row becomes 21/9 before reducing. Both numbers are divisible by three, giving 7/3. The subtraction row starts from 15/9. Reducing it produces 5/3. The two answers use thirds even though the original entry used ninths.
Putting −3 in the numerator with all other fields the same reverses which operation gives the larger result. Adding −3/9 gives 15/9, which reduces to 5/3. Subtracting −3/9 gives 21/9, which reduces to 7/3. Matching the signs is important when copying a subtraction expression from a lesson.
For an example with a zero result, compute 2 minus 10/5. Writing the whole number as 10/5 gives zero in the numerator after subtraction. The reduced expression is the integer zero. The table still records the denominator used in the arithmetic before reduction.
Read answers in an exact or mixed form
An improper fraction has a numerator magnitude at least as large as the denominator. It can stay in that form for later algebra. In a setting that asks for a mixed number, divide the magnitude of the numerator by the denominator to find the whole part and remainder. Restore the overall sign when writing the mixed result.
For example, −19/8 represents the negative of 2 and 3/8 because 19 divides into two whole eights with three left. Another way to compare it is to perform the exact division and obtain −2.375. Keeping the fraction helps when another operation needs common units and an exact result.
The numerator of an intermediate result can be much larger than the numbers you entered because the whole number is multiplied by the denominator. That creates a new representation in the same fraction unit. It isn't a change in the quantity. Dividing the intermediate numerator by its denominator will return the original whole number before the addition or subtraction.
Frequently asked questions
Why aren't the two denominators added together?
The denominator names the fraction unit. The operations combine how many of those units are present. When both are in eighths, adding three pieces changes the numerator and the unit remains eighths.
Can I enter a fraction with a zero numerator?
Yes. Its value is zero with any positive denominator. Both the sum and difference then equal the whole number. The table shows the chosen unit before reduction.
Do I have to reduce the original fraction first?
No. Enter the fraction as given with a positive denominator. The results are reduced after the operation, and the original denominator stays visible in the before-reducing column.
What does the subtraction row calculate?
It subtracts the fraction from the whole number. Swapping the order changes the sign of that result because the direction of subtraction is reversed.