As garfunkle24 says, it depends on what standard is being used. American ANSI, German DIN, Japanese JIS and International ISO use different sizes. A quick search online will reveal the sizes used, though even then nothing is certain, as some of the standards change. DIN for example, is gradually coming in line with ISO.
Thankfully, in the larger sizes, there seems to be a lot of crossover.
22, 24, 27, 30, 32 and 36 seem to cover most requirements, but if you are going to find unusual sizes it’s generally machine tools where they lurk.
I’ve found real oddities over the years. I’ve found British machines destined for European customers that had bolts in the old British Standard Metric that pre dated ISO and used a totally different range of sizes (23mm I seem to recall was one). Also Swedish machines that had bolts with Whitworth threadform but metric bolt heads...!
If you need a Whitworth socket I’d probably pick one up. One advantage of Whitworth tools, if you buy used, is that supply generally exceeds demand, so really good quality tools can be obtained quite cheaply - except Snap On where they have rarity value for collectors!