When calculating the stability of wheel pressure of quayside container crane,the traditional method is based on the assumption of structural rigidity,but the actual structure will be deformed to some extent,so negative wheel pressure will cause leg lifting.In this paper,the leg lifting of quayside container crane is divided into constrained leg lifting and free leg lifting,and the concepts of compressive stiffness and leg lifting stiffness are introduced.Based on the analysis of displacement relationship,a four-step calculation method is proposed by taking the typical constrained leg lifting with fastening on both land and sea sides under storm as an example.After analyzing the relationship between leg lifting and wheel pressure,binding force and stiffness in each step,the theoretical calculation formula was derived.This method has good accuracy,which is verified by Ansys finite element calculation.On this basis,the theoretical calculation results of free leg lifting were obtained.The example showed that the leg lifting algorithm can effectively adjust and optimize the wheel pressure and tie-down load.Finally,safety issues about leg lifting are discussed.The calculation through Ansys software proved that a proper amount of restrained leg lifting will not cause derailment during storm,and the increase of structural stress is acceptable.