calculate roof square footage
https://online-wiki.win/index.php/What_Is_a_Roofing_Square_and_Why_It_Matters_for_Your_Project
To calculate roof square footage, start by measuring the length and width of each roof plane, including any overhangs. Then, multiply those dimensions to get the area for each section. If the roof has a pitch, you'll need to account for the slope by multiplying the total area by a pitch factor based on the roof's rise over 12 inches. Add up the areas of all sections to get the total square footage, which is crucial for estimating materials like shingles or metal panels.