Fraction Calculator with Steps

Add, subtract, multiply and divide fractions, mixed numbers and whole numbers. The answer appears right away in three forms: a fraction in lowest terms, a mixed number and a decimal. Below it you get the full working: common denominator, operation, simplifying and the mixed number.

Working

First fraction
Second fraction

Answer12/3+3/4=29/12

Mixed number
25/12
Decimal
2.41(6) · repeating digits in brackets

Working

  1. Convert the mixed number to an improper fraction

    12/3=1 × 3 + 2/3=5/3
  2. Find the least common denominator: LCD(3, 4) = 12; multiply by 4 and 3

    5/3=5 × 4/3 × 4=20/12;3/4=3 × 3/4 × 3=9/12
  3. Add the numerators

    20/12+9/12=20 + 9/12=29/12
  4. Already in lowest terms: the GCF is 1

  5. Convert to a mixed number: 29 ÷ 12 = 2 remainder 5

    29/12=25/12

Simplify a fraction

Answer84/126=2/3

  1. Find the GCF with the Euclidean algorithm

  2. 126 = 84 × 1 + 42
  3. 84 = 42 × 2 + 0
  4. GCF(84, 126) = 42

  5. Divide the numerator and denominator by 42

    84/126=84 ÷ 42/126 ÷ 42=2/3

Decimal to fraction

Repeating digits in brackets: 0.(3) or 0.1(6)

Answer0.1(6)=1/6

  1. Repeating part (6): 9 in the denominator, 1 digit before it — that many zeros

    0.1(6)=16 − 1/90=15/90
  2. Simplify: divide by the GCF, 15

    15/90=15 ÷ 15/90 ÷ 15=1/6

Your data stays on your device: everything is calculated in the browser and nothing is sent anywhere.

TL;DR. Enter two fractions (plus the whole number for a mixed number) and pick an operation. The answer and the steps appear right away, no Calculate button. The calculator finds the least common denominator, reduces the answer by the greatest common factor and converts it to a mixed number. Below are two more tools: simplify a fraction, and turn a decimal, including a repeating one, into a fraction: 0.(3) = 1/3.

How to solve a fraction problem

  1. Enter the first fraction

    Numerator on top, denominator below. For a mixed number, fill in the whole number on the left too: 1 2/3. For a whole number, the whole-number box is enough.

  2. Pick the operation

    Add, subtract, multiply or divide. To make a fraction negative, press “±” or type a minus before the whole number, or before the numerator if there is no whole number.

  3. Enter the second fraction

    The answer appears instantly: in lowest terms, as a mixed number and as a decimal, with any repeating digits in brackets.

  4. Follow the steps

    Below the answer: converting to improper fractions, the common denominator and the factors, the operation, simplifying and the mixed number. You can copy the working.

How the calculator works with fractions

A mixed number is first turned into an improper fraction: multiply the whole number by the denominator and add the numerator, keeping the same denominator. 1 2/3 = (1 × 3 + 2)/3 = 5/3. A minus sign applies to the whole number: −1 2/3 = −5/3.

To add or subtract, the fractions are rewritten over a common denominator, the least common denominator (LCD). Each numerator is multiplied by the same factor as its denominator, then the numerators are added or subtracted: 2/3 + 3/4 = 8/12 + 9/12 = 17/12. The calculator uses the LCD rather than the product of the denominators, so the numbers in the working stay small.

To multiply, multiply the numerators and the denominators: 2/3 × 9/8 = 18/24. To divide, multiply by the reciprocal of the second fraction: 3/4 ÷ 3/8 = 3/4 × 8/3 = 24/12. Dividing by zero is undefined, and the calculator tells you so.

The answer is reduced by the greatest common factor (GCF) of the numerator and denominator, found with the Euclidean algorithm: 18/24 = 3/4 and 24/12 = 2. If the numerator is bigger than the denominator, the whole part comes from division with a remainder: 29/12 → 29 ÷ 12 = 2 remainder 5 → 2 5/12.

The decimal comes from long division of the numerator by the denominator. The remainder is always smaller than the denominator, so the digits either stop or start repeating. The calculator puts the repeating digits in brackets, 29/12 = 2.41(6); textbooks often write the same number with a bar over the 6. A fraction in lowest terms has a terminating decimal only if its denominator has no prime factors other than 2 and 5: 3/8 = 0.375, but 1/3 = 0.(3).

Your numbers stay on your device

The calculator runs in your browser. Fractions and answers are not sent to a server, not added to the page address and not passed to analytics. Numerators and denominators are stored as whole numbers of any length, so the answer is exact with no rounding errors.

How to add and subtract fractions with unlike denominators

Find the LCD of the denominators: for 3 and 4 it's 12. Multiply the first fraction by 4/4 and the second by 3/3: 2/3 = 8/12 and 3/4 = 9/12. The sum is 17/12, or 1 5/12. If the denominators are already the same, just add or subtract the numerators.

With mixed numbers, converting to improper fractions first saves you from borrowing from the whole number: 5/6 − 1 1/4 = 5/6 − 5/4 = 10/12 − 15/12 = −5/12. The answer is negative because the second number is larger.

How to simplify a fraction

Divide the numerator and denominator by their greatest common factor. The Euclidean algorithm finds it quickly: divide the larger number by the smaller and keep the remainder until it's zero; the last nonzero divisor is the GCF. For 84/126: 126 = 84 × 1 + 42, 84 = 42 × 2, so the GCF is 42 and 84/126 = 2/3. If the GCF is 1, the fraction is already in lowest terms. The “Simplify a fraction” card shows every step of the algorithm.

How to convert between decimals and fractions

Write a terminating decimal over 10, 100, 1,000 and so on, one zero per digit after the decimal point, then simplify: 0.375 = 375/1000 = 3/8. To go back, divide the numerator by the denominator: 3/8 = 3 ÷ 8 = 0.375.

For a repeating decimal, take the number formed by all the digits after the point and subtract the digits before the repeating part. The denominator gets one 9 per repeating digit followed by one 0 per non-repeating digit. 0.1(6) = (16 − 1)/90 = 15/90 = 1/6. In the calculator, type the repeating part in brackets.

Fraction calculator FAQ

Rewrite them over a common denominator, the LCD, then add the numerators: 1/2 + 1/3 = 3/6 + 2/6 = 5/6. The working shows the LCD and the factor used for each fraction.

Multiply the first fraction by the reciprocal of the second: 3/4 ÷ 3/8 = 3/4 × 8/3 = 2. If the second fraction is zero, the division is undefined and the calculator says so.

Multiply the whole number by the denominator, add the numerator and keep the denominator: 2 1/4 = (2 × 4 + 1)/4 = 9/4. In the calculator, type 2 as the whole number, 1 as the numerator and 4 as the denominator.

For a negative, press “±” next to the fraction or type a minus before the whole number, or before the numerator if there is no whole number. For a whole number, fill in only the whole-number box: 3 ÷ 3/4 = 4.

The fraction in lowest terms is the main answer. A mixed number is easier to read when the numerator is bigger than the denominator: 29/12 = 2 5/12. The decimal helps you check the result or answer questions that ask for a decimal.

They mark the repeating digits: 1/6 = 0.1(6) = 0.1666…, which textbooks also write with a bar over the 6. If the repeating part is very long, the calculator shows a rounded value with “≈”.

The fraction answer is exact: the calculator works with whole numbers of any length and never rounds them. Each box takes up to 15 digits. Only a long decimal is rounded, and it's marked with “≈”.

No. Everything is calculated in your browser, nothing is sent anywhere and nothing is added to the page address.