The one-sentence answer
Markup is your profit as a percentage of what the item cost you. Margin is your profit as a percentage of what you soldit for. The profit in dollars is exactly the same — you’re just dividing it by a different number.
Markup
(Profit ÷ Cost) × 100
Margin
(Profit ÷ Sale price) × 100