Margin is the percentage of the final selling price that is Gross Profit. Margin is is calculated against Sales Price.
It’s the difference which exists between net sales and the cost of merchandise sold and from which expenses are usually met or profit derived.
(Wideman Comparative Glossary of Common Project Management Terms v2.1)