How this calculation works
Use cross multiplication for exact comparisons of integer fractions, even when both decimal approximations would round to the same number.
a/b = c/d exactly when ad = bcA worked example
3 × 12 and 4 × 9 both equal 36.
Good to know
Use positive denominators.
Reference: OpenStax Prealgebra (opens in a new tab) ↗
Compare the two diagonal products
The fractions 3/4 and 9/12 describe the same share. Multiplying each side of 3/4 = 9/12 by 4 × 12 clears both denominators and leaves 3 × 12 = 9 × 4. Both products equal 36, so the equality is exact. This is why comparing diagonal products works.
For a contrasting input, change the second numerator to 8. The left product remains 3 × 12 = 36, while the right product becomes 8 × 4 = 32. The fractions are unequal. Since the denominators are positive, the larger cross product also identifies the larger fraction, so 3/4 exceeds 8/12.
Avoid rounding before the comparison
Decimal displays may hide a small difference when they show only a few digits. Fractions 1/3 and 333/1000 can both display as 0.33 when rounded to two decimal places. Cross multiplication gives 1,000 and 999, revealing that they differ by 1/3000.
This calculator checks two entered ratios. The Equivalent fraction at a target denominator calculator instead finds a missing numerator when the denominator is specified. In either workflow the denominators must be nonzero. Positive denominators also keep inequality comparisons straightforward because multiplying by a negative value would reverse the inequality sign.
A few questions, answered
Can different-looking fractions be equal?
Yes. Multiplying numerator and denominator by the same nonzero factor preserves the share. For example, 3/4 and 9/12 are equal.
Does the method work when both numerators are zero?
Yes. With positive denominators, both fractions equal zero and both cross products are zero.