Skip to main content
FC

Fraction Calculator

Add, subtract, multiply or divide two fractions and get an automatically simplified answer, shown as both a fraction and a decimal.

Did you like the tool? Thanks!
Share:

How to Use Fraction Calculator

Enter a numerator and denominator for each fraction, then pick +, −, × or ÷. The result updates live, already reduced to its simplest form using the greatest common factor, with the equivalent decimal shown alongside it. A denominator of zero shows a "—" placeholder instead of a broken calculation.

About Fraction Calculator

A fraction represents a part of a whole, written as a numerator (the top number, how many parts you have) over a denominator (the bottom number, how many equal parts make up the whole). Fractions show up everywhere: cooking measurements, construction cuts, financial splits, and the building blocks of algebra. Being able to combine two fractions correctly — rather than just approximating with a decimal — matters because exact fractional answers are often required in recipes, woodworking, and schoolwork, where "0.333..." is a less useful answer than "1/3". The reason fraction arithmetic needs its own rules, instead of just adding numerators and denominators directly, is that fractions with different denominators represent different-sized "slices". You cannot add 1/2 and 1/3 by adding tops and bottoms, which would incorrectly give 2/5, because a half and a third are not divided into equal-sized pieces. Instead, both fractions are rewritten over a shared common denominator first. This calculator uses the simplest reliable method: cross-multiplication. For addition and subtraction, a/b op c/d becomes (a×d op c×b) / (b×d) — effectively giving both fractions the denominator b×d before combining their numerators. Worked example: adding 1/2 and 1/3. Using the formula, the numerator becomes (1×3 + 1×2) = 5, and the denominator becomes (2×3) = 6, giving 5/6 — already in simplest form, since 5 and 6 share no common factor besides 1. As a decimal, that's approximately 0.833333. Multiplication is simpler: multiply the numerators together and the denominators together, so 1/2 × 1/3 = (1×1)/(2×3) = 1/6. Division flips the second fraction and multiplies: 1/2 ÷ 1/3 = 1/2 × 3/1 = 3/2, which is 1.5 as a decimal. Every result is automatically reduced using the greatest common factor (GCF) — for instance, a raw result of 4/8 is immediately shown as 1/2, because 4 is the largest number that divides evenly into both 4 and 8. This is calculated with the Euclidean algorithm, the same method taught in most number-theory classes: repeatedly divide the larger number by the smaller and keep the remainder until it reaches zero, at which point the last non-zero remainder is the GCF. A common misconception, especially for anyone new to fractions, is assuming you can add or subtract numerators and denominators independently the way you would whole numbers — "1/2 + 1/3 = 2/5" is a frequent and completely incorrect shortcut. Another common mix-up is with division: many people try to divide numerator-by-numerator and denominator-by-denominator instead of flipping the second fraction and multiplying. This tool sidesteps both mistakes by applying the correct cross-multiplication and flip-and-multiply formulas automatically, so you can check your own manual work or just get a fast, reliable answer for a real-world measurement problem, without re-deriving the rules from scratch every time.

Details & Tips

The formulas used: addition, a/b + c/d = (a×d + c×b) / (b×d); subtraction, a/b − c/d = (a×d − c×b) / (b×d); multiplication, a/b × c/d = (a×c) / (b×d); division, a/b ÷ c/d = (a×d) / (b×c). After computing the raw numerator and denominator, the result is divided by its greatest common factor, found via the Euclidean algorithm (gcd(a, b) = gcd(b, a mod b), repeated until the remainder is zero), so the fraction shown is always in lowest terms. Worked examples: subtraction of 3/4 − 1/6 gives a numerator of (3×6 − 1×4) = 14 and a denominator of (4×6) = 24; the raw result 14/24 shares a common factor of 2, so it simplifies to 7/12 ≈ 0.583333. Multiplication of 2/5 × 5/8 gives a numerator of 2×5 = 10 and a denominator of 5×8 = 40; 10/40 simplifies, using a GCF of 10, down to 1/4 = 0.25. Edge cases this widget handles: a denominator of zero in either input fraction is invalid, since division by zero is undefined, so the result shows "—" instead of attempting a calculation. Dividing by a fraction whose numerator is zero (for example ÷ 0/5) is also undefined, since flipping it would create a zero denominator — this is caught and also shown as "—". Non-numeric or empty inputs likewise fall back to "—" rather than a broken or misleading answer. If the simplified result has a denominator of 1, meaning it's a whole number, the widget shows it as a plain integer rather than an awkward "n/1". A negative sign is always normalized onto the numerator, so results never display an ugly negative denominator like "3/-4" — you'll always see "-3/4" instead. Practical tip: when you already know you'll need a decimal, for a tape measure or a spreadsheet, you can read it directly from the result line rather than converting the simplified fraction by hand. But when precision matters — splitting a bill three ways, or halving a recipe — the exact simplified fraction avoids the small rounding errors that repeating decimals like 1/3 = 0.333... can introduce if you round too early and then multiply that rounded number by something else downstream. Keeping the fraction exact until the very last step, and only converting to a decimal at the end for a final read-out, is standard practice in any field where measurement precision compounds across several steps, such as carpentry, tailoring, or lab work.

Frequently Asked Questions

Why isn't 1/2 + 1/3 just 2/5?
Fractions with different denominators represent differently-sized pieces, so numerators and denominators can't just be added directly; both fractions are converted to a shared denominator first.
Is the result always simplified?
Yes — every result is automatically reduced to its lowest terms using the greatest common factor before being displayed.
What if I enter a denominator of 0?
The calculator shows "—" instead of attempting an undefined division-by-zero calculation.
Can I use negative numbers?
Yes — negative numerators and denominators work normally, and the result's sign is always normalized onto the numerator.
Does it show a decimal as well as a fraction?
Yes — the result line shows both the simplified fraction and its equivalent decimal value.
How does division work with fractions?
Dividing by a fraction is the same as multiplying by its reciprocal (flipping numerator and denominator), which is exactly the formula this calculator applies.
Can I enter whole numbers instead of fractions?
Yes — enter the whole number as the numerator and 1 as the denominator (e.g. 5/1) to combine a whole number with a fraction.
What happens if the result is a whole number?
It's displayed as a plain integer (e.g. "2") rather than an unsimplified fraction like "2/1".
How is the greatest common factor calculated?
With the Euclidean algorithm — repeatedly dividing the larger number by the smaller and keeping the remainder until it reaches zero.
Can I use this for recipe scaling?
Yes — it's ideal for combining or comparing fractional measurements like cups or tablespoons in a recipe.
What if my numerator or denominator is a decimal?
The calculator expects whole-number numerators and denominators; decimal input is parsed as its nearest integer value.
Does the order of the two fractions matter?
For addition and multiplication, no; for subtraction and division, yes — the first fraction is always the one the second is subtracted from or divided into.

Also Available As

add fractions, fraction simplifier, mixed number calculator, fraction math calculator, reduce fraction, fraction solver

Found a Problem?

Let us know if something with Fraction Calculator isn't working as expected.

Thanks — we'll take a look.