Work out number comparison instantly with clear inputs, formula shown and shareable results.
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.
Difference and ratio
difference = |a - b|; ratio = max(a, b) / min(a, b)
Relative gap
percent difference = |a - b| / |b| x 100
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.
Difference answers 'how many more', ratio answers 'how many times as many', and children need to learn that these are different questions.
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.