Profit Margin Calculator

Calculate your gross and net profit margins, understand the difference between markup and margin, and determine the right price to hit your target profitability.

1 Revenue & Costs
$
$
$

COGS: Direct costs (materials, labor, manufacturing). Operating Expenses: Rent, salaries, utilities, marketing, etc.

2 Pricing Calculator — optional
$
%

Enter a product cost and target margin to see what price to charge.

Gross Profit Margin
0%
$0 gross profit
Revenue minus Cost of Goods Sold
Net Profit Margin
0%
$0 net profit
After all operating expenses
Revenue
$0
total sales
COGS
$0
direct costs
Operating Exp.
$0
overhead
Net Profit
$0
bottom line
Where Your Revenue Goes
Cost of Goods Sold
Operating Expenses
Net Profit
Markup vs Margin (On Cost of Goods)
Gross Margin
0%
% of selling price
↔
Markup
0%
% of cost

Margin = Profit ÷ Price  |  Markup = Profit ÷ Cost

Profit & Loss Summary
Revenue (Sales) $0
Cost of Goods Sold −$0
Gross Profit $0
Operating Expenses −$0
Net Profit $0
What-If Scenarios
If Gross Margin Were... COGS Would Be Gross Profit Net Profit

Healthy Margins Vary by Industry: Retail typically sees 25-50% gross margins, while software companies often exceed 70%. Service businesses may have gross margins of 50-80% but higher operating expenses. Compare your margins to industry benchmarks, not just other businesses.

Note: This calculator provides basic margin analysis. It does not account for taxes, interest, depreciation, or other below-the-line items. For comprehensive financial analysis and profitability improvement strategies, contact Hart Accounting Services.

How to Use This Calculator

This calculator helps business owners understand their profitability at two critical levels: gross margin (how efficiently you produce or acquire what you sell) and net margin (what you actually keep after all expenses). Whether you run a product business, a service company, or a blend of both, knowing your margins is essential for pricing decisions, growth planning, and financial health.

Entering Your Revenue and Costs

Start by entering your total revenue, which represents all the money you brought in from sales during a given period. This might be monthly, quarterly, or annual figures, as long as you use the same time period for all inputs.

Next, enter your cost of goods sold (COGS). For a product business, this includes the direct costs of the products you sold: materials, manufacturing, shipping to your warehouse, and direct labor involved in production. For a service business, COGS might include the direct labor costs of delivering the service, subcontractor fees, and any materials consumed in performing the work. COGS does not include rent, administrative salaries, marketing, or other overhead.

Finally, enter your operating expenses. This includes everything else required to run the business: rent, utilities, salaries for non-production staff, marketing, software subscriptions, insurance, professional fees, and similar overhead costs. Operating expenses are sometimes called selling, general, and administrative expenses (SG&A).

Understanding Gross Profit Margin

Gross profit margin measures how much money you keep from each dollar of revenue after paying for the direct costs of what you sold. The formula is simple: (Revenue minus COGS) divided by Revenue. If you sell a product for $100 and it cost you $60 to acquire or produce, your gross profit is $40 and your gross margin is 40%.

This metric tells you how efficient your core business model is. A high gross margin gives you more room to cover operating expenses and still be profitable. A low gross margin means you need to keep overhead extremely tight or sell in high volume to be viable.

Understanding Net Profit Margin

Net profit margin shows what percentage of revenue becomes actual profit after all expenses. The formula is: Net Profit divided by Revenue, where Net Profit equals Revenue minus COGS minus Operating Expenses. This is your bottom line as a percentage.

A business with 40% gross margin but 35% operating expenses would have a 5% net margin. A business with 25% gross margin and 10% operating expenses would have a 15% net margin. The second business keeps more of each dollar despite having lower gross margins.

The Visual Breakdown

The stacked bar chart shows exactly where your revenue goes. The red section represents cost of goods sold. The orange section represents operating expenses. The green section represents your net profit. If your costs exceed revenue, the bar adjusts to show the loss scenario.

Markup vs Margin Explained

Many business owners confuse markup and margin, but they are different calculations that yield different numbers from the same underlying profit.

Margin is profit as a percentage of the selling price. If you sell something for $100 and make $40 profit, your margin is 40%.

Markup is profit as a percentage of your cost. Using the same example, if your cost was $60 and your profit is $40, your markup is 66.7% ($40 divided by $60).

The calculator shows both figures side by side so you can see the relationship. A 50% margin equals a 100% markup. A 40% margin equals a 66.7% markup. A 33% margin equals a 50% markup. This distinction matters when you are setting prices or comparing to industry benchmarks, since some industries quote markup while others quote margin.

Using the Pricing Calculator

The optional pricing section helps you work backwards from a target margin to determine what price to charge. Enter your cost per unit (or per service engagement) and your desired gross margin percentage.

The calculator will show you the price you need to charge to achieve that margin. For example, if your cost is $50 and you want a 40% margin, you would need to charge $83.33. At that price, $33.33 (40%) is gross profit and $50 (60%) covers your cost.

This is particularly useful when you know your target margin and need to set pricing for new products or services.

What-If Scenarios

The scenario table shows how different gross margin percentages would affect your profitability, keeping operating expenses constant. This helps you understand questions like “What would happen if we improved gross margin by 5 points?” or “What COGS would we need to achieve to hit a 50% margin?”

The row closest to your current margin is highlighted so you can see where you stand and what moving up or down would mean for your bottom line.

Industry Benchmarks

Healthy margins vary dramatically by industry. Grocery stores might operate on 2-3% net margins and be highly successful. Software companies often have 70%+ gross margins but significant operating costs. Professional services firms might see 50-80% gross margins depending on utilization.

Compare your margins to others in your specific industry rather than to businesses in general. What matters is whether your margins are healthy for your type of business and whether they are improving over time.

Disclaimer

This calculator provides simplified margin analysis based on the figures you enter. It does not account for taxes, interest expense, depreciation, amortization, or other items that appear below operating income on a full income statement.

Gross profit margin calculations assume you have correctly categorized costs between COGS and operating expenses. Misclassifying costs will produce inaccurate margin figures.

The pricing calculator provides target prices based on cost and desired margin. Actual pricing decisions should also consider market conditions, competitive positioning, customer willingness to pay, and volume considerations.

This tool is intended for planning and educational purposes only and does not constitute financial advice. For comprehensive profitability analysis, cost structure optimization, and pricing strategy, please contact Hart Accounting Services to speak with a qualified professional.