It depends on too many factors not known or given. Typically, with a road bike older than 2000, you should be fine, given your inseam falls within a standard deviation for your height.
For new bikes, since the geometry affect how a bicycle fits, as well as wheel size and actual inseam, I cannot say. The best way to find out is to get the stand over height, which is usually listed in a excel like sheet either on the website or in the catalog, then take your inseam height. Inseam for bicycles is not like for pants either, grab a metric tape measure, a dowel rod, and a thin sheet of something solid like a ruler. Place the metal part of the tape measure under the ruler, put one foot on the ruler, pull the dowel up between your legs till it is firmly against you so called 'sit-bones' (the bottom of your pelvic bones) and is comfortable, IE not squishing anything delicate. Take the tape measure from the floor, and measure to the top of the dowel, making sure the dowel is parallel to the ground. The height you just measured is your stand over height. If you are not comfortable with the top bar that close, then subtract downward.
Remember, the shorter you have your seat post, the stiffer the ride and the more energy to the wheels, so you don't want to go too short just for that extra room.
Get yourself a spirit level, a stool, a tape measure and a pal. Then follow the instructions in the link below.
A centimeter is 1/30 of a foot.
Mile, kilometer, meter, yard, foot, inch, centimeter.
Pedal.
Each foot is 30.48 centimeters.
1 foot = 30.48 centimeters
30.48 cm
1 foot = 30.48 centimeters
2 foot = 60.96 centimeter (rounded)
From shortest to longest: Centimeter Inch Foot Yard Meter Hectometer Mile
1 foot is larger. 1 foot equals 30 centimetres.
0,3048
172.72cm