Gross Profit (GP) Margin Calculator
Use this calculator to find gross profit, gross profit margin, markup, and target selling prices.
1) Calculate GP Margin from Revenue and Cost
Gross Profit = Revenue − COGS
GP Margin (%) = (Gross Profit ÷ Revenue) × 100
2) Find Selling Price from Cost and Target Margin
Required Price = Cost ÷ (1 − Target Margin)
What is GP margin?
Gross profit (GP) margin tells you how much of each sales dollar remains after paying the direct costs of delivering your product or service. It is one of the fastest ways to evaluate pricing strength, product profitability, and operational efficiency.
If your revenue is $100 and your direct cost is $65, your gross profit is $35 and your GP margin is 35%. That means you keep 35 cents before overhead, marketing, salaries, taxes, and net profit.
Why this number matters for business owners
- Pricing decisions: Confirms whether your prices are high enough to support growth.
- Product mix optimization: Highlights which items are pulling profits up or down.
- Forecasting: Improves budgeting by connecting sales to expected gross profit.
- Benchmarking: Helps compare performance over time and against industry norms.
How to use the GP margin calculator
Method 1: Known revenue and cost
Enter your revenue and COGS to instantly calculate:
- Gross profit amount
- GP margin percentage
- Markup percentage
This is ideal when reviewing past sales, monthly results, or current product profitability.
Method 2: Known cost and desired margin
Enter your cost and target margin to calculate the minimum selling price required. This is useful when launching new products, quoting projects, or setting minimum pricing policies.
GP margin vs markup (common confusion)
GP margin and markup are related but not the same:
- Margin uses revenue as the base.
- Markup uses cost as the base.
Example: Cost $50, price $80.
- Gross profit = $30
- Margin = 37.5%
- Markup = 60%
Using the wrong metric can result in underpricing and lower profitability than expected.
Best practices to improve gross margin
- Review supplier contracts and negotiate based on volume.
- Reduce waste, rework, and returns in fulfillment workflows.
- Bundle low-margin and high-margin products strategically.
- Test value-based pricing instead of cost-plus pricing alone.
- Track margins by channel (online, wholesale, retail) instead of averaging everything.
Typical mistakes to avoid
- Excluding shipping, packaging, or transaction fees from COGS.
- Confusing gross margin with net profit margin.
- Using one blended margin figure for very different products.
- Setting discounts without checking post-discount margin impact.
Quick FAQ
What is a good GP margin?
It depends on your industry. Software often runs much higher than physical retail. Compare against your own historical trend and direct competitors first.
Can margin be negative?
Yes. If your selling price is below direct cost, gross profit is negative and GP margin is negative. This may be intentional for loss leaders, but it is usually not sustainable long term.
Should I track GP weekly or monthly?
High-volume businesses should track weekly or even daily by category. Lower-volume businesses can often track monthly, but should still review by product line.
Final thought
Revenue growth alone can hide weak economics. A disciplined focus on gross profit margin helps you build a business that scales with stronger cash flow and healthier profits. Use this GP margin calculator as a daily decision tool—not just a reporting metric.