The selective laser melting (SLM) process provides a more extensive design space and manufacturability. However, it is still hindered by its inaccuracy in dimension and functionality. The distortion in the SLM process affects the dimensional accuracy of the component and may even hinder the SLM process. Still, the distortion mechanism has not been well explained; specifically, the effects from the process parameters and scan strategies on the distortion have not been sufficiently investigated. In this study, a quantitative model that considers displacements, plastic strains, and thermal strains on each layer is developed to analyze the distortion mechanism. The distortion is found to be induced by a residual stress gradient among the layers. Then, a transient numerical method calculates residual stress, plastic strain, and distortion in the SLM process. Different simulations with various layers, scanning speeds, stiffness of support structures, and scan strategies are performed to study the relationship between process parameters and distortion. It can be found that the distortion decreases as the height increases. The distortion increases with the scanning speed, reaching the maximum at 700 mm/s and then dropping. We concluded that increasing the stiffness of the support structures is beneficial to reduce the distortion and changing the scanning direction among layers is useless to reduce the distortion. This study gives a theoretical model to analyze the distortion and provides guidance for reducing distortions in the SLM process.