MathsFractions & Decimals

Fraction
calculator.

This fraction calculator adds, subtracts, multiplies and divides fractions exactly.

How it’s worked out

A fraction has a top number, the numerator, over a bottom number, the denominator. The bottom number says how many equal pieces make one whole. The top number says how many of those pieces you have. So 34\tfrac{3}{4} is 3 pieces of a whole cut into 4.

Adding and subtracting

You can only add pieces of the same size. So both fractions first get the same bottom number. The tool uses the smallest one that works, the least common denominator (LCD). It is the smallest number both bottoms divide into. Then you add or subtract the tops and keep the bottom:

aL+cL\displaystyle \frac{a}{L} + \frac{c}{L}=a+cL\displaystyle {}= \frac{a + c}{L}

For 34+23\tfrac{3}{4} + \tfrac{2}{3} the LCD is 12. Each fraction is scaled up to twelfths, and the tops are added:

34\displaystyle \frac{3}{4}=912\displaystyle {}= \frac{9}{12}23\displaystyle \frac{2}{3}=812\displaystyle {}= \frac{8}{12}34+23\displaystyle \frac{3}{4} + \frac{2}{3}=1712\displaystyle {}= \frac{17}{12}

Multiplying

No common bottom is needed. Multiply the tops together and the bottoms together:

ab×cd\displaystyle \frac{a}{b} \times \frac{c}{d}=a×cb×d\displaystyle {}= \frac{a \times c}{b \times d}

The tool cancels shared factors before it multiplies, so the numbers stay small. For 49×1516\tfrac{4}{9} \times \tfrac{15}{16} it divides 4 and 16 by 4, and 15 and 9 by 3. That leaves (1×5)/(3×4)=512(1 \times 5) / (3 \times 4) = \frac{5}{12}.

Dividing

Flip the second fraction upside down, then multiply. The flipped fraction is called the reciprocal:

ab÷cd\displaystyle \frac{a}{b} \div \frac{c}{d}=ab×dc\displaystyle {}= \frac{a}{b} \times \frac{d}{c}

This works because dividing by a number is the same as multiplying by one over it. It also shows why you cannot divide by a fraction equal to 0: its flip would have 0 on the bottom.

Simplifying and mixed numbers

Last, the tool divides the top and bottom by their greatest common divisor, the biggest number that goes into both. It finds it with Euclid's method of repeated division (Elements, Book VII). The answer is then in lowest terms. When the top is bigger than the bottom, you also get the mixed number.

A mixed number goes the other way before any sum starts. Multiply the whole part by the bottom and add the top:

214\displaystyle 2\tfrac{1}{4}=2×4+14\displaystyle {}= \frac{2 \times 4 + 1}{4}=94\displaystyle {}= \frac{9}{4}

All of this is done with whole numbers, never rounded decimals. That is why 13+13+13\tfrac{1}{3} + \tfrac{1}{3} + \tfrac{1}{3} comes out as exactly 1.

Worked examples

Maya adds flour for a recipe

Maya has 23\tfrac{2}{3} cup of flour in the bowl and the recipe says to add 34\tfrac{3}{4} cup more. How much flour is in the bowl now?

34+23\displaystyle \frac{3}{4} + \frac{2}{3}=912+812\displaystyle {}= \frac{9}{12} + \frac{8}{12}=1712\displaystyle {}= \frac{17}{12}=1512\displaystyle {}= 1\tfrac{5}{12}

She has 15121\tfrac{5}{12} cups. That is 112\frac{1}{12} cup short of 1121\tfrac{1}{2} cups, so a level one-and-a-half-cup scoop would be a touch too much.

Open this example in the tool

Leo trims a board

Leo has a shelf board 8148\tfrac{1}{4} inches long and needs to cut off 5385\tfrac{3}{8} inches. Turn on Mixed numbers and type both lengths.

334−438\displaystyle \frac{33}{4} - \frac{43}{8}=668−438\displaystyle {}= \frac{66}{8} - \frac{43}{8}=238\displaystyle {}= \frac{23}{8}

The piece left is 238\frac{23}{8}, or 2782\tfrac{7}{8} inches. Eighths of an inch match the marks on a tape measure, so you can read it straight off. If the saw blade eats 18\tfrac{1}{8} inch, the real piece is 2342\tfrac{3}{4} inches.

Open this example in the tool

Ana splits yogurt into bowls

Ana has 2142\tfrac{1}{4} cups of yogurt and puts 34\tfrac{3}{4} cup in each bowl. How many bowls can she fill?

94÷34\displaystyle \frac{9}{4} \div \frac{3}{4}=94×43\displaystyle {}= \frac{9}{4} \times \frac{4}{3}=3612\displaystyle {}= \frac{36}{12}=3\displaystyle {}= 3

She fills exactly 3 bowls. With half-cup bowls the answer is 4124\tfrac{1}{2}, so the last bowl is only half full. The sentence under the answer says this in words.

Open this example in the tool

Reading your result

Lowest terms. The answer is reduced until the top and bottom share no factor except 1. So 68\tfrac{6}{8} becomes 34\frac{3}{4}. Most answer keys want this form. It matches the Common Core grade 5 standards for fraction sums, 5.NF.1 and 5.NF.4. Under the answer you see the form before reducing, so you can match your own working.

Improper or mixed. 1712\frac{17}{12} and 15121\tfrac{5}{12} are the same amount. Recipes and rulers use the mixed form. Algebra and later sums are easier with the improper form, since it is one fraction.

The decimal. Some fractions end as decimals and some repeat forever. In lowest terms, a fraction ends only when its bottom number has no prime factors other than 2 and 5 (Hardy and Wright, chapter 9). So 78\tfrac{7}{8} is 0.8750.875, but 512\tfrac{5}{12} is 0.4160.41\overline{6}, with the bar over the digit that repeats. The Decimal tile shows the repeat the same way. The Decimal switch rounds to the places you pick.

Bigger or smaller than you expected? Adding two fractions under 1 can give more than 1. Multiplying by a fraction under 1 always gives less than you started with. Dividing by one gives more. If your answer goes the other way, check which fraction you flipped.

Eighths of an inch as decimals

Tape measures mark eighths. These come from the same decimal engine as the tile.

FractionLowest termsDecimalPercent
18\tfrac{1}{8}18\tfrac{1}{8}0.12512.5%
28\tfrac{2}{8}14\tfrac{1}{4}0.2525%
38\tfrac{3}{8}38\tfrac{3}{8}0.37537.5%
48\tfrac{4}{8}12\tfrac{1}{2}0.550%
58\tfrac{5}{8}58\tfrac{5}{8}0.62562.5%
68\tfrac{6}{8}34\tfrac{3}{4}0.7575%
78\tfrac{7}{8}78\tfrac{7}{8}0.87587.5%

Common mistakes

  • Adding the tops and the bottoms. 12+13\tfrac{1}{2} + \tfrac{1}{3} is not 25\tfrac{2}{5}. Two fifths is less than one half, so it cannot be right. The real answer is 56\frac{5}{6}, which is 1330\frac{13}{30} more than the wrong one.
  • Flipping the wrong fraction. Only the second fraction is flipped. 34÷12\tfrac{3}{4} \div \tfrac{1}{2} is 32\frac{3}{2}. Flip the first one by mistake and you get 23\frac{2}{3}, the upside-down answer.
  • Multiplying mixed numbers part by part. 212×1132\tfrac{1}{2} \times 1\tfrac{1}{3} is 3133\tfrac{1}{3}. Multiplying the wholes and the fractions on their own gives 2162\tfrac{1}{6}, because it skips the cross terms. Change both to improper fractions first. The working does this for you.
  • Putting the minus sign in the wrong place. −214-2\tfrac{1}{4} means the whole amount is negative, so it equals −94-\frac{9}{4}. Treating it as −2+14-2 + \tfrac{1}{4} gives −74-\frac{7}{4}. Type the minus in the whole-number box only.
  • Borrowing in mixed subtraction. In 513−2345\tfrac{1}{3} - 2\tfrac{3}{4} the second fraction part is bigger, so you have to borrow a whole. Working with improper fractions avoids that. The answer is 27122\tfrac{7}{12}.
  • Typing a decimal. The boxes take whole numbers. For 2.5, type 5 over 2, or turn on Mixed numbers and type 2 and 1 over 2.

Questions people ask

Give both fractions the same bottom number first, ideally the least common denominator, then add the top numbers. For one half plus one third the LCD is 6, so you add three sixths and two sixths to get five sixths. Reduce the answer to lowest terms at the end.

Sources