Margin calculation

Please tag your question under the right category when posting.