I am not sure the primary factor in road bike sizing is inside leg measurement tbh
this is true – there are so many things going on on a road bike geometry wise – and you tend to be sat in the same/similar position all the time compared with an mtb where you tend to move around a lot more, so fit is more important on a road bike.
However, top tube lengths are all fairly similar on a per size basis, though there are a few exceptions, so it's worth checking. Changing stem length on a road bike makes a good difference to bike fit and can be played around with very easily.
You will almost undoubtedly spend the first couple of weeks or month tweaking the set up slightly – seat height, bar height, bar angle, stem length, fore-aft seat position, bar-seat relative position etc…
i found though that with my long legs, short torso and long arms I need to go 58 to get the bar height (head tube length jumps considerably between 56 and 58 or medium-large in most ranges).
If it's your first road bike, it's worth spending a bit more and actually getting it from a shop where you can try lots unless you obviously fit into one of the size ranges offered by whatever manufacturer you're looking at.
what are you looking at, btw?