Profit Margin Calculator

How much profit does your pricing strategy generate per sale?

Calculate profit margins to set competitive prices and evaluate business performance. Enter your costs and selling price to see gross margin percentage, markup ratio, and total profit.

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

Profit margin works like water filling a bucket — the deeper the bucket (higher costs), the more water (revenue) you need to reach the same profit level. Unlike markup which compounds on cost, profit margin shows exactly what percentage of each dollar stays in your business. A 40% margin means 40 cents of every revenue dollar becomes profit, while 60 cents covers costs.

The calculation divides profit by selling price because revenue determines cash flow, not costs. This perspective helps you understand pricing power — businesses with strong margins can weather cost increases, invest in growth, and survive economic downturns. Weak margins leave no cushion for unexpected expenses or competitive pricing pressure.

Profit margin also reveals pricing strategy effectiveness across different products or services. High-margin offerings subsidize lower-margin items, creating a portfolio approach that maximizes overall profitability while maintaining market competitiveness.

When To Use This
Right tool, right situation

Use profit margin calculations before setting prices on new products, when competitors change pricing, or during cost increases that pressure profitability. Margin analysis helps evaluate whether promotional pricing makes financial sense or will damage long-term sustainability.

Margin calculations become critical during business valuation, loan applications, or investor presentations because they demonstrate operational efficiency and pricing power. Lenders and investors scrutinize margins to assess business viability and competitive positioning.

Avoid relying solely on margin analysis for businesses with significant fixed costs, seasonal variations, or complex product mix economics. Manufacturing businesses with high setup costs need contribution margin analysis, while service businesses with variable capacity utilization require different profitability metrics beyond simple margin calculations.

Common Mistakes
Why results sometimes look wrong

The biggest mistake is confusing profit margin with markup, leading to pricing errors that destroy profitability. Businesses often calculate 50% markup thinking they achieve 50% margin, when actual margin is only 33%. This confusion causes systematic underpricing that slowly kills cash flow.

Another common error involves ignoring hidden costs when calculating margin. Direct material costs are obvious, but businesses forget labor allocation, overhead absorption, or variable expenses like shipping and payment processing. true cost calculations require full expense allocation, not just obvious line items.

The third mistake treats all margins equally across products or time periods. Seasonal businesses need higher margins during peak periods to survive slow seasons. Similarly, loss leaders with negative margins only work when paired with high-margin complementary sales, not as standalone pricing strategy.

The Math
Worked examples and deeper derivation

The profit margin formula divides profit by selling price, then multiplies by 100 for percentage: (Selling Price - Cost) ÷ Selling Price × 100. This differs from markup, which divides by cost instead. The mathematical relationship means margin percentage always stays lower than markup percentage for the same transaction.

For example, a $30 cost with $50 selling price creates $20 profit. Margin equals $20 ÷ $50 = 40%, while markup equals $20 ÷ $30 = 67%. This relationship holds because the denominator (selling price) always exceeds the numerator (profit) in healthy businesses.

Reversal calculations work by rearranging the formula. To find required selling price for target margin: Cost ÷ (1 - Target Margin). To find maximum allowable cost: Selling Price × (1 - Target Margin). These reversals help with pricing decisions and cost management.

Coffee shop pricing decision
Cost per latte: $3.20, Selling price: $5.50, Daily volume: 85 lattes
Your 41.8% profit margin generates $2.30 profit per latte and $196 daily profit. This margin supports rent, labor, and growth while remaining competitive with local coffee shops.
Manufacturing break-even analysis
Production cost: $127.00, Target selling price: $180.00, Monthly production: 240 units
The 29.4% margin yields $53 profit per unit and $12,720 monthly profit. This margin covers overhead costs and provides reasonable return, though competitors may pressure pricing.
Consulting service pricing
Hourly cost basis: $85.00, Billing rate: $150.00, Monthly hours: 120
Your 43.3% margin creates $65 profit per hour and $7,800 monthly profit. This healthy margin accounts for unbillable time, benefits, and business development while staying market-competitive.
Expert Unlock
The thing most explanations skip

Professional pricing strategists focus on margin variance across customer segments, revealing which buyers accept premium pricing versus those requiring competitive rates. Tracking margins by customer type, order size, or sales channel exposes hidden profit opportunities and identifies unprofitable relationships that drain resources.

What profit margin should my business target?

What is the difference between profit margin and markup?
Profit margin measures profit as a percentage of selling price, while markup measures profit as a percentage of cost. A $20 profit on a $50 item with $30 cost shows 40% margin but 67% markup. Margin tells you what percentage of each sale becomes profit, while markup shows how much you multiply your costs.
What profit margin is considered good for small business?
Most healthy small businesses target 15-25% profit margins, though this varies dramatically by industry. Service businesses often achieve 25-40% margins while retail typically runs 2-10%. Manufacturing margins usually fall between 10-20%, depending on volume and competition.
How do I use profit margin to set competitive prices?
Start with your required profit margin, then work backward to find your maximum allowable cost or minimum selling price. If competitors force lower margins, focus on reducing costs rather than accepting unprofitable pricing. Track margins monthly to spot pricing pressure early.

Need something this doesn't cover?

Suggest a tool — we'll build it →