Margin calculator

Calculate the gross margin percentage, mark up percentage and gross profit of a sale from the cost (input price) and revenue or selling price of an item. Revenue means selling (output) price.