Calculate Cost Margin from Revenue and Profit This calculator helps you calculate cost and margin from sales revenue and profit. Revenue ($): Profit ($):