Where the code line sits on the cost curves

Code minimum at the optimum

Protection costExpected annual lossTotal annual costCode minimum$0$100k$200k$0$50k$100k$150k$200kAnnual protection spend, dollars a yearCode minimum $45,000Optimum $45,000The code line sits on the minimum, so the owner and the insurer would choose about the same spend.Fire chance per year2%Loss per fire$7,000,000Loss removed per $10k30%

Examples play automatically. Drag the orange code line left or right, or the three sliders for fire chance, loss per fire and loss removed per $10,000 of spend. Arrow keys edit the same values.

Protection costExpected annual lossTotal annual costCode minimum

Fire chance 2% a year · loss per fire $7,000,000 · each $10,000 of yearly protection removes 30% of the remaining expected loss · code minimum $45,000

Illustrative assumptions only; none of these figures is fire, insurance or code data. Protection cost is the annual spend itself (capital charge plus upkeep, dollars a year), so it is a straight line. Expected annual loss = fire chance × loss per fire × e^(−k × spend), where each $10,000 of annual spend removes the selected percent of the loss that remains. Total annual cost = spend + expected loss; its lowest point is the optimum, the spend an owner or insurer pricing property loss alone would stop at, rounded to $1,000. If protection removes too little loss to repay its own cost, the optimum is $0. The code minimum is a spend you set, not any real code value. This prices expected property loss only; it is not a life-safety analysis, an insurance quote or a finding of why any provision exists.