CalcHub

Fraction Calculator

The step where fraction problems usually stall is not multiplying or dividing but finding a common denominator before adding or subtracting. When neither denominator is a multiple of the other, as in 5/12 + 7/18, hunting for the least common multiple takes the most time, and simply multiplying the denominators together produces big numbers that invite mistakes when you simplify. This calculator takes a numerator and denominator for each of two fractions (the numerator box also accepts decimals such as 0.25 and mixed numbers such as 1 1/2), shows the step where both are rewritten over their least common multiple, and gives the result as a simplified fraction, a mixed number, and a decimal. The examples below come from places fractions actually turn up: checking homework, scaling recipes, and working with inch measurements.

Key points

  • Besides whole numbers (negatives are fine), the numerator and denominator boxes accept terminating decimals such as 0.25, fractions such as 3/4, and mixed numbers such as 2 1/3 or -2 3/4. If the numerator holds a decimal or mixed number, you can leave the denominator blank and it counts as 1; 0.25 is shown in the working as 1/4, in lowest terms. Anything the calculator cannot read brings up a note on the accepted formats.
  • Results appear as a simplified fraction, a mixed number (only for improper fractions), a decimal rounded to six places, and the working. For addition and subtraction, the working includes the step that rewrites both fractions over the least common multiple of the denominators.

Fraction A

Fraction B

Besides whole numbers, the numerator box accepts decimals (0.25) and mixed numbers (1 1/2, -2 3/4); leave the denominator blank and it counts as 1.

Examples

Cutting a 6-serving recipe to 4 — 3/4 cup × 4/6

To scale 3/4 cup of sugar from six servings down to four, multiply by 4/6. In multiply mode, entering 3/4 and 4/6 gives the working '3/4 × 4/6 = 12/24 = 1/2', so you need 1/2 cup. Simplifying the scale factor to 2/3 first gives 6/12 = 1/2, the same answer. When converting 1/2 cup to millilitres, check which cup the recipe uses: a US cup of about 240 mL makes it about 120 mL, while Korean recipes commonly use a 200 mL cup, which makes it 100 mL.

Inch measurements — planing 3/16 in off a 3/4 in board

Woodworking and imperial tool sizes still use fractions down to sixteenths of an inch. If you plane 3/16 in off a board 3/4 in thick, the remaining thickness is 3/4 − 3/16 in subtract mode. The least common multiple of 4 and 16 is 16, so the working reads '3/4 − 3/16 = 12/16 − 3/16 = 9/16', or 0.5625 in as a decimal. In millimetres that is 0.5625 × 25.4 = 14.2875 mm, about 14.3 mm. For sizes that step in sixteenths, like wrenches and drill bits, comparing the fractions directly is less error-prone than converting to decimals.

When denominators aren't multiples — 5/12 + 7/18

Multiplying 12 by 18 to get a common denominator of 216 gives 90/216 + 84/216 = 174/216, which you then have to divide down by 6. Using the least common multiple, 36, gives '5/12 + 7/18 = 15/36 + 14/36 = 29/36', already in lowest terms. Since 12 = 2²×3 and 18 = 2×3², the LCM takes the highest power of each prime, 2²×3² = 36, and multiplying it by the greatest common divisor, 6, gives back 12×18 = 216. The decimal is shown as 0.805556.

Dividing a mixed number — 2 1/4 kg of dough in 3/8 kg pieces

Type the mixed number 2 1/4 straight into the numerator box as '2 1/4' and leave the denominator blank; the calculator turns it into 2×4 + 1 = 9 quarters, or 9/4. In divide mode, with 3/8 as fraction B, it gives '9/4 ÷ 3/8 = 9/4 × 8/3 = 72/12 = 6': six pieces of dough. The example also shows why dividing by a number smaller than 1 makes the answer bigger than what you started with. When it does not divide evenly — 9/4 ÷ 2/5, say — the result is 45/8, or 5 5/8 as a mixed number: five 2/5 kg pieces with 5/8 of a piece left over.

Common fractions as decimals and percentages

FractionDecimal (as shown)PercentType of decimal
1/20.550%Terminating
1/30.333333about 33.33%Repeating (3 repeats)
2/30.666667about 66.67%Repeating (6 repeats)
1/40.2525%Terminating
3/40.7575%Terminating
1/50.220%Terminating
1/60.166667about 16.67%Repeating (1, then 6 repeats)
1/70.142857about 14.29%Repeating (142857 repeats)
1/80.12512.5%Terminating
3/80.37537.5%Terminating
5/80.62562.5%Terminating
1/120.083333about 8.33%Repeating (08, then 3 repeats)
1/160.06256.25%Terminating

Decimals are the values this calculator displays, rounded at the seventh decimal place. A fraction in lowest terms terminates when its denominator's only prime factors are 2 and 5, and repeats otherwise. Eighths turn up constantly in inch measurements, and quarters, thirds, and halves on measuring cups.

FAQ

Where do I enter a mixed number like 2 1/3?
How do I handle a sum that mixes decimals and fractions, like 0.75 + 1/3?
Can I work with three or more fractions?
Does cancelling before multiplying change the answer?
With a negative fraction, does the minus sign go on the numerator or the denominator?
How do I turn a repeating decimal such as 0.272727… into a fraction?

Two routes to the greatest common divisor and least common multiple

The first route is prime factorisation. Write 84 = 2²×3×7 and 90 = 2×3²×5. Multiplying the primes the two numbers share, each at its lower power, gives the greatest common divisor, 2×3 = 6; multiplying every prime that appears in either, each at its higher power, gives the least common multiple, 2²×3²×5×7 = 1,260. For small numbers this is easy to see at a glance, and it shows why the answers are what they are.

The second route is the Euclidean algorithm: divide the larger number by the smaller, then keep dividing the previous divisor by the remainder until the remainder is zero. 90 ÷ 84 = 1 remainder 6, and 84 ÷ 6 = 14 remainder 0, so the GCD is 6. It takes only a few divisions even for large numbers that are hard to factorise, which is why this calculator uses it to reduce results to lowest terms.

The two are linked by the rule GCD × LCM = the product of the two numbers. Dividing 84 × 90 = 7,560 by the GCD of 6 gives the LCM of 1,260, and this calculator finds the common denominator for addition and subtraction in exactly this way. With three or more denominators, find the LCM of the first two, then the LCM of that result and the next denominator, and so on.

Calculate with improper fractions, read with mixed numbers

Mixed numbers are good for judging size; improper fractions are good for calculating. Multiplying mixed numbers directly is especially error-prone: a classic mistake is to multiply the whole parts and the fraction parts separately and answer 2 1/2 × 2 1/2 = 4 1/4. Converted to improper fractions, 5/2 × 5/2 = 25/4 = 6 1/4 is the correct answer. The safe order is to calculate with improper fractions and convert to a mixed number only at the end. Even if you type a mixed number such as '2 1/2' into this calculator, it converts it to 5/2 before calculating.

For reading a result, mixed numbers win. 43/12 does not convey its size at once, but 3 7/12 immediately reads as 'a bit over three and a half'. This calculator shows a mixed number alongside the result only when the numerator's absolute value is larger than the denominator, and for negatives it puts the sign on the whole part, so −43/12 appears as '-3 7/12', meaning −(3 + 7/12).

Terminating or repeating? The denominator decides

Whether a fraction in lowest terms gives a decimal that ends can be read straight off its denominator. Powers of ten are built only from 2s and 5s, so if those are the denominator's only prime factors, you can scale the fraction to a denominator of 10, 100, or 1,000: 3/8 = 375/1000 = 0.375 is an example. If the denominator has any other prime factor, such as 3, 7, or 11, the decimal never ends and a fixed block of digits repeats.

The repeating block is always shorter than the denominator. 1/3 repeats a single 3, 1/11 repeats 09, 1/7 and 1/13 repeat the six-digit blocks 142857 and 076923, and 1/17 takes 16 digits before it repeats. Because this calculator shows six decimal places, 1/7 happens to fit exactly one full block, but for fractions with long blocks like 1/17 the repeating pattern is not visible on screen.

Remember too that the decimal shown is rounded. 2/3 appears as 0.666667, with the last digit rounded up, and if you shorten 1/3 to 0.33 and multiply by 3 you get 0.99, not 1. In a calculation with several steps, keeping everything as fractions and converting to a decimal only once at the end is the surest way to avoid error, and even when you need decimals, carrying the fraction result forward is more accurate than copying the displayed decimal into the next step.