About the Margin Calculator
The Margin Calculator computes gross margin (profit ÷ selling price) and markup (profit ÷ cost) from cost and selling price — two numbers that are constantly confused: 50% markup is only a 33% margin.
Margin is profit as % of the selling price; markup is profit as % of cost. Cost 100, price 150: markup 50%, margin 33.3%.