Skip to content
My Tiny Utils

Search tools

Type to find a tool, then press Enter to open it.

Fraction Calculator

Add, subtract, multiply, and divide fractions and mixed numbers with the working shown step by step, simplify any fraction to lowest terms, and convert decimals (repeating ones too) to fractions.

Processed locally in your browser — nothing is uploaded.

Fraction Calculator

Operation

Type fractions as 3/4, mixed numbers as 1 1/2, or whole numbers and decimals.

Results

Result
9/4
Mixed number
2 1/4
Decimal
2.25

Working

  1. Write each number as a fraction

    1 1/2 = (1 × 2 + 1)/2 = 3/2

  2. Find the lowest common denominator

    LCD(2, 4) = 4 3/2 = (3 × 2)/(2 × 2) = 6/4 3/4 stays 3/4

  3. Add the numerators

    6/4 + 3/4 = (6 + 3)/4 = 9/4

  4. Simplify

    The greatest common divisor of 9 and 4 is 1, so 9/4 is already in lowest terms.

  5. Write it as a mixed number

    9 ÷ 4 = 2 remainder 1, so 9/4 = 2 1/4

About Fraction Calculator

Type two fractions, pick an operation, and the calculator gives the answer in lowest terms, as a mixed number, and as a decimal, followed by the working you would write out by hand: converting mixed numbers to improper fractions, finding the lowest common denominator, combining the numerators, and simplifying by the greatest common divisor.

Two more tabs cover the other everyday fraction jobs. Simplify reduces a single fraction such as 84/126 to 2/3 and shows Euclid's algorithm finding the common factor. Decimal to fraction turns 0.625 into 5/8, handles repeating decimals written with brackets — 0.(3) for 0.333… — and can find the closest fraction under a denominator limit you choose (22/7 for 3.14159 with a limit of 10).

What you can type

  • Fractions: 3/4, -5/8, 12/16
  • Mixed numbers: 1 1/2 or 2-3/8. A minus sign applies to the whole number, so -1 1/2 is −3/2.
  • Whole numbers and decimals: 5, 0.75, .5
  • Repeating decimals: brackets around the digits that repeat — 0.(3), 0.1(6), 1.(142857)
  • Fraction characters such as ½, ¾, and ⅜, so 1½ works too

All arithmetic is exact. Numerators and denominators are whole numbers of any size, so nothing is rounded until the decimal is written out.

How each operation works

  • Adding and subtracting need a common denominator. The calculator uses the lowest one — the least common multiple of the two denominators — rewrites both fractions over it, and adds or subtracts the numerators.
  • Multiplying multiplies the numerators together and the denominators together.
  • Dividing flips the second fraction (its reciprocal) and multiplies.

Every result is then divided through by the greatest common divisor of its numerator and denominator, and an improper fraction is also shown as a mixed number.

Example

Input

1 1/2 + 3/4

Output

9/4 = 2 1/4 = 2.25

1 1/2 is 3/2. The lowest common denominator of 2 and 4 is 4, so 3/2 becomes 6/4, and 6/4 + 3/4 = 9/4. Dividing 9 by 4 gives 2 remainder 1: two and a quarter.

Common uses

  • Check fraction homework and see where a hand calculation went wrong
  • Scale recipe quantities like 2/3 cup × 1 1/2
  • Add up imperial measurements such as 3 5/8 in + 1 3/16 in
  • Turn a decimal from a calculator or spreadsheet back into a fraction

Limitations

  • It works on two fractions at a time. For a longer sum, add the first two, then add the next number to the result.
  • Each fraction can be up to 60 characters long. Results stay exact at any size, but the decimal is rounded to 10 places, and the exact repeating form is only shown when its repeating block is short enough to write out.
  • Decimals typed with trailing dots (0.333…) are ambiguous, so the calculator asks for brackets around the repeating digits instead of guessing.

Frequently asked questions

How do you add fractions with different denominators?

Rewrite both fractions over a common denominator, then add the numerators. The easiest choice is the lowest common denominator, the smallest number both denominators divide into. For 2/3 + 1/4 that's 12: 2/3 = 8/12 and 1/4 = 3/12, so the sum is 11/12. Simplify the result if the numerator and denominator share a factor.

How do you divide fractions?

Multiply the first fraction by the reciprocal of the second — flip the second fraction upside down and multiply. 3/4 ÷ 2/5 = 3/4 × 5/2 = 15/8, which is 1 7/8. Dividing by zero is undefined, so the second fraction can't be 0.

How do I simplify a fraction to lowest terms?

Find the greatest common divisor (GCD) of the numerator and denominator and divide both by it. For 84/126 the GCD is 42, so 84/126 = 2/3. If the GCD is 1, the fraction is already in lowest terms. The calculator finds the GCD with Euclid's algorithm and shows each step.

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

Multiply the whole number by the denominator, add the numerator, and put the result over the same denominator. 2 3/8 = (2 × 8 + 3)/8 = 19/8. To go back, divide: 19 ÷ 8 is 2 remainder 3, so 19/8 = 2 3/8.

How do I convert a decimal to a fraction?

Write the digits after the point over a power of ten — 0.625 has three decimal places, so it's 625/1000 — then simplify: 625/1000 = 5/8. For a repeating decimal, type the repeating digits in brackets, such as 0.(6) for 0.666…, and the calculator returns the exact fraction, 2/3.

How do I find the closest fraction to a decimal with a small denominator?

Set a denominator limit in the Decimal to fraction tab. With a limit of 10, 3.14159 becomes 22/7 (3.142857…), the closest fraction whose denominator is 10 or less; with a limit of 1,000 it becomes 355/113 (3.1415929…). The calculator uses continued fractions, so it checks every denominator up to the limit, not only the limit itself.