81+ How To Calculate The Margin Of Safety 2022. The margin of safety is calculated based on the ld01 (amount of drug that is lethal in 1% of the population) and ed99 (amount of drug. In other words, the total number of sales dollars that can be lost before the company loses money. Margin of …