Fraction Calculator
Add, subtract, multiply and divide fractions and mixed numbers, including negatives. See every step, the simplified answer, mixed number and decimal.
Entering fractions
Type each number the way you would write it: a whole number (3), a fraction (3/4), a mixed number with a space (1 3/4) or a decimal (0.75). Put a minus sign in front for a negative number. A negative mixed number such as -1 1/2 means โ(1 + 1/2) = โ3/2, which is how it is read in math class. The answer appears as a simplified fraction, a mixed number, a decimal and a percent, with every step shown.
Adding and subtracting fractions
Fractions can only be added or subtracted when they have the same denominator (bottom number). If they already match, add or subtract the numerators and keep the denominator. If not, rewrite both over a common denominator first. The calculator uses the least common denominator (LCD), the smallest number both denominators divide into, because it keeps the numbers small.
Example: 2/3 + 3/4
The LCD of 3 and 4 is 12. Then 2/3 = 8/12 and 3/4 = 9/12, so the sum is 17/12, which is 1 5/12 as a mixed number.
Example: 5/6 โ 1/4
The LCD of 6 and 4 is 12 (not 24, which also works but needs simplifying afterward). 5/6 = 10/12 and 1/4 = 3/12, so the difference is 7/12.
Example with mixed numbers: 2 1/3 + 1 3/4
Convert to improper fractions first: 2 1/3 = (2 ร 3 + 1)/3 = 7/3 and 1 3/4 = (1 ร 4 + 3)/4 = 7/4. Over the LCD of 12: 28/12 + 21/12 = 49/12 = 4 1/12.
Multiplying fractions
Multiply the numerators together and the denominators together, then simplify. No common denominator is needed.
Example: 1 1/2 ร 2 2/3 = 3/2 ร 8/3 = 24/6 = 4. You can also cancel before multiplying: the 3 on top and the 3 on the bottom divide out, leaving 1/2 ร 8/1 = 8/2 = 4. Either way gives the same answer.
Dividing fractions
To divide by a fraction, multiply by its reciprocal: keep the first fraction, change รท to ร, and flip the second fraction upside down.
Example: 3/4 รท 5/8 = 3/4 ร 8/5 = 24/20 = 6/5 = 1 1/5. Dividing by zero is undefined, because 0 has no reciprocal, so the calculator shows an error if the second number is 0.
Negative fractions
A negative fraction can carry its sign on the top, the bottom or in front: โ1/2, 1/โ2 and โ(1/2) are the same number. The calculator always moves the sign to the numerator. The usual sign rules apply:
- โ1/2 + 1/3 = โ3/6 + 2/6 = โ1/6
- A negative times a negative is positive: โ2/3 ร โ3/5 = 6/15 = 2/5
- A positive divided by a negative is negative: 3/4 รท (โ1/2) = 3/4 ร (โ2/1) = โ3/2
Simplifying fractions
A fraction is in lowest terms when the numerator and denominator have no common factor except 1. To simplify, divide both by their greatest common divisor (GCD). The calculator finds the GCD with Euclid's algorithm: divide the larger number by the smaller, then repeat with the smaller number and the remainder until the remainder is 0. The last nonzero remainder is the GCD. For 84/126:
84 = 2 ร 42 + 0
So the GCD is 42, and 84/126 = (84 รท 42)/(126 รท 42) = 2/3.
| Fraction | GCD | Simplified |
|---|---|---|
| 6/8 | 2 | 3/4 |
| 12/16 | 4 | 3/4 |
| 18/24 | 6 | 3/4 |
| 15/45 | 15 | 1/3 |
| 42/56 | 14 | 3/4 |
| 84/126 | 42 | 2/3 |
| 144/360 | 72 | 2/5 |
Improper fractions and mixed numbers
An improper fraction has a numerator at least as large as its denominator, like 17/12. To turn it into a mixed number, divide: 17 รท 12 = 1 remainder 5, so 17/12 = 1 5/12. To go back, multiply the whole number by the denominator and add the numerator: (1 ร 12 + 5)/12 = 17/12. Improper fractions are easier to calculate with; mixed numbers are easier to picture.
Fractions, decimals and percents
To turn a fraction into a decimal, divide the numerator by the denominator; multiply by 100 for a percent. Some fractions give decimals that repeat forever. Below, digits in parentheses repeat, so 0.(3) means 0.333โฆ
| Fraction | Decimal | Percent |
|---|---|---|
| 1/2 | 0.5 | 50% |
| 1/3 | 0.(3) | โ 33.33% |
| 2/3 | 0.(6) | โ 66.67% |
| 1/4 | 0.25 | 25% |
| 3/4 | 0.75 | 75% |
| 1/5 | 0.2 | 20% |
| 1/6 | 0.1(6) | โ 16.67% |
| 1/8 | 0.125 | 12.5% |
| 3/8 | 0.375 | 37.5% |
| 5/8 | 0.625 | 62.5% |
| 7/8 | 0.875 | 87.5% |
| 1/10 | 0.1 | 10% |
| 1/12 | 0.08(3) | โ 8.33% |
| 1/16 | 0.0625 | 6.25% |
Decimal to fraction
Write the decimal over a power of 10 with one zero per decimal place, then simplify. For 0.375: 375/1000, the GCD is 125, so 0.375 = 3/8. For a repeating decimal, put the repeating block over the same number of 9s: 0.(27) = 27/99 = 3/11. If some digits come before the repeat, as in 0.1(6), subtract the non-repeating part: (16 โ 1)/90 = 15/90 = 1/6. The Decimal to fraction tab accepts the same parentheses notation.
For measurements you often want the nearest fraction on a ruler rather than an exact one. 0.3 inch is exactly 3/10, but the nearest sixteenth is 5/16 (0.3125). The converter can round to the nearest 1/2 through 1/64, or find the closest fraction with a denominator up to 10, 100 or 1,000, which turns 0.333 into 1/3.
Related tools
For percent problems such as "what percent is 3 of 8", use the percentage calculator. Ratios simplify the same way fractions do, so the aspect ratio calculator reduces 1920 ร 1080 to 16:9 using a GCD. For powers, roots and longer expressions, try the scientific calculator.