Margin is profit as a percent of price; markup is profit as a percent of cost. Enter both numbers to see all three.
margin =(price-cost)/price markup =(price-cost)/costMargin divides profit by price; markup divides profit by cost. Same profit, different base.