The development in three-dimensional (3D) printing technology or additive manufacturing has provided a superior alternative to existing casting methods. However, the distortion and cracking due to residual stress and the direct measurement of the 3D printing process pose major challenges. Therefore, the finite element method (FEM) analysis was used to confirm changes in the variables having a major influence on the quality. The process of melting and solidification of the powder using a laser was simulated by constructing a thermal-structure two-way coupled analysis. The heat transfer and residual stress were confirmed to be produced by the laser heat input. Subsequently, the analysis model was verified by confirming that a phenomenon similar to the analysis occurred with the 3D printing specimen. Using this study, the residual stress and distortion are expected to be minimized while improving the production efficiency of 3D printing.