The results of numerical experiments on the modeling of shock wave loading of solid and porous carbides with various stoichiometric compositions are presented. The model is based on the assumption that all the components of the mixture, including gas, have similar pressure, velocity and temperature. The model allows describing the behavior of porous materials and mixes in a wide range of porosity and pressures with precision of experiment. The behavior of complex materials such as carbides is considered as a mixture. The model accurately describes the behavior of the carbides with equal shares of the components of WC, TiC, TaC, NbC and the behavior of boron carbide B4C. Comparison for data of calculation and experimental data was held for carbides with different porosity.