Knowing your revenue isn’t the same as knowing your profit. Two businesses can post identical sales numbers and end up with completely different profitability, depending on their costs. Our Profit Margin Calculator shows you exactly what percentage of your revenue is actual profit gross, net, or markup in seconds.
Table of Contents
How to Use the Profit Margin Calculator
- Enter your revenue (total sales amount)
- Enter your cost (cost of goods sold, or total costs for net margin)
- Select which margin you want: gross margin, net margin, or markup
- Instantly see your profit amount and margin percentage
Formula
Gross Profit Margin:
Gross Margin (%) = ((Revenue − COGS) ÷ Revenue) × 100
Net Profit Margin:
Net Margin (%) = (Net Income ÷ Revenue) × 100
Where Net Income = Revenue − Total Expenses (COGS + operating expenses + taxes + interest, etc.)
Markup (different from margin a common confusion):
Markup (%) = ((Revenue − Cost) ÷ Cost) × 100
Variables Explained
Revenue total sales income before any costs are subtracted.
COGS (Cost of Goods Sold) the direct cost of producing what was sold (materials, direct labor), excluding indirect overhead like rent or marketing.
Net income what remains after subtracting all business expenses, not just COGS including operating expenses, taxes, and interest.
Margin vs. markup the distinction that trips most people up margin is calculated as a percentage of revenue (selling price), while markup is calculated as a percentage of cost. The same dollar amounts produce two different percentages depending on which base you use.
Example Calculation
Gross margin:
A product sells for $100 (revenue) and costs $60 to produce (COGS).
Gross Profit = 100 − 60 = $40
Gross Margin = (40 ÷ 100) × 100 = 40%
Markup on the same numbers (notice this is a different percentage):
Markup = ((100 − 60) ÷ 60) × 100 = (40 ÷ 60) × 100 = 66.7%
This is the classic margin-vs-markup trap: the same $40 profit is a 40% margin but a 66.7% markup using the wrong one when pricing products leads to systematically underpricing.
Real-Life Examples
Retail product pricing: A boutique buys inventory at $25/unit and sells at $70. Gross Margin = ((70−25)÷70)×100 = 64.3%. Markup on the same numbers = ((70−25)÷25)×100 = 180% useful for the retailer to know both, since suppliers often quote markup while investors and lenders evaluate margin.
Service business net margin: A consulting firm earns $500,000 in revenue with $350,000 in total expenses (salaries, office costs, software, taxes). Net Income = 500,000 − 350,000 = $150,000. Net Margin = (150,000 ÷ 500,000) × 100 = 30%.
Comparing two pricing strategies: A manufacturer considers pricing a product at either $80 or $95 against a $50 cost. At $80: Margin = ((80−50)÷80)×100 = 37.5%. At $95: Margin = ((95−50)÷95)×100 = 47.4% a seemingly small $15 price increase produces nearly a 10-point margin improvement, illustrating how sensitive margin is to pricing decisions near the cost floor.
Benefits of Using a Profit Margin Calculator
- Accurate pricing decisions set prices that guarantee your target profit margin, not just guessed markup
- Avoids the margin/markup mix-up one of the most common and costly pricing errors in small business
- Better investor and lender conversations margin, not markup, is the metric most financial analysis relies on
- Quick profitability comparisons evaluate multiple products or pricing strategies side by side
Common Mistakes
Using markup and margin interchangeably. As shown above, they produce different percentages from the same numbers pricing based on the wrong one systematically misprices products.
Confusing gross margin with net margin. Gross margin only accounts for direct production costs; net margin subtracts all expenses. A healthy gross margin can still coexist with a poor (or negative) net margin if overhead is high.
Ignoring margin when scaling pricing. A margin percentage that works at low volume may not hold at scale if fixed costs are spread differently always revisit margin calculations as the business grows.
Comparing margins across industries without context. A 10% net margin might be excellent in grocery retail but poor in software “good margin” is industry-dependent, not a universal number.
FAQs
What is a good profit margin?
It varies significantly by industry low-overhead service businesses often see 20%+ net margins, while grocery and retail commonly operate on much thinner margins (often under 5-10%). Compare your margin to your specific industry’s typical range rather than a general benchmark.
What is the difference between markup and margin?
Margin is profit as a percentage of selling price (revenue); markup is profit as a percentage of cost. The same profit dollar amount produces a lower margin percentage than markup percentage, which is why confusing them leads to underpricing.
How do you calculate profit margin percentage?
Subtract cost from revenue to get profit, divide that by revenue, then multiply by 100. Example: ($100 revenue − $60 cost) ÷ $100 × 100 = 40% margin.
What is the formula for net profit margin?
Net Profit Margin = (Net Income ÷ Revenue) × 100, where Net Income accounts for all expenses not just direct production costs, but operating costs, taxes, and interest too.
Related Calculators
Pricing decisions often go hand-in-hand with tax calculations check our GST Calculator or VAT Calculator depending on your market. Want to know how many units you need to sell before turning a profit? Our Break-even Calculator pairs directly with this one. For discount-based pricing strategies, our Discount Calculator is useful, and our ROI Calculator helps evaluate whether a business investment is paying off. For general percentage math, our Percentage Calculator rounds out the toolkit.
Conclusion
Revenue tells you what came in margin tells you what you actually kept. Use the calculator above to find your real gross or net margin, avoid the costly markup/margin mix-up, and price with confidence.