Residual stresses have a significant influence on the load carrying capacity of gears. High near-surface compressive residual stresses can increase pitting strength and tooth root bending strength up to 50%. Tooth flank fracture (TFF) is a gear fatigue failure mode, which is in contrast to pitting or tooth root breakage not initiated at the surface or close to the surface but in larger material depths beneath the active gear flank. Therefore, the residual stresses in larger material depths are decisive for TFF. In these larger material depths, the residual stress conditions are almost unknown up to now. It is assumed that tensile residual stresses are present in these areas, which can negatively influence the TFF load carrying capacity. So far, no validated methods are known to estimate or predict these tensile residual stresses. As a result, the tensile residual stresses could not be considered in the calculation methods for the risk of TFF at all until recently.This paper presents a method to predict the residual stresses in case-carburized gears based on comprehensive numerical simulations of case-carburizing processes of different-sized gears. The calculated residual stress profiles also consider the tensile residual stresses in larger material depths.