Like everyone said, it totally depends on the frame.
You can check on the fitment calculator, but I don't put too much worth into it. And not sure why people recommend it. It is setup for road bikes, assuming you will be using drops, and your default position is the hoods. Also, the ranges are pretty wide.
Go to a shop a ride a few bikes. You need to get an idea of what kind of top tube you like to ride. 55cm and 57cm means nothing. What kind of bike is it? Is it a 55cm with a 56.8 top tube? Or is it a 55cm with a 55cm top tube? These would be 2 completely different bikes.