The paper presents the results of calculation of thermodynamic parameters of compounds formed between the system components. Complete thermodynamic-diagram analysis of the Fe-Ni-C-O system has been carried out taking into consideration the congruent compounds. The diagram of the four-component system Fe-Ni-C-O and mathematical model of its phase structure were constructed on the basis of full thermodynamic-diagram analysis and reference thermodynamic data.