🧮
🧮 Math & statistics

Greater Than or Less Than Calculator (compare numbers, decimals & fractions)

Results update as you type.

Your numbers

Understanding the greater than or less than calculator — concept and principle

This calculator compares two numbers, including fractions, decimals and negative numbers, and states which is greater. It shows both as decimals, the difference, and a comparison over a common denominator. Use it for primary-school number sense, checking fraction homework or comparing prices and measurements.

Comparing numbers3/4 ? 0.73/4 = 15/200.7 = 14/20difference 0.75 − 0.7 = 1/20 = 0.053/4 > 0.7
Put both over the same denominator; the red square is the one extra twentieth.

How it is calculated

a < b when a lies to the left of b on the number line; a > b when it lies to the right.

The principle

The number line puts every real number in order. Any negative number is to the left of every positive one, and among negatives the one farther from zero is smaller, so −0.9 < −0.6. Fractions with different denominators cut the whole into pieces of different sizes, so they cannot be compared by their numerators until they share a denominator. Turning both into decimals works too, but a common denominator keeps the comparison exact.

Worked example

Default inputs: first number 3/4, second number 0.7.

  1. As decimals: 3/4 = 0.75, and the second is 0.7.
  2. Common denominator 20: 3/4 = 15/20 and 0.7 = 7/10 = 14/20, so 15/20 > 14/20.
  3. Comparison: 3/4 > 0.7; the first number is greater.
  4. Difference = 0.75 − 0.7 = 1/20 ≈ 0.05.

How to read the result

The difference tells you how far apart the numbers are, not just which is bigger. Here they differ by only a twentieth, so rounding both to one decimal place (0.8 and 0.7) would exaggerate the gap. The open side of the < or > symbol always faces the larger number.

Common mistakes

Keep in mind: Decimals from repeating fractions are rounded on screen; the comparison itself uses exact values where possible.

Frequently asked questions

Is 3/4 greater than 0.7?

Yes, 3/4 = 0.75, which is greater than 0.7.

How do I compare two fractions?

Rewrite them with a common denominator, or convert both to decimals.

Which is greater, −0.9 or −0.6?

−0.6, because it is closer to zero.

Sources: OpenStax, Elementary Algebra 2e (2020), §1.8 The Real Numbers

Checked 9 Nov 2026. OpenStax, Elementary Algebra 2e (2020), §1.8 The Real Numbers (order decimals by lining up the decimal points; compare fractions over a common denominator; a < b when a is to the left of b on the number line).

🧮 All math & statistics tools →🌍 Calculators by country →