Steel-confined concrete (STCC) columns and concrete-filled steel tube (CFST) columns have different load boundary conditions. In STCC columns, the steel tube transmits minimal axial load. Existing design practices employ different formulas to predict the axial load-bearing capacity of STCCs and CFSTs based on these varying load boundary conditions. However, there has always been a practical and challenging demand for researchers and engineers to develop a unified design formula that accommodates composite columns with different sections and load boundary conditions. This demand aligns with the contemporary design concept of continuous structural design optimization. This paper proposes an analytical solution for the elastic deformation of circular STCCs under axial compression, considering the specific load boundary conditions in circular STCC columns. This solution is then extended to encompass polygonal sections, resulting in a unified formula for determining the strength of STCC columns. Additionally, the influence of load boundary conditions on the confined effect of the core concrete is quantified by reformulating and simplifying the proposed formula. These adjustments are informed by the formulation for the axial load capacity of CFST columns proposed by Yu Min et al. Finally, a simple and convenient unified formulation for calculating the axial compressive strength of both STCC columns and CFST columns is proposed for practical engineering applications.