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
| Fraction | Decimal (as shown) | Percent | Type of decimal |
|---|---|---|---|
| 1/2 | 0.5 | 50% | Terminating |
| 1/3 | 0.333333 | about 33.33% | Repeating (3 repeats) |
| 2/3 | 0.666667 | about 66.67% | Repeating (6 repeats) |
| 1/4 | 0.25 | 25% | Terminating |
| 3/4 | 0.75 | 75% | Terminating |
| 1/5 | 0.2 | 20% | Terminating |
| 1/6 | 0.166667 | about 16.67% | Repeating (1, then 6 repeats) |
| 1/7 | 0.142857 | about 14.29% | Repeating (142857 repeats) |
| 1/8 | 0.125 | 12.5% | Terminating |
| 3/8 | 0.375 | 37.5% | Terminating |
| 5/8 | 0.625 | 62.5% | Terminating |
| 1/12 | 0.083333 | about 8.33% | Repeating (08, then 3 repeats) |
| 1/16 | 0.0625 | 6.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?
Type it into the numerator box as '2 1/3', with a space between the whole number and the fraction, and leave the denominator blank. The calculator multiplies the whole number by the denominator and adds the numerator, so 2 1/3 = (2×3 + 1)/3 = 7/3, and the working shows 7/3. Negative mixed numbers are a common trap. '-2 1/3' is read as −(2 + 1/3), which is −7/3; if you convert by hand and enter −2 plus 1/3, which is −5/3, you get a completely different value. Whenever the result is improper, the calculator also shows it as a mixed number, so −7/3 appears as '-2 1/3'.
How do I handle a sum that mixes decimals and fractions, like 0.75 + 1/3?
Type 0.75 into the numerator box as it is and leave the denominator blank. 0.75 has two decimal places, so it is 75/100, which the calculator simplifies to 3/4. In add mode, 0.75 and 1/3 give '3/4 + 1/3 = 9/12 + 4/12 = 13/12': 13/12 simplified, 1 1/12 as a mixed number, and 1.083333 as a decimal. Entering 75 over 100 gives the same result. A repeating decimal such as 0.333… cannot be typed in, though, so enter it as a fraction like 1/3 (see the last question).
Can I work with three or more fractions?
The calculator handles two fractions at a time, so carry the result forward as fraction A in the next step. For 1/2 + 1/3 + 1/4, first find 1/2 + 1/3 = 5/6, then calculate 5/6 + 1/4 to get '10/12 + 3/12 = 13/12'. Carry the simplified fraction, not the decimal, so that rounding errors do not build up. If the expression mixes addition with multiplication, do the multiplication and division first and add their results afterwards.
Does cancelling before multiplying change the answer?
No. When working 3/4 × 2/3 by hand, many people cancel the 3s and the 2 with the 4 across the diagonal and get 1/2 straight away; this calculator instead multiplies the numerators and the denominators first and simplifies at the end, '6/12 = 1/2'. Only the order differs, and the result is always the same. Cancelling first is still worth doing by hand, because it keeps the numbers small and reduces arithmetic slips. Because the calculator works with whole numbers of unlimited length, the simplified result and the working stay exact even when a product grows beyond 2⁵³ (about 9 quadrillion).
With a negative fraction, does the minus sign go on the numerator or the denominator?
−3/4, 3/(−4), and −(3/4) are the same value, so the calculation works whichever box holds the negative number. When the calculator tidies up the result, it moves the sign to the numerator and always shows a positive denominator; 1/(−2) + 1/3, for example, gives −1/6. If both numerator and denominator are negative the value is positive, so (−3/4) × (2/−5) gives 3/10. A zero denominator brings up 'Denominator cannot be 0', and in divide mode a zero numerator in fraction B brings up 'Cannot divide by 0'.
How do I turn a repeating decimal such as 0.272727… into a fraction?
Multiply by the power of ten that matches the repeating block and subtract. Let x = 0.2727…; the block has two digits, so 100x = 27.2727…, and subtracting gives 99x = 27, so x = 27/99. To simplify it, enter 27/99 and 1/1 in multiply mode and you get '27/99 × 1/1 = 27/99 = 3/11'. When the repetition starts later, as in 0.1666…, use 100x − 10x = 16.666… − 1.666… = 15, so 90x = 15 and x = 15/90 = 1/6. A quick rule: a repeating block of n digits puts n nines in the denominator. The calculator's decimal input only accepts terminating decimals such as 0.25, so repeating decimals need to be converted like this first.
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.
Related Calculators
Calculator
An immediate-execution online calculator that completes each step as soon as you press an operator. Supports + − × ÷, %, ±, and keyboard input, with worked key sequences explaining the % key, how 0.1 + 0.2 is handled, 12-digit rounding, and how large numbers are shown.
Percentage Calculator
Find X% of a value, what percent A is of B, and percentage change. Worked examples show why stacked discounts don't add up, percent vs percentage points, how to reverse a discount, and a margin-to-markup conversion table.