Profit Margin Formula:
Net Profit Margin = Net Profit / Revenue
Where, Net Profit = Revenue – Cost
Calculate the net profit margin, net profit and profit percentage of sales from the cost and revenue. The net profit margin is net profit divided by revenue (or net income divided by net sales).