Math & Finance Tools

Fraction Calculator

Add, subtract, multiply and divide fractions and mixed numbers with step-by-step working, simplify fractions and convert decimals.

  • Free
  • No sign-up
  • Runs in your browser

Fraction Calculator

Type fractions (3/4), mixed numbers with a space (2 1/3), whole numbers (5) or decimals (0.75).

Answer
--
Step by step

    Runs in your browser. Your inputs never leave your device.

    Quick Answer

    To add or subtract fractions, rewrite them over a common denominator and combine the numerators: 1/2 + 1/3 = 3/6 + 2/6 = 5/6. To multiply, multiply tops and bottoms; to divide, multiply by the reciprocal: 3/4 ÷ 1/2 = 3/4 × 2/1 = 6/4 = 3/2 = 1 1/2. Always finish by dividing top and bottom by their greatest common divisor.

    How to Use

    1. Choose a mode. Calculate with two fractions, simplify one fraction, or convert a decimal to a fraction.
    2. Type the numbers. Enter fractions like 3/4, mixed numbers like 2 1/3, whole numbers or decimals.
    3. Pick the operation. Choose add, subtract, multiply or divide.
    4. Read the answer and steps. See the simplified fraction, mixed number, decimal and every step of the working.

    Fraction Rules in One Table

    How to add, subtract, multiply and divide fractions
    OperationWhat to doExample
    AddCommon denominator, add numerators1/4 + 2/3 = 3/12 + 8/12 = 11/12
    SubtractCommon denominator, subtract numerators5/6 − 1/4 = 10/12 − 3/12 = 7/12
    MultiplyNumerator × numerator, denominator × denominator2/3 × 3/5 = 6/15 = 2/5
    DivideMultiply by the reciprocal of the second fraction2/3 ÷ 4/9 = 2/3 × 9/4 = 18/12 = 3/2
    SimplifyDivide top and bottom by their GCD18/24: GCD(18, 24) = 6, so 18/24 = 3/4

    Mixed Numbers, Improper Fractions and Decimals

    An improper fraction has a numerator at least as large as its denominator, such as 7/3. A mixed number writes the same value as a whole number plus a proper fraction: 7 ÷ 3 = 2 remainder 1, so 7/3 = 2 1/3. Calculations are easiest with improper fractions, which is why the calculator converts mixed numbers first and converts back at the end.

    Every fraction is also a decimal. If the simplified denominator has no prime factors other than 2 and 5, the decimal ends (3/8 = 0.375). Otherwise it repeats forever, and the calculator puts the repeating block in brackets: 1/3 = 0.(3), 5/6 = 0.8(3), 1/7 = 0.(142857). Going the other way, only terminating decimals can be typed exactly, so 0.333 becomes 333/1000, not 1/3.

    How Euclid's Algorithm Finds the GCD

    To simplify 84/126, divide the larger number by the smaller and keep the remainder: 126 = 1 × 84 + 42, then 84 = 2 × 42 + 0. When the remainder reaches 0, the last divisor (42) is the greatest common divisor, so 84/126 = 2/3. The Simplify mode shows each of these lines, which is handy for checking homework by hand.

    All arithmetic uses exact whole-number maths in your browser, so even very large numerators and denominators are never rounded.

    Fraction Rules

    a/b ± c/d = (a·d ± c·b) / (b·d) · a/b × c/d = (a·c) / (b·d) · a/b ÷ c/d = (a·d) / (b·c)

    For addition and subtraction the calculator uses the least common multiple of the denominators, which keeps the numbers small, then adds or subtracts the rewritten numerators. Multiplication multiplies straight across. Division multiplies by the reciprocal of the second fraction, which is impossible if that fraction is zero. The result is reduced by its greatest common divisor (found with Euclid's algorithm) and also shown as a mixed number and a decimal, with any repeating digits in brackets.

    • Mixed number: A whole number and a fraction, such as 2 1/3. It is converted to an improper fraction first: (2 × 3 + 1)/3 = 7/3.
    • LCM: Least common multiple: the smallest number both denominators divide into, used as the common denominator.
    • GCD: Greatest common divisor: the largest number that divides both numerator and denominator, used to simplify.

    Worked Examples

    1/2 + 1/3

    1/2 + 1/3

    1. LCM(2, 3) = 6
    2. 1/2 = 3/6 and 1/3 = 2/6
    3. 3/6 + 2/6 = 5/6, already in lowest terms

    Result: 5/6 = 0.8(3)

    3/4 ÷ 1/2

    3/4 ÷ 1/2

    1. Multiply by the reciprocal: 3/4 × 2/1
    2. (3 × 2)/(4 × 1) = 6/4
    3. GCD(6, 4) = 2, so 6/4 = 3/2

    Result: 3/2 = 1 1/2 = 1.5

    2 1/3 × 3/7

    2 1/3 × 3/7

    1. 2 1/3 = (2 × 3 + 1)/3 = 7/3
    2. 7/3 × 3/7 = 21/21
    3. GCD(21, 21) = 21, so the answer is 1

    Result: 1

    Simplify 6/8 and convert 0.375

    Simplify: 6/8 · Decimal to fraction: 0.375

    1. GCD(6, 8) = 2, so 6/8 = 3/4
    2. 0.375 = 375/1000; GCD(375, 1000) = 125, so 375/1000 = 3/8

    Result: 6/8 = 3/4 and 0.375 = 3/8

    Common Mistakes to Avoid

    • Adding denominators: 1/2 + 1/3 is not 2/5. Denominators say what size the pieces are, so they must match before you add: 3/6 + 2/6 = 5/6.
    • Dividing without flipping the second fraction: To divide by a fraction, multiply by its reciprocal (flip the second fraction only). 3/4 ÷ 1/2 = 3/4 × 2/1 = 3/2, not 3/8.
    • Multiplying the whole number of a mixed number separately: 2 1/3 × 3/7 is not (2 × 3/7) plus (1/3) or 2 × 1/3 × 3/7. Convert 2 1/3 to 7/3 first, then multiply.
    • Stopping before the fraction is simplified: 6/4 is correct but not finished. Divide top and bottom by their greatest common divisor (2) to get 3/2, or 1 1/2 as a mixed number.
    • Losing the minus sign of a mixed number: −1 1/2 means −(1 + 1/2) = −3/2, not −1 + 1/2 = −1/2. Keep the sign outside the whole mixed number.

    Frequently Asked Questions

    How do you add fractions with different denominators?

    Find a common denominator (the least common multiple of the denominators), rewrite each fraction over it, then add the numerators. 1/2 + 1/3 = 3/6 + 2/6 = 5/6.

    How do you divide fractions?

    Keep the first fraction, change ÷ to ×, and flip the second fraction. 3/4 ÷ 1/2 = 3/4 × 2/1 = 6/4 = 3/2.

    How do you multiply mixed numbers?

    Convert each mixed number to an improper fraction, multiply the numerators and the denominators, then simplify. 2 1/3 × 3/7 = 7/3 × 3/7 = 21/21 = 1.

    How do I simplify a fraction?

    Divide the numerator and denominator by their greatest common divisor. For 6/8 the GCD is 2, so 6/8 = 3/4.

    How do you turn a decimal into a fraction?

    Write the digits after the point over 10, 100, 1000 and so on, then simplify. 0.375 = 375/1000, and dividing both by 125 gives 3/8.

    How do I type a mixed number?

    Type the whole number, a space, then the fraction: 2 1/3. Negative mixed numbers are written -2 1/3. Whole numbers (5) and decimals (0.75) work too.

    What does a number in brackets in the decimal mean?

    The digits in brackets repeat forever. 5/6 = 0.8(3) means 0.8333…, and 1/7 = 0.(142857) means 0.142857142857….

    Why can't I divide by zero?

    Dividing by a fraction means multiplying by its reciprocal, and 0 has no reciprocal. No number times 0 gives a non-zero answer, so division by zero is undefined.

    Sources & References