Fraction Calculator

Add, subtract, multiply and divide fractions and mixed numbers with steps. Each answer is simplified and shown as a mixed number and a decimal. Converts decimals too.

Add, subtract, multiply or divide two to six fractions.

x = numerator (top number), y = denominator (bottom number)

Support ToolPrairie

Found our calculator helpful? Contributions are optional; no tax receipt is issued.

What are the numerator and denominator?

A fraction describes equal parts of a whole. In 3/4, the bottom number (the denominator) says the whole is cut into 4 equal parts, and the top number (the numerator) says you have 3 of them.

numerator (x): 3 parts shadeddenominator (y): 4 equal parts

A whole number such as 5 counts complete wholes, and a mixed number such as 1 3/4 is a whole number plus a fraction. An improper fraction such as 7/4 has a numerator that is larger than its denominator, so it is worth more than one whole.

How to enter fractions and mixed numbers

Choose the calculation type first. In Fractions, each value is two small boxes: x, the numerator, on top and y, the denominator, below. Mixed numbers, Simplify a fraction and Fraction to decimal add a w box for the whole number; use it only for a mixed number or a whole number. Type a minus sign before the first number for a negative value.

You can also paste a value such as 3/4 or -1 3/4 into any box and it is spread across the boxes. A mixed number needs a calculation type with a w box; if you paste one into Fractions, the calculator offers to switch to Mixed numbers. A decimal such as 1.5 is not a fraction entry; use Decimal to fraction for it.

How to add and subtract fractions

  1. Find a common denominator: a number that both denominators divide into. The least common denominator is the smallest such number.
  2. Rewrite each fraction with that denominator by multiplying its top and bottom by the same number.
  3. Add or subtract the numerators and keep the denominator.
  4. Simplify the result by dividing the top and bottom by their greatest common divisor.

How to multiply and divide fractions

To multiply, multiply the numerators together and the denominators together, then simplify. To divide, flip the second fraction to get its reciprocal and multiply.

Working with three or more values

Start with two values and add more, up to six in one line. The calculator uses the usual order of operations: multiplication and division first, then addition and subtraction, each from left to right. For example, 1/2 + 2/3 × 3/4 is worked out as 1/2 + 1/2 = 1. There are no parentheses.

How to simplify a fraction

A fraction is in lowest terms when its numerator and denominator share no common factor except 1. To simplify, divide both by their greatest common divisor (GCD). For 12/18 the GCD is 6, so 12/18 = 2/3. Multiplying the top and bottom by the same number gives equivalent fractions: 2/3 = 4/6 = 6/9 = 8/12.

Improper fractions and mixed numbers

To change an improper fraction to a mixed number, divide the numerator by the denominator: 7 ÷ 4 = 1 remainder 3, so 7/4 = 1 3/4. To go back, multiply the whole number by the denominator and add the numerator: 1 3/4 = (1 × 4 + 3)/4 = 7/4.

Fractions and decimals

To change a fraction to a decimal, divide the numerator by the denominator: 3/4 = 3 ÷ 4 = 0.75. Some fractions end, like 1/8 = 0.125. Others repeat forever, like 1/3 = 0.3333… The calculator writes a repeating decimal with the repeating digits in brackets, for example 1/3 = 0.(3) and 5/6 = 0.8(3), and also shows the decimal rounded to the number of places you choose. A fraction in lowest terms ends only when its denominator has no prime factors other than 2 and 5.

To change a decimal to a fraction, write the digits over a power of ten and simplify: 0.125 = 125/1000 = 1/8, and 1.5 = 15/10 = 3/2 = 1 1/2. The calculator converts exactly the number you type.

Formulas

Limits and what this calculator does not do

Each whole number, numerator and denominator can have up to 30 digits, and results are exact however long they get. You can combine two to six values in one calculation. A decimal can have up to 30 digits before and after the point. The calculator works only with fractions, mixed numbers and whole numbers in the value boxes, so it does not handle parentheses, powers, square roots, percentages, measurements such as inches, or algebra with letters.

Fraction questions

How do I add fractions with different denominators?

Find a common denominator, rewrite each fraction with it, add the numerators and simplify. For 1/2 + 1/3, use 6: 3/6 + 2/6 = 5/6. Enter both fractions, choose + between them and open Show working to see each step.

How do I subtract fractions and mixed numbers?

Subtract the same way as adding: use a common denominator, then subtract the numerators. For mixed numbers, turn each into an improper fraction first. 3 1/2 - 1 3/4 = 7/2 - 7/4 = 14/4 - 7/4 = 7/4 = 1 3/4.

How do I multiply fractions?

Multiply the numerators together, multiply the denominators together and simplify. 2/5 × 3/4 = 6/20 = 3/10.

How do I divide fractions?

Flip the second fraction (use its reciprocal) and multiply. 2/3 ÷ 4/5 = 2/3 × 5/4 = 10/12 = 5/6. You cannot divide by zero.

How do I add, subtract, multiply or divide a fraction and a whole number?

Write the whole number as a fraction over 1, then use the usual steps. 3 × 2/5 = 3/1 × 2/5 = 6/5 = 1 1/5, and 4 - 1/3 = 4/1 - 1/3 = 12/3 - 1/3 = 11/3 = 3 2/3. In the calculator, choose Mixed numbers, type the whole number in the w box and leave x and y empty.

How do I simplify or reduce a fraction?

Divide the numerator and denominator by their greatest common divisor. For 18/24 the greatest common divisor is 6, so it simplifies to 3/4. Choose Simplify a fraction to see the steps.

How do I convert an improper fraction to a mixed number, and back?

Divide the numerator by the denominator: 11 ÷ 4 = 2 remainder 3, so 11/4 = 2 3/4. To go back, multiply the whole number by the denominator and add the numerator: (2 × 4 + 3)/4 = 11/4.

How do I convert a fraction to a decimal?

Divide the numerator by the denominator. 5/8 = 5 ÷ 8 = 0.625. Choose Fraction to decimal for this conversion; every other answer also shows its decimal value, rounded to the number of decimal places you choose.

What does the bracket in a repeating decimal such as 0.8(3) mean?

The digits inside the brackets repeat forever. 5/6 = 0.8333… = 0.8(3), and 1/7 = 0.(142857). The decimal row shows the rounded value as well.

How do I convert a decimal to a fraction?

Write the digits over a power of ten and simplify: 0.375 = 375/1000 = 3/8. Choose Decimal to fraction and type the number. It converts exactly what you type, so a rounded decimal such as 0.333 becomes 333/1000, not 1/3.

How do I find equivalent fractions?

Multiply the numerator and denominator by the same number. 3/4 = 6/8 = 9/12 = 12/16. Simplify a fraction lists the next five equivalent fractions.

What are the input limits, and why do I get a denominator or divide-by-zero error?

Each whole number, numerator and denominator can have up to 30 digits. A denominator of 0 is not a valid fraction, because it would mean zero equal parts. Division by a value equal to zero is undefined, so there is no answer.

Can I add, subtract, multiply or divide three or more fractions, and in what order are they worked out?

Yes, up to six values. Press Add fraction (Add number in Mixed numbers), then choose the operation between each pair: + to add, - to subtract, x to multiply or / to divide. Multiplication and division are worked out first, then addition and subtraction, each from left to right. 1/2 + 2/3 × 3/4 = 1/2 + 1/2 = 1.

What are the numerator and the denominator, and which number goes where?

The numerator is the top number: how many parts you have. The denominator is the bottom number: how many equal parts make one whole. In 3/4, 3 is the numerator (x in the calculator) and 4 is the denominator (y).