Frame sizes are usually given as seat tube lengths. However top tube length is far more important for the right fit.
It is always better to measure your existing bike and decide how much bigger or smaller is required rather than starting from scratch with a calculator. These bring forward no feedback from your old bike and are worse than useless, avoid!

FaLang translation system by Faboba