Home · Everyday · Rounding & Numbers · Greater Than Or Less Than Calculator
Greater Than Or Less Than Calculator
Which is greater? Two numbers compared, with their difference and the right inequality sign.
What this calculator does
Which is greater? Two numbers compared, with their difference and the right inequality sign. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
The numbers are compared exactly as entered, including sign.
The difference and the ratio are reported alongside the verdict.
Equal numbers are reported as equal — there is no hidden rounding.
Worked example
With the example inputs this page opens with (first number 7, second number 5), the result is 7 > 5 — comparison. The difference a − b is 2: positive, so a is greater. The headline figure is that difference.
Quick reference
| First number | Comparison |
|---|---|
| 3.5 | 3.5 < 5 |
| 5.6 | 5.6 > 5 |
| 7 | 7 > 5 |
| 8.75 | 8.75 > 5 |
| 10.5 | 10.5 > 5 |
| 14 | 14 > 5 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Greater Than Or Less Than Calculator work?
Which is greater? Two numbers compared, with their difference and the right inequality sign. A · b → Comparison. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Greater Than Or Less Than Calculator need?
A · b → Comparison. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Greater Than Or Less Than Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.