Fraction Calculator
Perform addition, subtraction, multiplication, and division of fractions with detailed step-by-step solutions, visual fraction models, decimal conversions, and simplified answers.
Fractions
Mixed Numbers
Simplify
Decimal → Fraction
Fraction → Decimal
Fractions
What Is a Fraction?
A fraction represents a part of a whole — written as a numerator over a denominator with a bar between them. The denominator tells you how many equal parts the whole is split into; the numerator tells you how many of those parts you have. The fraction 3/4 means three of four equal pieces. Every rational number — every value that terminates or repeats as a decimal — can be written as a fraction, which is why fractions sit at the foundation of arithmetic, algebra, and beyond.
This calculator pulls six tools into one workspace: arithmetic on two fractions, mixed-number arithmetic, single-fraction simplification, decimal-to-fraction conversion, fraction-to-decimal conversion with repeating-cycle detection, and a BigInt-powered big-number tab for fractions whose numerator or denominator exceeds JavaScript's 15-digit floating-point precision. Pair it with our percentage calculator, ratio calculator, common factor calculator, and prime factorization calculator for related work.
How Fraction Operations Work
Common denominators for + and −
Add or subtract fractions by rewriting both with the least common multiple of their denominators as a common bottom number, then add or subtract the numerators. The LCM is the smallest denominator that both inputs divide evenly.
Straight-across × and reciprocal ÷
Multiply two fractions by multiplying the numerators and denominators directly. Divide a fraction by another by multiplying by its reciprocal — flip the second fraction upside down, then multiply.
Reduce to lowest terms
Every answer is divided by the greatest common factor of its numerator and denominator so the result is in simplest form — both display-friendly and the canonical mathematical form.
Convert between forms
Every result is shown as a simplified fraction, mixed number, decimal, and percentage where they apply, so you can read whichever form fits your context — recipe (mixed), classroom (fraction), spreadsheet (decimal), or analytics (percent).
6 Ways to Use This Calculator
Homework checking
Verify a fraction arithmetic answer in seconds — the step-by-step explanation shows whether you missed a common denominator or a reduction.
Recipe scaling
Triple a 2 1/2 cup recipe to 7 1/2 with the mixed-numbers tab — exact arithmetic without converting to decimals.
Measurement work
Carpentry and machine work both use inch fractions. Add 3/8 + 9/16 to get 15/16 directly — no decimal rounding error.
Probability & odds
Combine probabilities like 1/6 × 1/6 = 1/36 for the chance of rolling double sixes. The simplify tab keeps every fraction in lowest terms.
Decimal ↔ fraction conversion
Convert 0.625 to 5/8 for an engineering drawing, or convert 5/16 to 0.3125 for a spreadsheet cell — both directions instantly.
Exact big-number arithmetic
Use the BigInt tab for cryptography homework, continued-fraction expansions, or any calculation where 15 digits of precision is not enough.
Best Practices
Always reduce when finishing. An answer like 35/180 is technically correct but communicates poorly; the simplified 7/36 is the same value in canonical form. This calculator reduces every result automatically, but doing it by hand is worth practising.
Convert mixed numbers to improper form before multiplying or dividing. A common student mistake is multiplying whole and fractional parts separately — 2 1/2 × 1 1/2 ≠ 2 1/4. Convert first to 5/2 × 3/2 = 15/4 = 3 3/4.
Prefer fractions over decimals when the value is exactly rational. 1/3 in decimal is 0.333… repeating forever; keep it as 1/3 through a long chain of arithmetic and convert to decimal only at the very end to avoid compounding rounding error.
Why Fractions Matter
School & exams
Fractions are foundational from elementary through high-school algebra. Confident fraction arithmetic unlocks every later topic — equations, functions, calculus, and beyond.
Engineering & trades
Inch fractions are the lingua franca of carpentry, plumbing, and machining in the US. Even in metric workshops, fractional inches show up on drawings and stock sizes.
Pure mathematics
Rational numbers — fractions of integers — are the cleanest closed system under +, −, ×, and ÷. Number theory, algebraic geometry, and probability theory all rest on the fraction.
Daily life
Recipes, money, sport scores, and music notation all use fractions because they communicate exact parts of a whole more naturally than long decimals.
Tricky Cases & Edge Behaviour
Negative fractions
The sign always lives on the numerator after simplification — −3/4 and 3/−4 represent the same value, and the calculator outputs the canonical form with a positive denominator.
Zero in the denominator
Division by zero is undefined; the calculator rejects any input with a zero denominator before computing. Likewise, dividing by 0/1 returns an error rather than infinity.
Repeating decimal cycles
1/3 = 0.333…, 1/7 = 0.142857… repeating in a six-digit cycle, 1/97 has a 96-digit cycle. The fraction-to-decimal tab detects and renders the cycle with an overline.
Very large operands
JavaScript's regular Number only holds 15 significant digits. The big-number tab uses BigInt arithmetic and is exact for numerators and denominators of any length.
Core Fraction Formulas
Every result this calculator produces comes from one of these identities. Let a/b and c/d be the operands and g = gcd(numerator, denominator) the greatest common factor of the result.
Addition
a/b + c/d = (a·d + b·c) / (b·d)
Subtraction
a/b − c/d = (a·d − b·c) / (b·d)
Multiplication
a/b × c/d = (a·c) / (b·d)
Division
a/b ÷ c/d = (a·d) / (b·c)
Simplification
(a/b) / g = (a/g) / (b/g)
Decimal
a/b = a ÷ b (long division)
Percentage
a/b × 100% = (a × 100)/b %
Mixed number
n/d = ⌊n/d⌋ remainder/d
Common Fraction Mistakes
Adding numerators and denominators
1/2 + 1/3 is not 2/5. Add only the numerators after rewriting with a common denominator: 3/6 + 2/6 = 5/6.
Forgetting to reduce
Leaving 6/8 as the final answer when 3/4 is simpler is technically correct but loses style points and obscures the underlying value.
Reciprocal on the wrong fraction
When dividing a/b ÷ c/d, flip the SECOND fraction (c/d → d/c), not the first. Flipping both leaves the value unchanged.
Multiplying mixed numbers as-is
2 1/2 × 1 1/2 = 5/2 × 3/2 = 15/4 = 3 3/4, NOT 2 1/4. Always convert to improper form first.
Mismatched signs
A negative sign on the whole part of a mixed number applies to the WHOLE number, not just the integer part. −2 3/4 = −(2 + 3/4) = −11/4.
Calculator rounding traps
Standard calculators reduce 1/3 to 0.333 and then 0.333 + 0.333 + 0.333 = 0.999, missing the exact 1. Use fraction arithmetic to preserve exactness.
Built for students, teachers, engineers, machinists, and anyone who needs exact rational arithmetic in the browser.
Every step uses exact BigInt arithmetic — no floating-point rounding anywhere in the result pipeline. See our methodology and editorial policy for the principles behind every calculator on the site.
Frequently Asked Questions
Related Calculators
Pair the fraction calculator with other math tools for ratios, percentages, factorisation, and step-by-step number work.
- Percentage CalculatorCalculate % of a number, percentage change, and reverse percentages.
- Ratio CalculatorSimplify, scale, and compare ratios; solve equivalent ratios and proportions.
- Common Factor CalculatorGreatest common factor (GCF, HCF, GCD) with step-by-step prime factorization.
- Scientific CalculatorAdvanced trig, log, exponent, root, factorial, and memory functions.
- Prime Factorization CalculatorPrime factors with a visual factor tree and step-by-step working.
- Scientific Notation CalculatorConvert to and from scientific, engineering, and E-notation with arithmetic support.