So what determines the cruising altitude the plane actually flies at? I was thinking that the outside air temperature, windspeed, fuel load, etc.. are taken into account, but who does the calculation and is there a formula? I've flown at anywhere from 19,000 to 39,000 ft.