Skip to content
FiftyCalc Free calculators for all 50 states

Comparing Fractions Calculator

Test cases replayed : 3 of 3 match · Methodology · No outside source listed

Enter the numerator and denominator of each fraction to see which is larger, both as decimals and over a common denominator.

Result

Sample figures

Result—

Cross-product difference (n₁ × d₂ − n₂ × d₁, sign-corrected) —

  • First fraction as a decimal—
  • Second fraction as a decimal—
  • Least common denominator—
  • First fraction: numerator over the common denominator—
  • Second fraction: numerator over the common denominator—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Comparing Fractions Calculator

First fraction: numerator: enter a number. Prefilled example: 3.

First fraction: denominator (not 0): enter a number. Prefilled example: 4.

Second fraction: numerator: enter a number. Prefilled example: 5.

Second fraction: denominator (not 0): enter a number. Prefilled example: 7.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. First fraction: numerator: enter a number.
  2. First fraction: denominator (not 0): enter a number.
  3. Second fraction: numerator: enter a number.
  4. Second fraction: denominator (not 0): enter a number.
  5. Read the result: Result; the panel also shows Cross-product difference (n₁ × d₂ − n₂ × d₁, sign-corrected), First fraction as a decimal, Second fraction as a decimal, Least common denominator, First fraction: numerator over the common denominator and Second fraction: numerator over the common denominator.

How this calculator works

Cross multiplication: with positive denominators b and d, a/b > c/d exactly when a × d > c × b, and the fractions are equal when a × d = c × b. A negative denominator flips the inequality, so the calculator multiplies the difference by the sign of b × d.

Common denominator: the least common denominator is lcm(b, d), the least common multiple of the two denominators. Each fraction is rewritten with it (a × lcd ÷ b over lcd), and the larger numerator marks the larger fraction.

The formula

  1. C=(n1×d2−n2×d1)×{1if d1×d2>0−1otherwise+0
  2. Cmp={1if C>02if C<03otherwise
Symbols used in the formula
SymbolMeaning
n1First fraction: numerator
d1First fraction: denominator (not 0)
n2Second fraction: numerator
d2Second fraction: denominator (not 0)
CCross-product difference (n₁ × d₂ − n₂ × d₁, sign-corrected)
CmpResult

Worked example

First fraction: numerator3
First fraction: denominator (not 0)4
Second fraction: numerator5
Second fraction: denominator (not 0)7
Cross-product difference (n₁ × d₂ − n₂ × d₁, sign-corrected)1
First fraction as a decimal0.75
Second fraction as a decimal0.7143
Least common denominator28
First fraction: numerator over the common denominator21
Second fraction: numerator over the common denominator20
  1. C=(3×7−5×4)×1+0=1
  2. Cmp=1

Result The first fraction is larger

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

Which is bigger, 3/4 or 5/7?

3/4. Cross multiplying gives 3 × 7 = 21 and 5 × 4 = 20; over the common denominator 28 they are 21/28 and 20/28.

Are 2/6 and 1/3 equal?

Yes. 2 × 3 = 6 and 1 × 6 = 6, so the cross products match; both are 2/6 over the common denominator 6.

Questions answered

Related calculators