The Greater Than or Less Than Calculator provided by Hesapstan compares two real numbers and shows whether the first number is greater than, less than, or equal to the second number.
The number comparison calculator shows the relationship between two numbers
Enter a first number and a second number, and the calculator returns one of three symbols: >, <, or =. If the first number is larger, it shows >. If it is smaller, it shows <. If both values are the same, it shows =.
This calculator does not sort lists, compare intervals, or find the largest value in a group. It only compares the first number with the second number.
>, <, and = give the comparison result in symbol form
The symbol > means greater than, < means less than, and = means equal to. The open side of the symbol faces the larger number, so 9 > 2 and 2 < 9 describe the same relationship from opposite directions.
Giriş / Input: A = 2, B = 9 — Sonuç / Output: 2 < 9 — 2 is less than 9, so the less-than symbol is used.
Negative numbers are greater when they are closer to zero
Negative-number ordering can feel counterintuitive. On a number line, values increase as you move to the right. That is why -3 is greater than -7: -3 is closer to zero and lies to the right of -7.
Giriş / Input: -3 and -7 — Sonuç / Output: -3 > -7 — A larger absolute value does not make a negative number larger; position on the number line matters.
Decimals can be compared with either a comma or a dot
You may enter decimal values such as 1.5 or 1,5. The calculator interprets them as decimal numbers and compares their numeric values. For example, 1.5 and 1.50 represent the same value, so they are equal.
This calculator compares the values you enter. If you paste a long decimal result from another tool, a tiny visible difference may affect equality. Check the written values when exact equality matters.
Equality means the two inputs represent the same numeric value
The result is = when both numbers have the same numeric value. For example, 5 = 5 and 1.50 = 1.5. Equality is about numeric value, not always about writing style.
This calculator compares numbers; it does not perform arithmetic
Use the Integer Calculator for integer operations and the Decimal Operations Calculator for arithmetic with decimals. Use this comparison calculator when you want to know whether one number is greater, smaller, or equal to another.
For example, use the Addition Calculator to compute 7 + 3, but use this page to compare 7 and 3.
Frequently Asked Questions
What does greater than mean?
Greater than means the first value is larger than the second value. For example, 7 > 3 means 7 is greater than 3.
What does less than mean?
Less than means the first value is smaller than the second value. For example, 2 < 9 means 2 is less than 9.
How do I compare negative numbers?
Use the number line idea: the number farther to the right is greater. Therefore -3 > -7 because -3 is closer to zero.
Why is -5 less than -2?
Because -5 is farther left on the number line. Even though 5 is larger than 2 in absolute value, -5 is smaller than -2.
Can I compare decimals?
Yes. Decimal values with a dot or a comma are supported, such as 1.5 and 1,5.
Can this calculator compare more than two numbers?
No. It compares only two numbers. It does not sort a list or find the largest value in a group.