Fraction Calculator
Add, subtract, multiply, and divide fractions and mixed numbers — results returned simplified, as a mixed number, and as a decimal.
Add, subtract, multiply, and divide fractions — including mixed numbers. Results are returned as a fully simplified fraction, an equivalent mixed number, and a decimal.
How fraction arithmetic works
Every operation reduces to two steps: convert mixed numbers to improper fractions, then apply the rule for the chosen operator.
Addition and subtraction need a common denominator. The straightforward approach is to multiply the two denominators (giving a×d ± b×c over b×d), then simplify. Using the least common denominator (LCD) gives smaller intermediate numbers but the final simplified result is identical.
Multiplication is straight-across: (a/b) × (c/d) = ac/bd. No common denominator needed.
Division is multiplication by the reciprocal: (a/b) ÷ (c/d) = (a/b) × (d/c) = ad/bc. The 'flip and multiply' rule.
Every result is then simplified by dividing both numerator and denominator by their greatest common divisor (GCD), found here using the Euclidean algorithm.
Worked examples
1½ + ⅔: convert to improper → 3/2 + 2/3. Common denominator 6: 9/6 + 4/6 = 13/6. Simplify (already): 13/6 = 2 1/6 = 2.1667.
3¾ × 2⅖: convert → 15/4 × 12/5 = 180/20. Simplify: 180/20 = 9/1 = 9.0 exactly.
5⅙ ÷ ¾: convert → 31/6 ÷ 3/4 = 31/6 × 4/3 = 124/18. Simplify by GCD 2: 62/9 = 6 8/9 ≈ 6.889.
−¾ + ½: keep the sign on the improper form (−3/4 + 1/2 = −3/4 + 2/4 = −1/4). The calculator preserves sign through all four operations.
Where fraction math comes up in real life
Recipes: doubling 2¾ cups + ⅔ cup of flour. Construction: stacking ⅝-in plywood with ¾-in subfloor for total thickness. Sewing patterns: combining ⅛-in seam allowances. Music: dotted notes (3/8 = quarter + eighth). Stock prices used to be quoted in eighths and sixteenths until decimalization in 2001.
In US construction, fractional inches dominate (¹⁄₁₆ to 1 1/2 inch). A fluent fraction calculator avoids the rounding errors that creep in when you convert to decimal, do the math, and convert back.
Imperial cooking measurements (1/3 cup, ¾ teaspoon) are still standard in US recipes — fraction arithmetic is the natural language of scaling them up or down.
Common pitfalls
Denominator can never be 0. Division by zero is undefined — the calculator returns '—' and skips the simplification step.
Mixed-number sign is carried by the whole part. −1¾ means −(1 + 3/4) = −7/4, not (−1) + 3/4 = −1/4. The calculator follows the standard convention (sign on the whole).
Don't simplify mid-step before the operator is applied — small errors compound. Convert to improper, do the math, then simplify the final result.
When mixing very large whole numbers with fractions, the improper-form numerator can grow into 8+ digits. JavaScript handles this safely up to 2^53 (≈9 × 10^15), well above any practical use.
Frequently asked questions
Why does the result look different from my answer?
Two equivalent fractions can look different — 4/8 = 2/4 = 1/2 are all the same. The calculator always returns the fully simplified form (lowest terms), which is the conventional 'correct' answer in math class.
Can I enter a negative fraction?
Yes. Put the minus sign on the whole part for mixed numbers (−1, 3, 4 means −1¾). For pure fractions with no whole part, put the minus on the numerator (−3 over 4).
What if I enter an improper fraction like 7/4?
Set whole = 0 and put 7 / 4 in the fraction inputs. The result will be shown as both improper (7/4) and mixed (1¾).
How do you find the GCD?
The Euclidean algorithm: gcd(a, b) = gcd(b, a mod b), iterating until b = 0. It's the fastest known way to find a greatest common divisor and runs in microseconds for any practical input.
What's the difference between LCD and just multiplying denominators?
Multiplying denominators always works but creates bigger intermediate numbers. The LCD (least common denominator = LCM of the two denominators) keeps numbers smaller. Both produce the same simplified final answer.
Can I do three or more fractions at once?
This calculator does two operands at a time. For longer expressions, calculate left-to-right, copying each intermediate result back into the first input.
Why is dividing by a fraction the same as multiplying by its reciprocal?
Division asks 'how many of B fit in A'. Multiplying A by B's reciprocal answers that algebraically: (a/b) ÷ (c/d) = (a/b) × (d/c). It's a definitional consequence of how fractions are constructed, not a trick.
More in Math Tools
General-purpose math: percentages, percent change, averages, proportions, slope/grade, fractions, descriptive statistics, and a full scientific calculator.
- Percentage Calculator
Three modes: X% of Y, A is what % of B, and % change.
- Percentage Increase / Decrease Calculator
Percent change between any old and new value, with the formula and direction shown.
- Average Calculator
Mean, median, mode, sum, count, min, max, and range for any list of numbers.
- Proportion Calculator
Solve any proportion a/b = c/d for the missing value using cross-multiplication.
- Slope & Grade Calculator
Convert rise and run into decimal slope, percent grade, angle, and 1:N ratio — for ramps, roofs, roads, stairs.
- Standard Deviation Calculator
Mean, median, mode, range, sample/population standard deviation, variance, quartiles, IQR, and SEM for any list of numbers.
Related calculators
Browse all Education →Average Calculator
Mean, median, mode, sum, count, min, max, and range for any list of numbers.
Area of a Circle Calculator
Find the area of a circle from its radius, diameter, or circumference with the exact formula A = π × r².
Proportion Calculator
Solve any proportion a/b = c/d for the missing value using cross-multiplication.
Percentage Calculator
Three modes: X% of Y, A is what % of B, and % change.
Standard Deviation Calculator
Mean, median, mode, range, sample/population standard deviation, variance, quartiles, IQR, and SEM for any list of numbers.
Course Grade Calculator
Weighted course grade from assignments, quizzes, and exams. Shows current grade plus the score needed on remaining work.
Scientific Calculator
Free online scientific calculator with trig, logs, exponents, square roots, parentheses, and constants pi and e.
Circumference Calculator
Find the circumference of a circle from its radius, diameter, or area using C = 2 × π × r.