Fraction Calculator
Enter two fractions and choose an operation. The answer is reduced to lowest terms and shown as a fraction, as a mixed number where there is one, and as a decimal, with the steps written out.
Fraction calculator
Result
5/6
1/2 + 1/3 = 5/6
- Simplified result
- 5/6
- Decimal
- ≈ 0.833333
Steps
- Over the least common denominator, 6: 3/6 + 2/6 = 5/6.
- 5/6 is already in lowest terms.
≈ marks an approximation: the exact value has more decimal places than are shown.
How fractions are combined
A fraction is one whole number over another. The denominator, underneath, says how many equal parts make one whole, and the numerator, on top, counts how many of those parts there are. 3/4 is three parts of a whole cut into four.
Multiplying and dividing work directly on the numerators and denominators. Adding and subtracting do not: the two fractions first have to be rewritten with the same denominator, so that the parts being counted are the same size.
The rules the calculator applies
- Add
- a/b + c/d = (a × d + c × b) ÷ (b × d)
- Subtract
- a/b − c/d = (a × d − c × b) ÷ (b × d)
- Multiply
- a/b × c/d = (a × c) ÷ (b × d)
- Divide
- a/b ÷ c/d = (a × d) ÷ (b × c)
For adding and subtracting, the calculator uses the least common denominator, the smallest number both denominators divide into, so the numbers stay small; the answer is the same as with b × d. Every answer is then simplified by dividing the numerator and the denominator by their greatest common divisor, found with Euclid’s algorithm.
Worked examples
Adding fractions with different denominators
1/2 + 1/3: the least common denominator of 2 and 3 is 6. Over 6 the sum is 3/6 + 2/6 = 5/6, which cannot be reduced further.
A product that simplifies
3/4 × 2/5 = 6/20. The greatest common divisor of 6 and 20 is 2, so the answer in lowest terms is 3/10, which is 0.3 as a decimal.
A quotient greater than one
7/8 ÷ 1/4 is 7/8 × 4/1, which is 28/8. Dividing top and bottom by 4 gives 7/2, or 3 1/2 as a mixed number.
Reading the result
- Numerators and denominators must be whole numbers of up to 15 digits. A denominator cannot be 0, because a whole cannot be cut into zero parts.
- A plus or minus sign may go on the numerator or on the denominator. −1/2 and 1/−2 are the same number, and the answer always carries its sign on the numerator.
- Dividing by a fraction whose numerator is 0 is dividing by zero. The calculator says so and gives no answer.
- The fraction and the mixed number are always exact. The decimal is exact when the simplified denominator has no prime factors other than 2 and 5. Otherwise it repeats forever and is shown as an approximation, marked with ≈: normally with up to six decimal places, more for a very small value.
- Mixed numbers appear in the answer but are not accepted as input. Enter 2 1/3 as 7/3.
Common questions
- How do I enter a whole number or a mixed number?
- Put a whole number over 1, so 5 is 5/1. Turn a mixed number into an improper fraction first: multiply the whole part by the denominator and add the numerator, so 2 1/3 becomes (2 × 3 + 1)/3, which is 7/3.
- Why is my answer different from the calculator’s when I multiply the denominators?
- It is the same number, written in lowest terms. 1/4 + 1/4 worked over the denominator 16 comes to 8/16, and over the denominator 4 it comes to 2/4. Both reduce to 1/2. Two fractions are equal when cross-multiplying gives the same product: 8 × 2 and 16 × 1 are both 16.
- What is the difference between a proper and an improper fraction?
- A proper fraction has a numerator smaller than its denominator, so it is less than one whole, like 3/4. An improper fraction has a numerator at least as large as its denominator, like 7/2. An improper fraction can be rewritten as a mixed number, here 3 1/2, and both forms name the same quantity.
- Which fractions have a decimal that ends?
- Those whose denominator, once the fraction is simplified, is built only from the factors 2 and 5. 3/8 is 0.375 because 8 is 2 × 2 × 2. Fractions such as 1/3, 1/6 and 1/7 never end: their digits repeat in a cycle.
Other calculators
- Percentage Calculator
Find what percent one number is of another, calculate a percentage of an amount, or raise or lower a value by a percentage.
- Percentage Change Calculator
Compare a starting value with a final one: the difference between them, the change as a percentage, and whether it went up or down.
- Average Calculator
Paste a list of numbers to get its mean, median, mode and range, with the count and the sum they are based on.
- Ratio Calculator
Reduce a ratio such as 12 : 18 to its simplest form, or scale a ratio to find the missing term of an equivalent one.