CalcTrace

Fraction Calculator

Add, subtract, multiply or divide two fractions or mixed numbers, reduce a fraction to its lowest terms, or turn a decimal into a fraction. The answer is exact and is given as a simplified fraction, a mixed number and a decimal, with every step shown.

Last updated .

Your fractions

What do you want to do?
First fraction
Operation
Second fraction

Leave “Whole number” empty for a plain fraction. For a mixed number such as 1½, enter 1, 1 and 2. For a negative mixed number, put the minus sign on the whole number.

Result

Answer

–

–Mixed number
–Decimal
–Percentage
–Before simplifying

Show the working

    The rules for fraction arithmetic

    A fraction is a division that has not been carried out. The top number (the numerator) counts parts, and the bottom number (the denominator) says how many of those parts make one whole. Every calculation on this page comes down to four rules.

    Add or subtract: a/b ± c/d = (a × L/b ± c × L/d) / L

    Multiply: a/b × c/d = (a × c) / (b × d)

    Divide: a/b ÷ c/d = (a × d) / (b × c)

    Simplify: n/d = (n ÷ g) / (d ÷ g)

    Here a and c are the numerators, b and d are the denominators (which can never be zero), L is the lowest common denominator, meaning the smallest number that both b and d divide into, and g is the greatest common divisor of n and d, the largest whole number that divides both exactly. A mixed number is converted first: w n/d = (w × d + n) / d, so 1 1/2 becomes 3/2.

    Worked example: 2/3 + 3/4

    1. Find the lowest common denominator. The multiples of 4 are 4, 8, 12. The first one that 3 also divides into is 12, so L = 12.
    2. Rewrite both fractions over 12. 2/3 = 8/12, because top and bottom are both multiplied by 4. 3/4 = 9/12, because both are multiplied by 3.
    3. Add the numerators. 8 + 9 = 17, so the sum is 17/12.
    4. Simplify. 17 and 12 share no factor other than 1, so 17/12 is already in lowest terms.
    5. Write it as a mixed number. 17 ÷ 12 = 1 remainder 5, giving 1 5/12, or 1.41666… as a decimal.

    Multiplying and dividing need no common denominator. 3/8 × 4/9 = 12/72, and dividing top and bottom by 12 gives 1/6. To divide, turn the second fraction upside down and multiply: 5/6 ÷ 2/3 = 5/6 × 3/2 = 15/12 = 5/4, which is 1 1/4.

    Finding the greatest common divisor

    For small numbers you can spot the common factor. For larger ones, Euclid’s method always works: divide the larger number by the smaller, then keep dividing the previous divisor by the remainder until the remainder is zero. The last non-zero remainder is the answer. To simplify 18/48:

    1. 48 = 2 × 18 + 12
    2. 18 = 1 × 12 + 6
    3. 12 = 2 × 6 + 0

    The greatest common divisor is 6, so 18/48 = 3/8. The calculator shows these division steps whenever it simplifies.

    Fractions and decimals

    To turn a decimal into a fraction, write it over a power of ten and simplify. 0.375 has three decimal places, so it is 375/1000. The greatest common divisor of 375 and 1000 is 125, which gives 3/8.

    Going the other way, divide the top by the bottom. The decimal ends only when the simplified denominator has no prime factors other than 2 and 5: 3/8 = 0.375 and 7/20 = 0.35. Any other denominator gives a block of digits that repeats for ever: 1/3 = 0.333…, 5/12 = 0.41666…, and 1/7 = 0.142857 with all six digits repeating. The calculator draws a line over the repeating block instead of rounding it.

    A recurring decimal can be converted by hand. Call it x. For x = 0.333…, 10x = 3.333…, so 10x − x = 3, which means 9x = 3 and x = 3/9 = 1/3.

    Mistakes to avoid

    Adding the denominators

    1/2 + 1/3 is not 2/5. A quick check shows why: 2/5 is 0.4, which is less than the 1/2 you started with. The parts must be the same size before they can be counted together, so the sum is 3/6 + 2/6 = 5/6.

    Misreading a negative mixed number

    −2 1/3 means −(2 + 1/3) = −7/3. It does not mean −2 + 1/3, which would be −5/3. The minus sign applies to the whole number and the fraction together.

    Expecting division to make things smaller

    Dividing by a fraction smaller than one gives a larger answer. 6 ÷ 1/2 asks how many halves fit into 6, and the answer is 12.

    Rounding too early

    If you convert to decimals part-way through, small rounding errors build up. Keeping everything as fractions, as this calculator does, means 1/3 + 1/6 comes out as exactly 1/2.