Profit Margin Calculator - Gross, Net and Markup (2026)

Calculate gross margin, net operating margin, markup, profit and target revenue from your actual sales, cost of goods and operating expenses.

Updated 2026
Formula verified
No login needed
Mobile friendly
Instant results
Key Summary

On $100,000 revenue with $55,000 cost of goods, $25,000 operating and $5,000 other costs, gross profit is $45,000 for 45.0% gross margin and net profit is $15,000 for 15.0% net margin. Markup on cost is $45,000 / $55,000 = 81.8%. Lowering revenue to $80,000 with the same $85,000 total costs gives 31.3% gross and −6.3% net, so $20,000 less sales erases the profit. According to the U.S. Census Bureau Annual Business Survey 2023, employer firms averaged about $1.4 million in receipts. Enter your numbers below.

Profit Margin Calculator

Enter your details for an instant result

Your details

$
$
$
$
%

Your entries are used only to calculate this result. No account is required. · Share this calculator

How to Use the Profit Margin Calculator

1

Enter Revenue for the Period

Enter total sales such as $100,000 for the month or year. Use the same period for all cost inputs; mixing annual revenue with monthly expenses breaks the margin.

2

Enter Cost of Goods Sold

Enter direct costs like materials and direct labor, for example $55,000. Gross profit is revenue minus COGS, here $45,000, and gross margin is 45%.

3

Add Operating and Other Expenses

Enter operating $25,000 and other $5,000. Net profit is $45,000−$30,000=$15,000, net margin 15%. These classifications must match your accounting period.

4

Set Target Net Margin

Enter a goal such as 15%. Target revenue is total costs / (1−target) = $85,000/0.85 = $100,000, exactly the current revenue, so the target is met.

5

Compare Margin vs Markup

Check the markup on cost: $45,000 gross on $55,000 COGS = 81.8% markup, which is not the same as 45% margin. Use margin for profit planning and markup for pricing from cost.

The formula
Gross profit = Revenue − COGS | Gross margin = Gross profit / Revenue ×100 | Net profit = Gross profit − Operating − Other | Net margin = Net profit / Revenue ×100 | Markup = Gross profit / COGS ×100
Revenue
Total sales dollars for the period before any costs.
COGS
Direct cost of goods or services sold (materials, direct labor, delivery).
Operating + Other
Period operating costs (rent, salaries, marketing) plus other entered costs.
Net profit
Gross profit minus operating and other costs.
Target revenue
Revenue needed for a target net margin: total costs / (1 − target%).

Gross Margin, Net Margin and Markup at Different Cost Levels on $100,000 Revenue (2026)

Costs (COGS + Operating)Gross profitGross marginNet marginMarkup on COGS
$40,000 ($30k COGS + $10k op)$70,00070.0%60.0%233.3%
$55,000 ($40k COGS + $15k op)$60,00060.0%45.0%150.0%
$70,000 ($50k COGS + $20k op)$50,00050.0%30.0%100.0%
$85,000 ($55k COGS + $30k op)$45,00045.0%15.0%81.8%
$95,000 ($60k COGS + $35k op)$40,00040.0%5.0%66.7%
$105,000 ($65k COGS + $40k op)$35,00035.0%−5.0%53.8%
Target 15% on $85k costs$100,000 revenue needed15.0% target15.0%81.8% at $100k
Gross profit = Revenue − COGS. Net = Gross − operating − other. Margin = profit / revenue. Markup = gross / COGS. Example $45,000/ $55,000 = 81.8% markup vs 45% gross margin. Source: U.S. Census Bureau Annual Business Survey 2023 — census.gov/programs-surveys/abs; IRS SOI — irs.gov/statistics

What Is Gross Margin vs Net Margin and Why Does the Difference Matter?

Gross profit is revenue minus direct cost of goods, showing what is left after making the product. Net profit subtracts operating and other costs, showing what is left after running the business. On $100,000 with $55,000 COGS, gross is $45,000 and gross margin is 45.0%; after $25,000 operating and $5,000 other, net is $15,000 and net margin is 15.0%. A product can have a strong 45% gross while the firm is barely profitable if overhead is high. According to the U.S. Census Bureau 2023, employer firms averaged $1.4 million receipts, so a 15% net margin is $210,000 on average receipts (Source: Census Bureau, census.gov). Use gross for product and pricing decisions, net for period profitability, and keep the same accounting basis across periods. At $120,000 revenue with $85,000 costs, net is $35,000 and margin is 29.2%, so $20,000 extra sales lifts net from $15,000 to $35,000 due to fixed leverage, a $20,000 profit on $20,000 sales that disappears if costs step.

Margin vs Markup: Why Does an 81.8% Markup Equal a 45% Margin?

Markup divides gross profit by cost, margin divides profit by revenue. On $100,000 revenue, $55,000 COGS and $45,000 gross, markup is $45,000/$55,000 = 81.8% on cost, while gross margin is $45,000/$100,000 = 45% on revenue. A 50% markup is only a 33.3% margin: $60 cost + $30 profit = $90 price, $30/$90 = 33.3%.

MetricFormula on $55k COGS $100k revenueResult
Gross margin$45k / $100k45.0%
Markup$45k / $55k81.8%
Net margin$15k / $100k15.0%

Pricing from cost should use markup, profit planning should use margin. See how volume changes fixed-cost leverage with the Break-Even Calculator.

How Much Revenue Do I Need for a 15% Net Margin?

Target revenue solves costs divided by one minus target. With $85,000 total costs ($55k COGS + $30k operating+other), 15% net needs $85,000/0.85 = $100,000 revenue, exactly the current case where $15,000/$100,000 = 15%. Raising the target to 20% needs $85,000/0.80 = $106,250, an extra $6,250 sales for the same costs. At a lower $60,000 revenue with the same $85,000 costs, net is −$25,000 and margin is −41.7%, showing how $40,000 less revenue flips 15% positive to deep negative. At $120,000 revenue with $85,000 costs, net is $35,000 and margin is 29.2%, so $20,000 more sales lifts net from $15,000 to $35,000, a $20,000 profit on $20,000 sales due to fixed leverage.

Cost behavior matters: if $10,000 of operating is actually variable at 10% of revenue, the formula changes. Use total costs at the entered level and retest when costs step. Model the hourly rate needed to support that revenue with the Freelancer Rate Calculator.

What Is a Good Profit Margin in 2026 by Industry?

Good depends on industry. BLS and Census data imply retail and grocery often see 2% to 5% net, restaurants 3% to 9%, professional services 12% to 20% and software 20% to 30% at scale (Source: U.S. Census Bureau Annual Business Survey — census.gov; Bureau of Labor Statistics — bls.gov/ppi). The example 15% net is strong for a physical product business and typical for a service business with $55k COGS on $100k revenue.

Compare consistently: use the same period, include owner market salary as an operating cost, and separate one-time items. A 45% gross with 15% net leaves 30 points of operating leverage; cutting $5,000 of fixed operating at $100k revenue lifts net from 15% to 20% without selling more. Test the pricing that supports that margin with the Invoice Calculator and the return on the capital behind it with the ROI Calculator.

Profit Margin Calculator - Frequently Asked Questions