There is not a single key for choosing the right shoes. Every shoe is different, just as every foot can be different. What we can measure is the length and possibly also width.
The sizes are usually depended on the length of the foot. It happens that we wear different numbers of shoes, even though our foot is still the same size.
And then become a question: "What size of shoes should you choose?"