18" should be fine, but it's kind of hard to say going by frame size. There are a few different ways to measure frame size. If you have about 13" inside the frame from bottom bracket to the top tube you should be ok. It may start getting tight any less then that or depending on the angle of your bottom tube etc.