The NA61/SHINE, CBM, BM@N and MPD experiments are devoted to the study of the hot dense quark-gluon matter, which is formed in collisions of heavy nuclei. In all the mentioned experiments, forward hadron calorimeters will be used to determine the collision geometry. Due to the absence of a muon beam in the overwhelming majority of mentioned experiments, it is not possible to calibrate the detector with muon beams. Therefore, a new method was developed for the energy calibration of sections of hadron calorimeters with cosmic muons using longitudinal and transverse segmentation of the detector. The calibration procedure for hadron calorimeters with three-dimensional space reconstruction of cosmic muons tracks will be discussed.