Calculation of finite-size effects and extraction of surface characteristics