What is the primary purpose of calculating the factor of safety for structures?

A. To compare the aesthetic appeal of different structural designs
B. To measure how much extra load a structure can take beyond what is intended
C. To calculate the cost of building a structure
D. To determine the minimum load that a structure can withstand
Answer: 