Margin Markup Calculator
Convert between cost, selling price, profit, margin, and markup with a clear per-unit and total breakdown.
How it works
Margin and markup both compare selling price with cost, but they use different bases. Gross margin is profit as a share of selling price. Markup is profit as a share of cost.
Enter cost and selling price to compare both percentages, or enter cost with a target margin or markup to calculate the selling price needed for that target.
Margin = (selling price − cost) ÷ selling price × 100
Markup = (selling price − cost) ÷ cost × 100
The optional quantity multiplies the per-unit figures so you can estimate total revenue, total cost, and total gross profit for a simple volume scenario.
Assumptions and limitations
Use this for quick pricing checks where one average unit cost and one selling price are enough. It does not model taxes, discounts, platform fees, shipping, inventory changes, returns, financing costs, tiered pricing, or accounting rules.
Results are planning estimates only. They are not financial, tax, legal, accounting, or business advice.
All calculations happen locally in your browser. Your costs, prices, margins, and quantity assumptions are not sent to a server.