How markup vs margin calculator works
Markup and margin both describe profit as a percentage, but from different bases. Markup is profit divided by the cost; margin is the same profit divided by the selling price. A $50 profit on a $100 cost is a 50% markup, but that same $50 on a $150 selling price is a 33.33% margin — same dollars, two different percentages because the base differs.
Enter the unit cost and the selling price you already have. The calculator computes the profit (price minus cost), the markup percentage (profit over cost), and the profit margin percentage (profit over price), plus the spread between the two so you can see how the two metrics diverge as the price rises relative to cost.
A selling price below the cost returns negative markup and margin figures — a clear signal you are selling at a loss. All math runs in your browser; nothing is sent anywhere.