Hard roof is the primary concern of strata control in underground mining. Various techniques have been utilized to fracture the hard roof and control the failure of strata. Understanding the impact of cracks on strata behaviour is vital for optimizing strata control strategies. In this study, the hard roof was regarded as a beam structure with different loading, support, and boundary conditions. The equivalent spring model was adopted to represent the edge-cracked section of the hard roof, which allows additional rotation at the crack location. A piecewise-defined function was developed for solving equations of hard roof in the vicinity of the crack section. By combining the hard roof beam model and the equivalent spring model, the impact of a crack on the hard roof can be measured. A case study was carried out to explore the impacts of crack location and crack depth on the mechanical state of the hard roof. Results showcase the failure of the hard roof controlled by the crack depth and greatly influenced by the crack location. From the perspective of coal burst prevention, roof fracturing should be implemented at the high-stress area of strata, whereas it has been challenging in practice to determine such a location precisely. To address this challenge, it was suggested that hard roof fracturing should be carried out before coal seam de-stressing, increasing the likelihood of a crack occurring in a high-stress area. By adopting the proposed method, the mechanical state of the edge-cracked hard roof can be quantified.