Thermodynamic analysis of the phase equilibria in the Fe–Mn–Cr–Si–Al–Ti– Ni–V–Mo–B–S–P–C–N–O system at fixed concentrations of boron, manganese, chromium, silicon, aluminum, titanium, nickel, vanadium, molybdenum, sulfur, phosphorus, carbon and nitrogen was performed. Formation of nonmetallic phases upon cooling and crystallization of liquid metal solutions of various compositions was studied. It was established how aluminum and nitrogen content in the liquid metal solution affects the composition and amount of separated excess phases. Calculations demonstrated that boron nitride was not formed in the liquid metal and during crystallization.