Profit Margin Calculator
Calculate your gross profit margin percentage from revenue and cost, or find the selling price needed to hit a target margin. Built for businesses and freelancers.
Results
Enter values and click Calculate to see results
How to Use This Profit Margin Calculator
Enter your revenue or selling price
Input the total revenue from a sale or your selling price per unit. This is the amount your customer pays.
Enter your cost of goods sold
Input the direct cost to produce or acquire the product. Include materials, labor, and any costs directly tied to the product.
View your margin and profit
The calculator shows your gross profit margin as a percentage and the gross profit in dollars per unit or sale.
Profit Margin Benchmarks by Industry
| Industry | Avg. Gross Margin | Avg. Net Margin |
|---|---|---|
| Software (SaaS) | 70-85% | 15-25% |
| Retail (General) | 25-50% | 2-5% |
| Restaurants | 60-70% | 3-5% |
| Construction | 15-25% | 2-6% |
| E-commerce | 30-50% | 5-10% |
| Manufacturing | 20-40% | 5-10% |
Note: Gross margin is revenue minus COGS divided by revenue. Net margin accounts for all expenses including operating costs, taxes, and interest. Benchmarks vary by company size and market position.
Understanding Profit Margins
Gross profit margin measures what percentage of revenue remains after paying for the direct costs of producing your product or service. The formula is: (Revenue - COGS) / Revenue x 100. A 40% margin means you keep 40 cents of every dollar after covering production costs.
Margin differs from markup, which is calculated as a percentage of cost rather than revenue. A 50% markup on a $100 cost gives a $150 price, but the margin is only 33% ($50 profit / $150 revenue). Confusing these two leads to pricing mistakes that erode profitability.
Healthy margins vary widely by industry. Software companies often achieve 80%+ gross margins because replication costs are near zero. Retailers operate on thinner margins but make up for it with volume and inventory turnover. Focus on your industry benchmarks and track your own margin trends over time.
Pricing and Margin Improvement Tips
Know Your True COGS
Include all direct costs: materials, direct labor, packaging, shipping to customer, and payment processing fees. Many businesses undercount COGS and overestimate their actual margin. Review your costs quarterly as supplier prices change.
Test Price Increases
Small price increases often have minimal impact on demand but directly improve margin. A 5% price increase with unchanged costs can boost margin by 20-30%. Test on new customers or specific products before rolling out broadly.
Negotiate with Suppliers
Regularly review supplier contracts and get competitive bids. Volume discounts, annual contracts, or switching to alternative materials can reduce COGS. Even a 3% reduction in material costs flows directly to your bottom line.
Analyze Product-Level Margins
Not all products have the same margin. Identify your high-margin winners and low-margin losers. Consider discontinuing consistently unprofitable products or raising their prices. Focus marketing on products with the best margin-to-effort ratio.
Frequently Asked Questions
What is a good profit margin?
It depends on your industry. A 10% net margin is excellent for retail but poor for software. As a rough guide: 5% net margin is low, 10% is healthy, and 15%+ is strong for most traditional businesses. Gross margins should be high enough to cover operating expenses with room for profit.
What's the difference between margin and markup?
Margin is profit as a percentage of selling price. Markup is profit as a percentage of cost. Example: Buy for $100, sell for $150. Markup is 50% ($50/$100), but margin is 33% ($50/$150). Margin is the correct metric for profitability analysis.
How do I calculate the selling price for a target margin?
Use the formula: Price = Cost / (1 - Target Margin). For a $100 cost and 40% target margin: Price = $100 / (1 - 0.40) = $100 / 0.60 = $166.67. This ensures your margin is 40% of the selling price, not the cost.
Should I focus on margin or volume?
Both matter, but margin comes first. High volume with negative or razor-thin margins is unsustainable. Aim for healthy margins, then scale volume. Some businesses intentionally run low margins to gain market share, but this strategy requires deep pockets and a clear path to future profitability.
How often should I review my margins?
Review product-level margins monthly and overall business margins quarterly. Input costs change, prices may need adjustment, and product mix shifts over time. Set up alerts for significant margin changes on key products. Regular review catches problems before they become crises.
Other Free Tools
Markup Calculator
Markup Calculator
Net Profit Margin Calculator
Net Profit Margin Calculator
Profit Margin Calculator
Profit Margin Calculator – Calculate Gross Profit & Markup
Operating Margin Calculator
Operating Margin Calculator
Discount Calculator
Discount Calculator – Calculate Sale Price & Savings
Discount Stacking Calculator
Discount Stacking Calculator – Calculate Final Price After Multiple Discounts