A software model, CarbNitrideTool, has been developed to simulate the carbonitriding process. In this paper the fundamentals of the model will be presented and discussed including the experimental determination of the surface boundary conditions and the diffusivities of carbon and nitrogen as a function of alloy composition and temperature. The need for accurate databases is emphasized. The experimental verification of the model is also presented.