Formula of Overall or Net Factory Overhead Variance

This is the formula for Margin of Safety.