In wet development of deep water oil and gas, subsea pipeline is connected to subsea wells or manifold by jumpers at the middle or the ends. The temperature profile of pipeline with inline manifold is discontinuous, and like that of two pipelines connected together. Finite element analysis can accurately predict the expansion displacement, but the analysis is complex and time consuming. Based on an actual project, using analytical method, we develop an in-house work sheet to calculate the displacements of pipeline with inline manifold and discontinuous temperature profile. The calculation method has been verified by finite element analysis and reviewed by a third party. The method is applicable to engineering projects.