Math & Science

Fractions Calculator

This fractions calculator handles everything in one place: add, subtract, multiply, or divide two fractions, simplify a fraction to its lowest terms, or convert a decimal to a fraction. Pick the calculator you need below and get an instant, fully simplified result.

fractions calculator showing add, simplify, and convert results

1 Add, subtract, multiply, or divide fractions

Optional: type a whole number in the left box to enter a mixed number, such as 2 1/2.

Enter both fractions

2 Simplify a fraction

Enter a fraction

3 Decimal to fraction

Enter a decimal number

How to use this fractions calculator

All three tools above work the same way:

  1. Choose the right card — combining two fractions, simplifying one fraction, or converting a decimal.
  2. Type in your numbers. The fractions calculator expects whole numbers for numerators and denominators; both, and the decimal, accept negative values. For a mixed number such as 2 1/2, put the 2 in the small box to the left of the fraction.
  3. Press Calculate to get the unsimplified result, the decimal equivalent, the fully simplified fraction and, when the fraction is larger than 1, the mixed number.

How do you add fractions (and other fraction math)?

When adding or subtracting fractions, first bring them to the same denominator, then add or subtract the numerators. When multiplying fractions, multiply the numerators together and the denominators together. When dividing fractions, multiply the first fraction by the reciprocal of the second. If you want a slower walkthrough of finding a common denominator first, Khan Academy’s unit on adding and subtracting fractions with different denominators covers the same rules with extra worked examples.

OperationRule
a/b + c/d(a×d + c×b) / (b×d)
a/b − c/d(a×d − c×b) / (b×d)
a/b × c/d(a×c) / (b×d)
a/b ÷ c/d(a×d) / (b×c)
Example: to add fractions 1/2 and 1/3, cross-multiply to get (1×3 + 1×2) / (2×3) = 5/6.

How do you simplify a fraction?

To simplify a fraction, divide both the numerator and the denominator by their greatest common divisor (GCD). The result is a fraction with the same value, but with the smallest possible whole numbers. Khan Academy’s explainer on the greatest common factor is a good refresher if you want to see how the GCD itself is found by hand before you rely on the calculator.

12/18 = (12 ÷ 6) / (18 ÷ 6) = 2/3

Converting a decimal number to a fraction

To convert a decimal to a fraction, count the number of decimal places, then write the number (without the decimal point) as the numerator, with 1 followed by that same number of zeros as the denominator. Then simplify the fraction.

Example: 0.75 has two decimal places, so it becomes 75/100, which simplifies to 3/4.

Fractions calculator accuracy and limits

This fractions calculator is built to be fast and exact, so it helps to know the edge cases it flags rather than silently guessing at.

  • A denominator of zero is not defined in mathematics, so the calculator shows an error message instead of a result rather than returning infinity.
  • Decimal input is read exactly as typed, up to 12 decimal places, so a long repeating decimal like 0.3333 is treated as a finite number rather than the fraction 1/3 it’s approximating.
  • Very large numerators or denominators can lose precision once they exceed what a standard number can represent exactly — the same limit any calculator built on floating-point numbers runs into.
  • Negative numbers are supported in either the numerator or denominator, and the sign is normalized onto the numerator in the simplified result. Mixed numbers can be entered in the first calculator: put the whole number in the small box to the left of the fraction (2 and 1/2 for 2 1/2). A negative whole number makes the whole mixed number negative, so −2 1/2 means −5/2. The fractions calculator also shows the mixed number in every result above 1, for example 19/12 = 1 7/12.

A worked example with a mixed number

Add 3/4 and 5/6 in the fractions calculator. Cross-multiplying gives (3×6 + 5×4) / (4×6) = 38/24. The greatest common divisor of 38 and 24 is 2, so the simplified fraction is 19/12, which is 1.583333 as a decimal. Because 19/12 is larger than 1, the fractions calculator also shows it as the mixed number 1 7/12: 12 goes into 19 once, with 7 left over.

Fractions with whole numbers: adding mixed numbers

A mixed number is a whole number plus a fraction, such as 2 1/2. To add or subtract mixed numbers by hand, turn each one into an improper fraction first: multiply the whole number by the denominator and add the numerator. Then use the normal fraction rules. The fractions calculator does this conversion for you when you fill in the small whole-number box.

w a/b = (w × b + a) / b
Adding: 2 1/2 + 1 3/4 = 5/2 + 7/4 = 10/4 + 7/4 = 17/4 = 4 1/4.
Subtracting: 3 1/3 − 1 3/4 = 10/3 − 7/4 = 40/12 − 21/12 = 19/12 = 1 7/12.
Multiplying: 1 1/2 × 2 2/3 = 3/2 × 8/3 = 24/6 = 4.
Dividing: 2 1/4 ÷ 1 1/2 = 9/4 ÷ 3/2 = 9/4 × 2/3 = 18/12 = 3/2 = 1 1/2.

A common mistake is to add the whole numbers and the fractions separately when subtracting: 3 1/3 − 1 3/4 is not 2 and −5/12 written as “2 5/12”. Converting to improper fractions first, as above, avoids that and gives 1 7/12.

Related calculators

To turn a fraction into a percentage, use the percentage calculator. The average calculator finds the mean of a list of numbers, and the scientific calculator handles powers, roots and longer expressions.

Frequently Asked Questions

How do I add fractions with whole numbers?

Turn each mixed number into an improper fraction (whole number × denominator + numerator, over the same denominator), then add as usual: 2 1/2 + 1 3/4 = 5/2 + 7/4 = 17/4 = 4 1/4. In the fractions calculator, type the whole numbers in the small boxes and it shows 17/4, 4.25 and the mixed number 4 1/4.

Can I also enter negative fractions?

Yes, all three calculators support negative numbers in either the numerator or denominator.

Does the decimal-to-fraction conversion also work for repeating decimals?

The fractions calculator works with the decimal number exactly as you type it, so it’s most accurate with a finite number of decimal places. For long repeating decimals (like 0.3333…), the result may be an approximation.

What happens if I divide by zero?

Dividing by zero is not defined in mathematics. If you enter a denominator of 0, or divide by a fraction whose numerator is 0, the fractions calculator shows a short message instead of a result.

Does this fractions calculator show the work, or just the answer?

The fractions calculator shows the unsimplified result, the decimal equivalent, the simplified fraction and the mixed number, so you can see how the numbers were reduced rather than just the final value.

This fractions calculator provides a general, mathematically correct calculation based on the numbers you enter.

For more free calculators, visit the CalcSwiftly homepage.

Reviewed by: CalcSwiftly · Last reviewed: