Things to consider
If you are 5'4-5'8 but have a larger build than average. It would be advisable to get a medium for a more comfortable fit.
Furthermore, If you are 5'9-6'1 etc & have longer legs compared to torso. It would be advisable to get medium bottoms & small hoodie. To avoid a baggy hoodie, like wise if torso longer & legs shorter,