Margin Percentage Calculator

What percentage of your selling price becomes profit?

Calculate profit margin percentage from your cost and selling price to determine profitability and set competitive pricing strategies.

Updated June 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Imagine profit margin as the slice of pie you keep after paying all the ingredients. If you sell a $100 item that cost $60 to make, your $40 profit represents 40% of the selling price — that is your margin percentage. Unlike markup, which compares profit to cost, margin percentage shows what portion of each sale you actually keep.

The calculation divides profit by selling price, then multiplies by 100. This reveals the percentage of revenue that becomes profit. A 30% margin means 30 cents of every dollar goes to profit, while 70 cents covers the original cost. This perspective helps business owners understand cash flow and pricing sustainability.

Margin percentage directly impacts business survival because it determines how much revenue cushion exists above break-even. Higher margins provide more flexibility during slow periods, allow for competitive price cuts when necessary, and generate funds for growth investments. The percentage also reveals pricing power — products with consistently high margins often have strong brand value or limited competition.

When To Use This
Right tool, right situation

Use margin percentage when comparing profitability across different products, price points, or time periods. The standardized percentage format makes it easy to identify which items generate the most profit relative to their selling price. This comparison guides inventory decisions, marketing focus, and pricing strategies.

Margin calculations are essential during pricing negotiations with customers or when evaluating supplier cost changes. If a supplier raises costs by 10%, you can immediately calculate the impact on margin percentage and determine whether price increases are necessary to maintain profitability targets.

Do not rely solely on margin percentage when products have vastly different sales volumes or turnover rates. A 20% margin on a product that sells 1,000 units monthly generates more absolute profit than an 80% margin item selling 10 units monthly. Combine margin analysis with volume and velocity data for complete profitability assessment.

Common Mistakes
Why results sometimes look wrong

The most common mistake is confusing margin with markup, leading to pricing errors that can cost thousands in lost profit. Business owners often calculate a 50% markup thinking they have a 50% margin, when the actual margin is only 33%. This confusion results in underpricing products and missing profit targets.

Another frequent error is using inconsistent cost calculations across different products. Some business owners include labor in cost for one product but exclude it for another, making margin comparisons meaningless. Cost calculations must include all direct expenses — materials, labor, shipping, and applicable overhead — to produce accurate margins.

Many entrepreneurs also ignore the time value of money when calculating margins on slow-moving inventory. A product with 60% margin that takes six months to sell may be less profitable than a 30% margin item that turns over monthly. Cash flow timing affects real profitability, making gross margin percentage only part of the financial picture.

The Math
Worked examples and deeper derivation

The margin percentage formula is (Selling Price - Cost) ÷ Selling Price × 100. The numerator calculates absolute profit, while the denominator normalizes this profit against the revenue base. This creates a ratio that remains comparable across different price points and product categories.

Mathematically, margin percentage has an inverse relationship with markup percentage, but they are not interchangeable. If markup is M%, then margin is M ÷ (100 + M) × 100. For example, a 50% markup yields a 33.3% margin because $150 selling price minus $100 cost equals $50 profit, which is 33.3% of the $150 selling price.

The formula breaks down when selling price equals or falls below cost, producing zero or negative margins. This mathematical boundary represents the break-even point where business operations become unsustainable. Understanding this threshold helps set minimum pricing floors and evaluate the financial viability of different products or services.

Coffee shop espresso pricing
Cost per cup: $1.25 (beans, milk, labor), Selling price: $4.50
Margin percentage is 72.2%, meaning $3.25 profit per cup. This healthy margin covers overhead costs like rent, utilities, and equipment while generating profit for the business.
Handmade jewelry pricing
Material cost: $35.00, Time and labor: $25.00 (total cost $60.00), Selling price: $120.00
Margin percentage is 50%, with $60 profit per piece. This allows the artisan to reinvest in materials, pay themselves fairly, and grow their business sustainably.
Retail clothing markup
Wholesale cost: $22.00, Retail price: $65.00
Margin percentage is 66.2% with markup of 195%. This high margin accounts for inventory risk, seasonal fluctuations, and retail overhead while remaining competitive in the fashion market.
Expert Unlock
The thing most explanations skip

Professional margin analysis accounts for margin compression over product lifecycles, as competitive pressure typically erodes margins over time. Launch margins of 60-70% in innovative categories often decline to 20-30% as competitors enter and production scales. Smart pricing anticipates this compression by building initial margins high enough to remain profitable through the competitive cycle.

What is the difference between margin and markup percentage?

What is the difference between margin and markup percentage?
Margin percentage uses selling price as the base: (profit ÷ selling price) × 100. Markup percentage uses cost as the base: (profit ÷ cost) × 100. A $10 profit on $40 cost selling for $50 gives 20% margin but 25% markup.
What is a good profit margin percentage?
Good margins vary by industry. Grocery stores typically run 1-3% margins, restaurants 3-7%, software companies 70-90%. Compare your margin to industry averages, not absolute numbers. Consistent margins above your sector average indicate strong pricing power.
How do I increase my margin percentage?
Increase selling price, reduce costs, or both. Raising prices works if customers see added value. Cost reduction includes negotiating supplier prices, improving efficiency, or sourcing alternatives. Focus on the approach that maintains customer satisfaction while improving profitability.

Need something this doesn't cover?

Suggest a tool — we'll build it →