Math

Compare Fractions Calculator

Compare two signed fractions exactly using reduced fractions and integer cross-products.

Exact method explained belowEditable inputs
Calculation notebook
Calculation notebook

The formula and worked example below explain the calculation.

See the method

Enter your values

Runs on your device

Your answer

Your result

Let’s calculate.

Use the Calculate button to see your result.

Review the method below for assumptions and conventions.

How to use this tool

  1. Enter first numerator, first denominator, second numerator, second denominator.
  2. Select Calculate to view the result.
  3. Check the method and assumptions below before using the result.

Input reference and sample values

Use the units and choices shown for each field. Sample values are provided for practice, not as recommendations.

InputFormat and unitsSample
First numeratorEnter text using the format shown in the sample.2
First denominatorEnter text using the format shown in the sample.3
Second numeratorEnter text using the format shown in the sample.3
Second denominatorEnter text using the format shown in the sample.4

Result for these sample inputs

2/3 < 3/4
Left cross-product
8
Right cross-product
9

Select Try the example in the form to load these values and calculate them again. This replaces the current form inputs. Compare the result with the method and worked explanation below.

The method, explained

Normalize denominator signs and compare a×d with c×b. Integer cross-products avoid rounding a fraction to a decimal before comparing it.

A WORKED EXAMPLE

Using first numerator = 2, first denominator = 3, second numerator = 3, second denominator = 4, the result is 2/3 < 3/4. Change these example inputs to match your task; use the method above to check each step.

What to keep in mind

Up to 200 digits per integer. Both denominators must be nonzero. Finite-precision arithmetic is used. Check the domain and the stated convention before using an approximation.

Common questions

Does this work with negative fractions?

Yes. Denominators are made positive before comparison, so a negative denominator and signed numerator are handled consistently.

How can I check the result?

Normalize denominator signs and compare a×d with c×b. Integer cross-products avoid rounding a fraction to a decimal before comparing it. The worked example uses editable inputs. Calculations run on your device; no external API or account is required.

Methodology maintained by ClarityKit. How these tools are built and checked.