Fraction Calculator

This fraction calculator adds, subtracts, multiplies, or divides two fractions or mixed numbers and shows the exact simplified result, its mixed-number form, a rounded decimal equivalent, and a clear step-by-step breakdown of how the answer was reached — so you can check your own working or simply get the right answer fast.

Your fractions

Enter each fraction as an optional whole number plus a numerator and denominator — leave the whole-number field blank for a simple fraction like 3/4, or fill it in for a mixed number like 2 3/4.

Fraction A

e.g. whole 0, numerator 3, denominator 4 means 3/4.

Fraction B

e.g. whole 0, numerator 5, denominator 6 means 5/6.

How fraction operations actually work

A fraction such as 3/4 represents three parts out of a whole divided into four equal pieces. Because the bottom number (the denominator) tells you how big each piece is, you cannot simply combine two fractions' numerators and denominators directly unless those pieces are the same size. Each of the four basic operations handles that difference in its own way, and understanding the logic behind each one makes it much easier to spot a wrong answer at a glance.

Adding and subtracting — find a common denominator first

To add or subtract two fractions a/b and c/d, you first need them expressed in pieces of the same size — a shared, or "common," denominator. The simplest reliable choice is the product of the two denominators (b × d), which always works even if it is not the smallest possible option. Cross-multiplying to reach that common denominator gives:

a/b + c/d = (a×d + c×b) / (b×d)  and  a/b − c/d = (a×d − c×b) / (b×d)

In words: scale each fraction up so both share denominator b×d, then add or subtract the new numerators and keep that shared denominator. The result is correct but often not in lowest terms, so the final step is always to simplify it.

Multiplying — straight across, no common denominator needed

Multiplication is the most direct of the four operations: multiply the numerators together to get the new numerator, and multiply the denominators together to get the new denominator — (a/b) × (c/d) = (a×c)/(b×d). There is no need to match denominators first, because multiplying fractions means taking "a part of a part," and the sizes of the original pieces do not need to agree for that to make sense.

Dividing — multiply by the reciprocal

Dividing by a fraction is defined as multiplying by its reciprocal (the fraction flipped upside down): (a/b) ÷ (c/d) = (a/b) × (d/c) = (a×d)/(b×c). This works because dividing by c/d asks "how many groups of size c/d fit into a/b," and multiplying by d/c — its multiplicative inverse — answers exactly that question. The one rule to watch for is that the numerator of the second fraction (c) can never be zero, since that would mean dividing by zero once you flip it into the denominator of the reciprocal.

Simplifying fractions and converting forms

Reducing to lowest terms with the GCD

A fraction is in "lowest terms" when its numerator and denominator share no common factor other than 1. To get there, find the greatest common divisor (GCD) of the numerator and denominator — most reliably with the Euclidean algorithm, which repeatedly replaces the larger number with the remainder of dividing it by the smaller until the remainder reaches zero — then divide both numerator and denominator by that GCD. For example, 18/24 has numerator-denominator GCD 6, so dividing both by 6 gives 3/4, and since gcd(3, 4) = 1, that is the simplest possible form.

Improper fractions and mixed numbers

An "improper" fraction has a numerator larger than its denominator, such as 19/12. To write it as a mixed number, divide the numerator by the denominator: the whole-number quotient becomes the leading whole number, and the remainder sits over the original denominator as the fractional part — 19 ÷ 12 = 1 remainder 7, so 19/12 becomes 1 7/12. To reverse the conversion, multiply the whole number by the denominator, add the numerator, and place that total back over the same denominator: 1 7/12 → (1 × 12) + 7 = 19, giving 19/12 again. This calculator performs that same conversion on whatever you type in, which is why each input field accepts an optional whole-number part.

Fractions as decimals

Any fraction can be converted to a decimal by dividing its numerator by its denominator. Some divisions terminate cleanly — 3/4 = 0.75 — while others repeat forever, such as 1/3 = 0.333… or 5/6 = 0.8333…. Because a repeating decimal cannot be written out in full, this calculator rounds the decimal equivalent to six places and notes when the value has been rounded, so you always know the fraction above it is the exact answer and the decimal beneath it is a convenient approximation.

Worked example — 3/4 + 5/6

Suppose you choose Add and enter 3/4 and 5/6. The calculator first finds a common denominator by multiplying the two denominators together: 4 × 6 = 24. Scaling each fraction up to twenty-fourths gives 3/4 = 18/24 and 5/6 = 20/24. Adding the new numerators while keeping the shared denominator produces 18/24 + 20/24 = 38/24. That sum is not yet in lowest terms, so the calculator finds gcd(38, 24) = 2 and divides both parts by it, leaving 19/12 as the simplified result. Because 19 is larger than 12, it converts to the mixed number 1 7/12 (19 ÷ 12 = 1 remainder 7), and dividing 19 by 12 gives a decimal equivalent of approximately 1.583333 (rounded, since the digits repeat). Enter the same two fractions and the Add operation into the calculator above to see each of these steps laid out for you in order.

How to read your results

  • Simplified result — the exact answer to your operation, reduced to lowest terms with a positive denominator. This is the precise, unrounded value of the calculation.
  • Mixed-number form — the same exact value rewritten as a whole number plus a proper fraction whenever the simplified result is improper (numerator larger than denominator); otherwise it mirrors the simplified fraction.
  • Decimal equivalent — the result expressed as a decimal, rounded to six places for readability. A note appears whenever the true decimal repeats or runs longer than six digits, so you know it has been rounded.
  • Step-by-step breakdown — the common-denominator (or product) step, the unsimplified intermediate fraction, the greatest common divisor used to reduce it, and the final simplified form, in the order the calculation actually happens.

Exact math, not an estimate

Unlike calculators that model real-world quantities — money, time, body measurements — this one performs pure arithmetic on ratios of whole numbers. Every step (cross- multiplying to find a common denominator, multiplying straight across, flipping a fraction to divide, and reducing with the greatest common divisor) is exact, so the simplified fraction and mixed-number form shown above are precise values you can rely on without qualification. The single place rounding appears is the optional decimal equivalent, which exists purely for convenience and is clearly labeled whenever the true value repeats or runs longer than the six digits shown.

Common Questions

Frequently asked questions

How do I add or subtract fractions with different denominators?
First convert both fractions to an equivalent pair that share a common denominator — typically the least common multiple (LCM) of the two denominators — by multiplying each fraction’s numerator and denominator by whatever the other denominator contributes. Once the denominators match, add or subtract the numerators and keep the shared denominator, then simplify the result to lowest terms.
How does this fraction calculator handle mixed numbers like 2 3/4?
Each input accepts an optional whole-number part alongside the numerator and denominator. Internally the calculator converts a mixed number to a single improper fraction using num = whole × denominator + numerator (keeping the sign consistent), then performs the operation on those two improper fractions before simplifying and converting the answer back to a mixed number for display.
How do you multiply and divide fractions?
To multiply two fractions, multiply the numerators together and the denominators together: (a/b) × (c/d) = (a×c)/(b×d). To divide, multiply the first fraction by the reciprocal of the second: (a/b) ÷ (c/d) = (a/b) × (d/c) = (a×d)/(b×c). No common denominator is needed for either operation — just simplify the result afterward.
How do I simplify a fraction to its lowest terms?
Find the greatest common divisor (GCD) of the numerator and denominator using the Euclidean algorithm, then divide both by that GCD. For example, 18/24 has a GCD of 6, so dividing both parts by 6 gives 3/4, which cannot be reduced further because 3 and 4 share no common factor besides 1.
How do I convert between an improper fraction and a mixed number?
To convert an improper fraction (where the numerator is larger than the denominator) to a mixed number, divide the numerator by the denominator: the quotient becomes the whole-number part and the remainder becomes the new numerator over the same denominator. For example, 19/12 = 1 remainder 7, so it becomes 1 7/12. To go the other way, multiply the whole number by the denominator and add the numerator to rebuild the improper fraction.
How do I convert a fraction to a decimal, and what is a repeating decimal?
Divide the numerator by the denominator. Some fractions terminate, like 3/4 = 0.75, while others repeat forever, like 1/3 = 0.333… (the 3 repeats indefinitely) or 1/6 = 0.1666…. This calculator rounds repeating or long decimals to six places for display and marks them as rounded — the exact value is always the simplified fraction shown above it.
What is the most common mistake people make when adding fractions?
The most common error is adding (or subtracting) the numerators and denominators straight across, e.g. treating 1/2 + 1/3 as 2/5. That is incorrect because fractions represent parts of different-sized wholes until they share a denominator. The correct approach finds a common denominator first — here, 6 — giving 3/6 + 2/6 = 5/6.
Why does this calculator give an exact answer instead of an estimate?
Fraction arithmetic is exact mathematics: every input is a ratio of whole numbers, and every operation (common denominators, cross-multiplication, simplifying by the greatest common divisor) produces another exact ratio of whole numbers with no rounding involved. The only place rounding enters is the optional decimal equivalent shown for convenience, which this calculator clearly labels as rounded when the division does not terminate cleanly.
Can this calculator handle negative fractions?
Yes. You can enter a negative whole number or a negative numerator to represent a negative fraction (for example, −2 1/4 or −9/4). The calculator keeps track of the sign through every step and always normalizes the final simplified fraction so that the denominator is positive and the sign sits on the numerator — for example, showing −3/4 rather than 3/−4.
Why should the denominator never be zero?
A fraction’s denominator tells you how many equal parts the whole is divided into, and dividing by zero parts is undefined — it has no mathematical meaning. For the same reason, dividing one fraction by another is impossible when the second fraction’s numerator is zero, because that is equivalent to dividing by zero once you multiply by the reciprocal. This calculator checks for both cases and shows a clear error message instead of producing a nonsensical result.