Porous carbon structures are actively used in various fields of science and technology. The mechanical strength of porous carbon structures with a density of 1.4 g /cm3 with different pore sizes and different concentrations of oxygen atoms was investigated. Investigation of the mechanical properties of porous carbon nanostructures was carried out on three models with different sizes of nanopores (0.4–0.8 nm, 0.2–1.12 nm, 0.7–1.3 nm).