What Is Profit Margin?

Profit margin expresses profit as a percentage of revenue (selling price). The formula is: Profit Margin = (Revenue - Cost) / Revenue × 100. If you sell a product for $65 that costs you $45 to produce, your profit is $20 and your profit margin is ($20 / $65) × 100 = 30.77%. Profit margin tells you what percentage of each sales dollar you keep as profit after covering the cost of the product.

What Is Markup?

Markup expresses profit as a percentage of cost. The formula is: Markup = (Revenue - Cost) / Cost × 100. Using the same example — selling price $65, cost $45, profit $20 — the markup is ($20 / $45) × 100 = 44.44%. Markup tells you how much you added to the cost to arrive at the selling price.

Why the Difference Matters

Confusing margin and markup is one of the most common pricing mistakes in retail and e-commerce. If you want a 30% profit margin but apply a 30% markup instead, you will earn less than you planned. A 30% markup on a $45 cost gives a selling price of $58.50 and a profit margin of only 23.1% — not 30%. To achieve a 30% profit margin on a $45 cost item, you need to charge $64.29 (calculated as cost / (1 - desired margin) = 45 / 0.70 = $64.29).

Gross Margin vs Net Margin

Gross profit margin subtracts only the direct cost of goods sold (COGS) from revenue. Net profit margin subtracts all expenses — COGS, operating expenses, taxes, and interest — from revenue. Gross margin reflects production efficiency. Net margin reflects overall business profitability. Most small business pricing decisions use gross margin as the reference point since net margin depends on fixed overhead that does not vary per product.

Industry Benchmark Margins

Profit margins vary enormously by industry. Grocery retail typically operates at gross margins of 25 to 35% but net margins as low as 1 to 3% due to high operating costs. Software and SaaS companies commonly achieve gross margins of 70 to 90%. Fashion retail typically targets gross margins of 50 to 60%. Restaurants typically operate at gross margins of 60 to 70% (food cost is 30 to 40% of revenue) but net margins of only 3 to 9%. E-commerce businesses commonly target 30 to 50% gross margins depending on the category.

How to Use Our Free Profit Margin Calculator

Our free profit margin calculator at cookiescursor.com offers three calculation modes. The first calculates margin and markup from revenue and cost. The second calculates selling price from cost and desired markup percentage. The third calculates the required revenue from cost and target margin percentage. All results update instantly. Currency selector supports 40+ currencies. No signup required.

Frequently Asked Questions

What is a good profit margin for a small business?
This varies by industry. A net profit margin above 10% is generally considered healthy for most small businesses. Margins below 5% leave little buffer for unexpected costs or downturns.

How do I convert markup to margin?
Margin = Markup / (1 + Markup). A 44.44% markup equals a 30.77% margin. Margin = 0.4444 / 1.4444 = 0.3077 = 30.77%.

Should I use margin or markup for pricing?
Both are valid. Retailers often use markup because it starts from cost (which they know). Financial analysts prefer margin because it relates profit to revenue (which is the top line of the income statement).

What is contribution margin?
Contribution margin is revenue minus variable costs. It represents what each unit of sales contributes toward covering fixed costs and generating profit, and is used in break-even analysis.

Can margin be negative?
Yes. Negative margin means you are selling below cost — a loss on every sale. Some businesses use negative margin temporarily for customer acquisition, but it is unsustainable long-term.

How does pricing affect margin?
A small price increase has a disproportionately large impact on margin because cost is fixed. On a $45 cost item selling for $65 (30.77% margin), raising the price to $70 increases margin to 35.7% — a significant improvement from a 7.7% price increase.

Calculate Your Profit Margin Now

Use our free profit margin calculator for instant margin and markup calculations. No signup required.