Simplifying Complex Fractions Calculator

Simplify X/Y where X and Y can each be a whole number, fraction, mixed number, or decimal, with full "convert, multiply by the reciprocal" steps shown.

Loading calculator…

How to use this calculator

Type one token into each box — the top box is X, the bottom box is Y — to build the complex fraction XY\frac{X}{Y}. Each box accepts a whole number ("6"), a simple fraction ("5/6"), a mixed number ("2 1/3"), or a decimal ("0.5"). The calculator converts both tokens to simple fractions, treats the main fraction bar as division, multiplies by the reciprocal, reduces by the greatest common factor (GCF), and converts to a mixed number when the result is improper.

Tip: Either box accepts a leading minus sign too — type it directly, like "-6/15" or "-2 1/3".

What makes this a "general" complex fraction

A complex fraction stacks one value on top of another, with the main bar between them meaning "divide":

XY\frac{X}{Y}

Many complex-fraction tools only accept a plain fraction in each slot. This calculator is more general: X and Y can each be a whole number, a fraction, a mixed number, or a decimal — any single token you'd naturally type for "the number on top" or "the number on the bottom."

Step 1: convert each token to a simple fraction

Before dividing, every token is rewritten as a simple (improper) fraction:

  • A mixed number like 2132\frac{1}{3} becomes 73\frac{7}{3} (multiply the whole part by the denominator, add the numerator).
  • A decimal like 0.50.5 becomes 12\frac{1}{2}.
  • A whole number like 66 becomes 61\frac{6}{1}.
  • A fraction like 56\frac{5}{6} or 615\frac{-6}{15} is reduced to lowest terms right away (the second one becomes 25\frac{-2}{5}).

The formula: multiply by the reciprocal

Once X and Y are both simple fractions ab\frac{a}{b} and cd\frac{c}{d}, the main bar's "divide" reading gives:

XY=ab÷cd=ab×dc=adbc\frac{X}{Y} = \frac{a}{b} \div \frac{c}{d} = \frac{a}{b} \times \frac{d}{c} = \frac{ad}{bc}

Dividing by cd\frac{c}{d} is the same as multiplying by its reciprocal dc\frac{d}{c} — keep the top fraction, change ÷ to ×, and flip the bottom fraction upside down. Multiplying straight across (numerator × numerator, denominator × denominator) always gives a correct, if not yet reduced, result.

Tip: Because dividing by Y is the same as multiplying by Y's reciprocal, Y's numerator can never be zero — flipping a zero numerator would create a zero denominator.

After multiplying: reduce, then convert to a mixed number

  1. Find the GCF of the raw numerator and raw denominator, then divide both by it — this is the fully reduced fraction.
  2. Convert to a mixed number if the reduced numerator's absolute value is at least the denominator (and the denominator isn't 1): divide with remainder, and the quotient becomes the whole part.

Worked examples

Example 1 — the default case: 21/35/6\dfrac{2\,1/3}{5/6}

Convert: 213=732\frac{1}{3} = \frac{7}{3}, and 56\frac{5}{6} is already simple. Multiply by the reciprocal: 73×65=4215\frac{7}{3} \times \frac{6}{5} = \frac{42}{15}. GCF(42, 15) = 3, so 145\frac{14}{5}. Since 14 ≥ 5, convert: 14÷5=214 \div 5 = 2 remainder 44. The answer is 145=245\frac{14}{5} = 2\frac{4}{5}.

Example 2 — a decimal token: 0.53/4\dfrac{0.5}{3/4}

Convert: 0.5=120.5 = \frac{1}{2}. Multiply by the reciprocal: 12×43=46\frac{1}{2} \times \frac{4}{3} = \frac{4}{6}. GCF(4, 6) = 2, so the answer is 23\frac{2}{3}.

Example 3 — a whole number on top: 61/2\dfrac{6}{1/2}

Convert: 6=616 = \frac{6}{1}. Multiply by the reciprocal: 61×21=121\frac{6}{1} \times \frac{2}{1} = \frac{12}{1}. The answer is the whole number 1212.

Example 4 — negative tokens: 51/36/15\dfrac{5\,1/3}{-6/15}

Convert: 513=1635\frac{1}{3} = \frac{16}{3}, and 615\frac{-6}{15} reduces to 25\frac{-2}{5}. Multiply by the reciprocal: 163×52=806=403\frac{16}{3} \times \frac{5}{-2} = \frac{80}{-6} = -\frac{40}{3}. The answer is 403=1313-\frac{40}{3} = -13\frac{1}{3}.

Common results reference

X / YMultiply by reciprocalAnswer
(2 1/3) / (5/6)7/3 × 6/52 4/5
(0.5) / (3/4)1/2 × 4/32/3
(6) / (1/2)6/1 × 2/112
(5 1/3) / (-6/15)16/3 × 5/-2-13 1/3

Precision note

Every computation uses arbitrary-precision integers (BigInt), not floating-point numbers — so the token conversions, the cross product, the GCF, and the reduced fraction are always exact, no matter how the two tokens are written.

Frequently asked questions

What is a complex fraction, and how is this different from a plain fraction-over-fraction calculator?
A complex fraction is any expression XY\frac{X}{Y} where the main fraction bar means "divide." This calculator accepts a general token in each slot — a whole number, a simple fraction, a mixed number, or a decimal (like "2 1/3", "5/6", "0.5", or "6") — rather than requiring four separate integer boxes.
How do you simplify X/Y when X or Y is a mixed number or a decimal?
First convert each token to a simple (improper) fraction — a mixed number like 2132\frac{1}{3} becomes 73\frac{7}{3}, and a decimal like 0.50.5 becomes 12\frac{1}{2}. From there, treat the main bar as division and multiply by the reciprocal, exactly as with any other complex fraction.
Why convert every token to an improper fraction first?
Multiplying by a reciprocal only works cleanly between two simple fractions. Converting a mixed number or decimal to an improper fraction first — with the same value, just a different form — lets the "multiply straight across" rule apply without any extra cases.
Can the top token (X) be zero? Can the bottom token (Y) be zero?
X can be zero — that just makes the whole complex fraction equal 0. Y can never be zero (whether typed directly as "0" or as any fraction that reduces to zero, like "0/5"): dividing by zero is undefined, since flipping Y to its reciprocal would put a zero in the denominator.
Why did I get a mixed number in the answer?
Whenever the simplified result is improper (its numerator, ignoring sign, is at least as large as the denominator) and the denominator isn't 1, the calculator also shows the equivalent mixed number. 145\frac{14}{5} becomes 2452\frac{4}{5} because 14÷5=214 \div 5 = 2 remainder 44.
Does this calculator work with negative tokens?
Yes. Type a minus sign directly into either box, e.g. "-6/15" or "-2 1/3". A single negative token makes the final answer negative; two negative tokens cancel out, exactly like signed whole numbers.
How is this different from the plain Complex Fraction calculator?
The plain complex fraction calculator expects four separate whole numbers, a/bc/d\frac{a/b}{c/d}. This calculator instead takes one general token per slot, so X and Y can each already be a mixed number or a decimal — no need to split them into separate numerator/denominator boxes first.

Related calculators