Profit margin calculator
A business doing USD $1M in revenue at 10% margin takes home the same profit as one doing USD $250K at 40%. The number on the top line isn't the number that matters.
Knowing what you actually retain from each sale, after COGS (cost of goods sold), is where pricing decisions get real. Even small pricing gaps don’t stay small, they compound quickly across contracts and over time.
This profit margin calculator gives you the formula, gross profit margin benchmarks by industry, and step-by-step guidance on how to find profit margin for any product instantly.
What is profit margin
Profit margin is the gap between what you charge and what it costs you to deliver. Expressed as a percentage: (Selling price − Cost) ÷ Selling price × 100.
The cost in that equation is your COGS, including materials, manufacturing, direct labor. COGS does not include rent, salaries, or overhead.
Importance of profit margin calculation
- Measures real profitability: Revenue tells you how much came in. Margin tells you how much stayed. A business doing USD $2M in sales at 8% margin is in a very different position than one doing USD $800K at 35%.
- Exposes cost problems early: A margin that's been quietly shrinking for two quarters usually means costs are creeping up faster than pricing. Catching that in the numbers is easier than catching it in the bank account.
- Drives smarter pricing: If your margin can't absorb a 10% supplier price increase without going negative, your pricing isn't built for the real world. Margin tells you how much room you actually have.
- Signals investment potential: Investors don't just look at growth. They look at whether growth is profitable. A high-margin business at moderate scale is often more fundable than a low-margin business at high volume.
- Set your competitive benchmark: Knowing your margin means nothing without knowing your industry's average. If competitors are running 40% and you're at 22%, that gap needs an explanation.
- Determines long-term sustainability: Thin margins leave no room for reinvestment, downturns, or pricing pressure. A healthy margin is what gives the business options.
How to use the profit margin calculator
This profit margin calculator works on a single product or unit, pre-tax. Follow these steps to calculate your gross profit margin percentage and markup in seconds.
Step 1: Enter your costs
The profit margin percentage calculator takes four cost inputs:
- Cost (COGS): it is the direct cost of producing or sourcing your product per unit
Materials and components, manufacturing or production labor, packaging, and incoming freight are usually included for a tangible product. COGS is often just your supplier or wholesale cost + incoming freight for a reseller or online retailer. It is the direct labor cost of providing the service for a firm that provides services.
Let's take an example where you offer skincare products. $5 for raw materials, $2 for packing, and $0.50 for incoming freight. Each unit's COGS will be $7.50.
- Selling price: the amount the buyer pays before taxes and discounts. Additionally, you can monitor how price changes impact your margin in real time by adjusting this using the slider.
Consider a scenario in which the product is priced at $35. Put in $35.
- Operating expenses: Overhead, rent, staff, equipment, software, and other business-related expenses unrelated to the product are all considered operating expenses. Divide your monthly total by the quantity of units sold to get a per-unit figure.
As an example, suppose your monthly overhead expenses are $2,000 and you sell 400 units. As a result, the operating cost per unit will be $5
- Other expenses: taxes, interest, payment processing, or any one-time costs. Leave at zero if none apply
Example: If you pay 2.9% in payment processing per transaction, then on a $35 sale that is $1.02. Enter $1 in that case.
Step 2: Read your results
The gross profit margin calculator returns gross, operating, and net margin plus gross profit, operating profit, net profit, total cost, revenue, and markup in one view. Use the toggle to switch between margin % and markup %.
Example on the numbers above: gross margin 72.2%, operating margin 58.9%, net margin 56.7%.
Step 3: Calculate selling price from margin and cost (reverse pricing)
The most useful move for pricing. Use the selling price slider to adjust the price and watch all three margins update instantly. Or reverse the formula manually: Selling price = COGS ÷ (1 − Target gross margin %).
Example: COGS $12.50, target gross margin 70%. Selling price = $12.50 ÷ 0.30 = $41.67.
How the profit margin calculator finds your margin
Enter your costs and selling price and the calculator does the math instantly. It applies the gross profit margin formula behind the scenes so you don't have to.
The formula it uses:
Gross margin % = (Selling price − COGS) ÷ Selling price × 100.
So if your cost is $60 and you sell at $100, you keep $40, that’s a 40% margin.
You can change the selling price to observe real-time changes in your profit, markup, and margin. This makes it simple to experiment with various price scenarios and determine what suits your business.
You can also break down the numbers further.
- COGS = Selling price × (1 − Margin %)
- Margin % = Markup % ÷ (1 + Markup %)
- Markup % = Margin % ÷ (1 − Margin %)
One thing to keep in mind, gross margin only looks at product cost. It doesn’t include operating expenses, taxes, or interest. Add those in the calculator to see your operating and net margin, so you know what you actually keep.
Types of profit margin
Not all margins tell the same story. The margin calculator above shows your gross margin but each type answers a different question about your business
Gross profit margin
Gross profit margin measures whether the product itself is profitable before any business running costs.
Formula: (Revenue − COGS) ÷ Revenue x 100
Operating profit margin
Operating profit margin is how much is left after the cost of running the business like rent, salaries, software, tools, overhead.
Formula: Operating income ÷ Revenue × 100
If your gross margin looks healthy but operating margin is thin, your running costs are eating your product profits.
Net profit margin
Net profit margin measures what is actually left after every cost, including taxes and interest on debt.
Formula: Net income ÷ Revenue × 100
It is the number investors look at when deciding if a business is worth backing.
What is a good profit margin
A 10% net profit margin is widely cited as a general benchmark for business health, but net margins vary dramatically by industry and gross margin (what the profitability calculator above measures) is typically two to four times higher than net margin for the same business.
The table below shows gross profit margin benchmarks by industry.
Source: https://fullratio.com/profit-margin-by-industry
How to improve your profit margins
Raise prices before you cut costs
Pricing is your most powerful lever. A 5% price increase on a 30% margin product delivers more bottom-line impact than a 5% cost reduction and requires zero operational change.
Find products with high demand, low return rates, and strong repeat purchase. Those can absorb a price increase without losing volume.
Example: COGS $60, selling price $100, current margin 40%. Raise price to $105; Margin goes from 40% to 42.9%, without touching a single cost.
Reduce cost of goods
Even a 2–3% reduction in COGS moves gross margin meaningfully when pricing stays constant. Start with the costs you've stopped questioning like packaging spec, shipping tiers, fragmented suppliers paying a premium for low volume.
Small cost tweaks are high-leverage precisely because they don't require your customer to do anything.
Example: COGS drops from $60 to $57 on a $100 product. Gross margin goes from 40% to 43%. Compare that to the price hike example above; a $3 cost saving actually delivers more margin improvement than a $5 price increase.
Cut products that miss your margin threshold
A product hitting revenue targets but missing your margin floor is consuming working capital, warehouse space, and operational focus that could go to your best performers.
Knowing how to figure out profit margin per SKU is the first step. If a product runs 10+ points below your average and doesn't drive repeat purchases at higher margin, it’s vanity revenue.
Example: Product A’s selling price is $50, COGS $42, margin 16%. Product B’s selling price is $50, COGS $30, margin 40%. Same price, same sales volume. Product B generates $12 more profit per unit. Focusing on Product B over Product A is the clearer call.
Track spending in real time
Margin erosion often goes unnoticed until the quarterly P&L reveals the damage done by gradual supplier price increases, rising shipping costs, and other untracked expenses that quietly add up over time. Categorize spend by vendor and team in real time so you catch cost increases the week they happen.
Aspire1 gives you that visibility with real-time spend tracking, so margin creep surfaces before it compounds.
Frequently asked questions
What is profit margin?
Profit margin is the percentage of revenue that remains as profit after subtracting costs. Gross profit margin subtracts only the cost of goods sold (COGS). Net profit margin subtracts all costs including operating expenses, interest, and taxes. It measures how efficiently you convert revenue into profit and it is the most common metric used in profitability analysis.
How is profit margin calculated?
To calculate profit margin: first find your gross profit by subtracting cost from selling price. Then divide gross profit by selling price and multiply by 100.
Formula: Margin % = (Selling price − Cost) ÷ Selling price × 100
For example: Selling price = USD $150, cost = USD $90. Gross profit = USD $60. Gross profit margin = (60 ÷ 150) × 100 = 40%.
What is the gross profit margin calculation formula?
Gross profit margin shows how much of your revenue remains after covering cost of goods sold COGS.
Gross profit margin formula: Margin % = (Revenue − Cost of goods sold) ÷ Revenue × 100. This is also written as: Gross profit ÷ Selling price × 100.
What is the sales margin formula?
Sales margin formula: Sales margin % = (Sales revenue − Cost of sales) ÷ Sales revenue × 100. Sales margin is another term for gross profit margin applied at the product or order level, the formula is identical, the terminology shifts by context. Sales profit margin formula and gross margin calculation formula refer to the same equation. What is sales margin in practice: it tells you what percentage of each sale you retain as profit after the direct cost of that sale.
How do I calculate selling price from margin and cost?
To calculate selling price from margin: divide the cost by one minus the margin.
Formula: Selling price = Cost ÷ (1 − Margin). For example: Cost = USD $60, margin = 40%. Selling price = 60 ÷ (1 − 0.40) = 60 ÷ 0.60 = USD $100.
To calculate cost from selling price and margin: multiply the selling price by one minus the margin.
Formula: Cost = Selling price × (1 − Margin).
For example: Selling price = USD $100, margin = 40%. Cost = 100 × 0.60 = USD $60.

