Fraction Calculator: Add, Subtract, Multiply and Divide Fractions
Enter two fractions, mixed numbers, whole numbers or decimals and choose an operation. You get the exact answer in lowest terms, as a mixed number and as a decimal, with every step.
Last reviewed
1/2 + 1/3
5/6
in lowest terms
- Decimal
- 0.8(3)
- Mixed number
- not needed
- Common denominator: the lowest common multiple of 2 and 3 is 6.
- 1/2 = 3/6 and 1/3 = 2/6.
- 3/6 + 2/6 = 5/6.
A bracket in a decimal marks digits that repeat for ever: 0.8(3) is 0.8333… The fraction is exact, and the decimal is only a way of writing it.
What this calculator does
A fraction calculator does exact arithmetic on fractions. Type two fractions, mixed numbers, whole numbers or short decimals, choose add, subtract, multiply or divide, and you get the answer in lowest terms, as a mixed number and as a decimal, with each step of the working.
Nothing is ever rounded. Every step uses whole-number arithmetic, so the answer is exactly right however awkward the denominators are.
Entering numbers
| You type | It is read as |
|---|---|
3/4 |
three quarters |
1 1/2 |
one and a half, which is 3/2 |
-2/3 |
minus two thirds |
7 |
seven, which is 7/1 |
0.75 |
75/100, which reduces to 3/4 |
A denominator of zero is refused, and so is division by zero.
Adding and subtracting
Fractions can only be added when they share a denominator, so first find a common denominator. The best choice is the lowest common multiple of the two denominators.
1/2 + 1/3. The lowest common multiple of 2 and 3 is 6. Then 1/2 = 3/6 and 1/3 = 2/6, so the sum is 3/6 + 2/6 = 5/6, which is 0.8(3) as a decimal.
3/4 − 5/6. The lowest common multiple of 4 and 6 is 12. Then 3/4 = 9/12 and 5/6 = 10/12, so the difference is 9/12 − 10/12 = −1/12.
Multiplying
Multiply the tops and multiply the bottoms, then reduce.
2/3 × 9/4 = (2 × 9) / (3 × 4) = 18/12. The greatest common divisor of 18 and 12 is 6, so this reduces to 3/2, which is 1 1/2 as a mixed number and 1.5 as a decimal.
Dividing
Dividing by a fraction is the same as multiplying by its reciprocal, which is the fraction turned upside down.
1/2 ÷ 1/4 = 1/2 × 4/1 = 4/2 = 2.
Dividing by zero, or by a fraction equal to zero such as 0/5, is not defined, and the calculator says so.
Mixed numbers
A mixed number is a whole number and a fraction, such as 1 1/2. To work with it, turn it into an improper fraction: multiply the whole number by the denominator and add the numerator. So 1 1/2 is (1 × 2 + 1)/2 = 3/2, and 2 3/4 is (2 × 4 + 3)/4 = 11/4.
1 1/2 + 2 3/4 = 3/2 + 11/4 = 6/4 + 11/4 = 17/4. To write that as a mixed number, divide: 17 ÷ 4 is 4 remainder 1, so it is 4 1/4.
The calculator does this conversion both ways. If the answer is bigger than 1 it shows the mixed number as well.
Lowest terms
A fraction is in lowest terms when the top and bottom have no common factor except 1. To reduce one, divide both by their greatest common divisor. 18/12 has the greatest common divisor 6, so it becomes 3/2. The calculator shows the unreduced answer too when it differs, so you can see the step.
Fractions as decimals
Every fraction is either a finite decimal or a repeating one. The calculator writes the repeating digits in brackets.
| Fraction | Decimal |
|---|---|
| 1/8 | 0.125 |
| 1/3 | 0.(3), which is 0.3333… |
| 5/6 | 0.8(3), which is 0.8333… |
| 7/12 | 0.58(3), which is 0.58333… |
| 1/7 | 0.(142857) |
A fraction in lowest terms has a finite decimal only if its denominator has no prime factors other than 2 and 5. That is why 1/8 and 3/20 finish, and 1/3, 1/6 and 1/7 do not.
The decimal is a way of writing the fraction, not the other way round. Adding 0.333 three times gives 0.999, while 1/3 + 1/3 + 1/3 is exactly 1. This is why the answer is given as a fraction first.
Common mistakes
- Adding the tops and the bottoms. 1/2 + 1/3 is not 2/5. Find a common denominator first.
- Forgetting to flip when dividing. 1/2 ÷ 1/4 is 2, not 1/8.
- Leaving an answer unreduced. 18/12 and 3/2 are the same number, but 3/2 is the answer.
- Treating a mixed number as a product. 2 3/4 means 2 + 3/4, not 2 × 3/4.
For percentages, which are fractions out of 100, use the percentage calculator and the percentage change calculator. To find the factors that go into reducing a fraction, try the common factor calculator. For the average of a list, there is the average calculator.
How it is calculated
Each input is read as a fraction of two whole numbers (BigInt), with the sign on the top. For addition and subtraction both fractions are rewritten over the lowest common multiple of their denominators. Multiplication multiplies tops and bottoms, and division multiplies by the reciprocal, with the sign moved to the top. The result is divided by the greatest common divisor of top and bottom. The decimal is found by long division, noting each remainder, and the digits between the first repeat of a remainder are shown in brackets. Each part may have up to 18 digits.
Frequently asked questions
How do you add fractions with different denominators?
Rewrite both over a common denominator, add the tops, and reduce. For 1/2 + 1/3 the lowest common multiple of 2 and 3 is 6, so it is 3/6 + 2/6 = 5/6.
How do you multiply fractions?
Multiply the tops, multiply the bottoms, and reduce. 2/3 × 9/4 = 18/12, and dividing the top and bottom by their greatest common divisor, 6, gives 3/2, which is 1 1/2.
How do you divide fractions?
Multiply by the reciprocal of the second fraction, the second one turned upside down. 1/2 ÷ 1/4 is 1/2 × 4/1 = 4/2 = 2.
How do I enter a mixed number?
Type the whole number, a space and then the fraction, such as 1 1/2. The calculator turns it into 3/2 before working. 1 1/2 + 2 3/4 is 3/2 + 11/4 = 17/4, which is 4 1/4.
What does the bracket in a decimal mean?
The digits inside it repeat for ever. 5/6 is 0.8(3), which is 0.8333…, and 1/7 is 0.(142857). A fraction in lowest terms gives a finite decimal only when its denominator has no prime factors other than 2 and 5.
Why is the answer a fraction and not a rounded decimal?
Fractions are exact. 1/3 + 1/3 + 1/3 is exactly 1, but 0.333 + 0.333 + 0.333 is 0.999. The calculator uses whole-number arithmetic with no rounding at any step.
Related calculators
- Percentage CalculatorPick the question you are actually asking.
- Percentage Change CalculatorEnter a starting and a new value to get the percentage change, or apply a percentage to a value, or find the value before a change.
- Average CalculatorPaste a list of numbers to get the average, with the sum, count, smallest and largest.
- Common Factor CalculatorEnter two to six whole numbers.
- Number Sequence CalculatorChoose the type of sequence, give the first term and the rule, and say how many terms.
- Statistics CalculatorEnter your numbers, separated by commas, spaces or new lines.