Calculate profit margin, markup percentage, and profit amount from your cost and selling price.
Profit margin tells you what percentage of your selling price is actual profit. The formula is: Margin = ((Price − Cost) ÷ Price) × 100. Markup, by contrast, measures how much you've added to cost: Markup = ((Price − Cost) ÷ Cost) × 100. Both metrics are essential for pricing decisions, but margin is more useful for understanding profitability since it relates profit directly to revenue. Enter your cost and selling price above to see both values along with your absolute profit per unit.
Profit margin is the percentage of the selling price that represents profit, calculated as (Price - Cost) / Price × 100. Markup is the percentage added to cost to reach the selling price, calculated as (Price - Cost) / Cost × 100. Margin is always lower than markup for the same cost and price because they use different denominators.
To calculate profit margin, subtract your cost from your selling price to get profit, then divide profit by the selling price and multiply by 100. For example, if an item costs $40 and sells for $100, the margin is ($100 - $40) / $100 × 100 = 60%.
A good profit margin varies by industry. Retail typically sees 20-50% gross margins, SaaS companies often have 70-85%, and restaurants average 3-5% net margin. As a general rule, a 10% net profit margin is considered average, 20% is good, and above 30% is excellent for most businesses.