Fraction Calculator
Add, subtract, multiply, divide and compare fractions, mixed numbers and whole numbers, or simplify a fraction and convert between fractions, mixed numbers and decimals. Every answer is calculated exactly (never through rounded decimals) and comes with the working: the common denominator, equivalent fractions, reciprocals and the greatest common divisor used to simplify.
- Free to use
- No account required
- Calculated in your browser
Fraction Calculator
Was this tool helpful?
Good to know
- Useful for
- Checking homework, recipes and measurements, adding fractions with different denominators, simplifying fractions, turning improper fractions into mixed numbers and back, and converting between fractions and decimals.
- Accepts
- Fractions such as 3/4 or -7/3, mixed numbers such as 2 1/3 or -2 1/3 (one space, fraction part smaller than 1), whole numbers, and finite decimals such as 0.125 in Simplify & Convert; up to 30 digits per number and 70 characters per value
- Produces
- The exact result in lowest terms, the mixed number, the decimal (exact or rounded to 2, 4, 6 or 12 places, with the repeating digits when they repeat), a comparison with <, = or >, and numbered steps you can copy
Privacy
Fractions are calculated in your browser. They aren't uploaded, logged, sent to analytics or saved in browser storage, cookies or the page address, and reloading the page clears them.
Limitations
- A minus sign in front of a mixed number applies to the whole value: -2 1/3 means -(2 + 1/3) = -7/3. Minus signs inside a mixed number or under the fraction bar (1/-2) aren't accepted.
- One value per field: expressions such as 1/2 + 1/3 in a single box, parentheses, variables and algebra aren't supported.
- Decimals are converted exactly as typed: 0.333333 is 333333/1000000, not 1/3. Repeating decimals can't be typed in.
- Decimal results are rounded half away from zero to the chosen number of places and marked with ≈ when rounded. Repeating digits are shown when the repeating block has at most 60 digits.
- Each number can have at most 30 digits, so very large inputs are refused instead of slowing the page.
Tips
- Use one space in a mixed number (2 1/3) and no spaces around the slash.
- Compare uses exact values, so 1/3 is correctly greater than 0.333333 even though both round to 0.333333.
- For powers, roots and trigonometry, use the Scientific Calculator (/calculator/scientific-calculator); to convert measurements, use the Unit Converter (/convert/unit-converter).
How to calculate and simplify fractions
- Choose Fraction Calculator to work with two values, or Simplify & Convert for one.
- Type each value as a fraction (3/4), a mixed number with one space (2 1/3), a negative value (-2 1/3) or a whole number (5). In Simplify & Convert you can also type a decimal such as 0.125.
- Pick the operation (add, subtract, multiply, divide or compare) and the number of decimal places to show.
- Press Calculate or Convert to see the simplified fraction, the mixed number, the decimal and each step, then copy the result or the steps.
Frequently asked questions
How do I add fractions with different denominators?
Find a common denominator, ideally the least common multiple of the denominators, rewrite each fraction with it, then add the numerators and simplify. For 1/2 + 1/3, LCM(2, 3) = 6, so 1/2 = 3/6 and 1/3 = 2/6, and 3/6 + 2/6 = 5/6.
How do I subtract fractions?
Subtract the same way you add: rewrite both fractions with a common denominator, then subtract the numerators. For 3/4 - 5/6, LCM(4, 6) = 12, so 9/12 - 10/12 = -1/12. The result can be negative.
How do I multiply fractions?
Turn any mixed numbers into improper fractions, multiply the numerators, multiply the denominators, then simplify. For 2 1/3 × -3/7: 2 1/3 = 7/3, and 7/3 × -3/7 = -21/21 = -1.
How do I divide fractions?
Multiply by the reciprocal of the second fraction (swap its numerator and denominator). For -2 1/2 ÷ 5/6: -2 1/2 = -5/2, and -5/2 × 6/5 = -30/10 = -3. You can't divide by zero, because 0 has no reciprocal.
How do I simplify a fraction?
Divide the numerator and the denominator by their greatest common divisor (GCD). For 24/36 the GCD is 12, so 24/36 = 2/3. If the GCD is 1, the fraction is already in lowest terms.
How do I convert a mixed number to an improper fraction?
Multiply the whole number by the denominator, add the numerator and keep the denominator: 2 1/3 = (2 × 3 + 1)/3 = 7/3. For a negative mixed number the minus sign applies to the whole value, so -2 1/3 = -(2 + 1/3) = -7/3.
How do I convert an improper fraction to a mixed number?
Divide the numerator by the denominator. The quotient is the whole number and the remainder is the new numerator over the same denominator: 7 ÷ 3 = 2 remainder 1, so 7/3 = 2 1/3, and -7/3 = -2 1/3.
How do I convert a fraction to a decimal, and why do some decimals repeat?
Divide the numerator by the denominator. The decimal ends only when the simplified denominator has no prime factors other than 2 and 5: 1/8 = 0.125 exactly, but 1/3 = 0.333… repeats forever, so it is shown as ≈ 0.333333 at six places and as 0.(3), where the digits in parentheses repeat. A typed decimal converts exactly: 0.125 = 1/8, while 0.333333 = 333333/1000000, not 1/3.
Related converters and calculators
Related guides
- 6 min readWhy Your Calculator Gives the Wrong Sine: Degrees vs. RadiansGetting −0.988 for sin(30)? Your calculator is in radian mode. Spot the mix-up from the answer, switch mode or multiply by π/180, and avoid the same trap in spreadsheets and code.
- 8 min readUnix Timestamps in Seconds vs. Milliseconds: How to Tell Them Apart and ConvertA date in 1970 means seconds were read as milliseconds; a far-future year means the reverse. See which systems use which unit, tested examples, fractions, negative values, 2038 and missing offsets.
- 7 min readPercentage Change vs. Percentage Points: How to Tell Them ApartA rate rising from 4% to 5% is up 1 percentage point and 25% in relative terms. Tested examples for interest rates, basis points, risks and changes from 0.

