Oooh I'm going to answer before mr
the two numbers are: small cog - big cog (you probably already know this)
small numbers give harder gears for speed / slow cadence
large numbers give easire gears for hills
bigger the difference between the two the larger the jump between gears, the wider range of gears you will have.
A tester may use 11-21 so that each gear is only one tooth different and a constant cadence can be maintained. But this may limit you range of gears over a range of terrain.
A grimper may want 12-27 for good climbing.
I would recomend assuming you have a standard 39,53
- for your race bike an 11-25 (or 11-27 if you don't like hills or are going to sportive country)
- for your commuter a 12-27
If you have a compact
- for your race bike an 11-23
- for the commuter a 12-27
(I ride sram 34-50 with 11-26 race/sportive, 32,42,52 with 12-25 training bike, 38-50 with 12-26 winter bike)