Calculating Free Margin Calculator