there are a couple of factors at work here. the first is standover height. Wearing your cycling shoes measure from the floor to your nuts with o=your feet shoulder length apart. that is your standover height, and ideally you want the top tube on your bike to be at least a little lower than that. If you can straddle the bike with both feet on the ground, and not be pressed up against that tube you should be safe provided you are reasonably coordinated. Anyway nuff said about standover height.
the next measurement is the distance from the seat to the bars. this is partly a matter of arm length, and trunk length, but also somewhat a matter of personal taste as some people prefer a more upright seating position. The fixed measurement here is the top tube length. In other words the distance between the seat tube and headset. You should start with a frame that gets ou in the right ballpark for a comfortable position. After that there are several different adjustments you can make to get the position that you like. there is seat angle, and forward/rearward position, and stem length and height, and handlebar position.
If you feel too crowded, like your back is hunched up, then you need to adjust that distance between seat ad bars. you can do this by moving the seat back, and/or install a longer stem. I the position is too upright, you can lower the bars how you do that depends upon wether you have a threadless or threaded headset, but it's doable either way.