Greater Than / Less Than Calculator

Compare two numbers and determine if a > b, a < b, or a = b. Supports decimals, fractions, and percentages.

Enter Two Values to Compare

vs

Result

Comparison
--
>

Step-by-Step Reasoning

Compare a and b: determine a ? b

Understanding Number Comparison

Comparing numbers is one of the most fundamental operations in mathematics. Whether you are working with whole numbers, decimals, fractions, or percentages, being able to determine which value is larger, smaller, or if they are equal is essential for making decisions, sorting data, and solving problems.

Comparison Symbols

Greater Than (>)

The value on the left is larger than the value on the right.

5 > 3 means "5 is greater than 3"

Less Than (<)

The value on the left is smaller than the value on the right.

2 < 7 means "2 is less than 7"

Equal To (=)

Both values are identical in magnitude.

1/2 = 0.5 means "they are equal"

The Alligator Rule

The symbol always "opens" toward the bigger number, like an alligator eating the larger value.

BIG > small, small < BIG

Comparing Different Number Types

Comparing Fractions

To compare fractions, find a common denominator or convert both fractions to decimals. With a common denominator, the fraction with the larger numerator is greater. For example, 3/4 vs 2/3: convert to 9/12 vs 8/12, so 3/4 > 2/3.

Comparing Decimals

To compare decimals, align the decimal points and compare digit by digit from left to right. The first position where the digits differ determines which number is larger. For example, 0.75 vs 0.7: comparing tenths (7 = 7), then hundredths (5 > 0), so 0.75 > 0.7.

Comparing Percentages

Percentages can be compared directly since they are already on a common scale of 100. Simply compare the numerical values. 75% > 60% because 75 > 60.

Cross-Multiplication Method for Fractions

To compare a/b and c/d, compute a*d and b*c. If a*d > b*c, then a/b > c/d. If a*d < b*c, then a/b < c/d. If they are equal, the fractions are equal. This method avoids finding a common denominator.

Applications

  • Sorting and ordering data sets
  • Financial comparisons (interest rates, prices, returns)
  • Academic grading and ranking
  • Recipe scaling and proportional reasoning
  • Programming (conditional logic and comparisons)
  • Statistics (comparing measures of central tendency)