Number Comparison Calculator
Work out number comparison instantly with clear inputs, formula shown and shareable results.
About Number Comparison Calculator
Comparison reports the absolute difference, the ratio of larger to smaller, and the gap expressed as a percentage of the second number. Difference answers 'how many more', ratio answers 'how many times as many', and children need to learn that these are different questions.
Formulas
Difference and ratio
difference = |a - b|; ratio = max(a, b) / min(a, b)
Relative gap
percent difference = |a - b| / |b| x 100
Worked example
With the default values below, Number Comparison Calculator returns Difference of 27.000. Change any input above and every figure here is recalculated in your browser.
Inputs used
- First number
- 45
- Second number
- 72
Results
- Difference
- 27.000
- In words
- 45 is less than 72
- Larger as a multiple of smaller
- 1.600
- Difference as % of the second number
- 37.50%
Step by step
- 1Values used
- 2Difference and ratio
- 3Relative gap
- 4Difference= 27.000
- 5In words= 45 is less than 72
- 6Larger as a multiple of smaller= 1.600
- 7Difference as % of the second number= 37.50
Assumptions and limits
- The result is derived only from the 2 inputs listed above. Anything not among them is not part of the calculation.
- In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
- Figures are rounded for display to 3 decimal places, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.
How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.
Frequently Asked Questions
How is the Number Comparison figure worked out?
difference = |a - b|; ratio = max(a, b) / min(a, b). Comparison reports the absolute difference, the ratio of larger to smaller, and the gap expressed as a percentage of the second number.
Why does this matter?
Difference answers 'how many more', ratio answers 'how many times as many', and children need to learn that these are different questions.
What do I need to enter?
Enter first number, second number. The defaults shown are a realistic worked example — swap in your own figures to get a result you can use.
Related Calculators
You might also need
- Missing Number CalculatorAlso in Kids & Learning Games
- Number Bonds CalculatorAlso in Kids & Learning Games
- Addition Practice CalculatorAlso in Kids & Learning Games
- Alphabet Position CalculatorAlso in Kids & Learning Games
- Attendance Percentage CalculatorAlso in Kids & Learning Games
- Bonus Marks CalculatorAlso in Kids & Learning Games
