>>965025For me, this chart worked pretty well.
When you ride bigger frames, you will need to lower your back, and even getting a shorter stem.
Before buying, you need to know the measure of the bike, not just the size because it's different with every brand, for example, my bike is size 57 but in fact is basically a 55 looking at other brands sizes. You need to know the top tube/headtube lenght.
In the end, it depends on your body flexibility, and arms lenght (if your wing span is bigger than your total height, you could get a slightly bigger frame, if it's the same or less, don't)