profit margin calculatorUS Statutory Rules2026 Verified

Profit Margin & Markup Calculator (Gross & Net Profit %)

Calculate Gross Profit Margin, Net Profit, and Markup percentage from your selling price and cost of goods sold (COGS).

Last updated: October 2026•Reviewed by: Aaradhya Pathak (Co-Founder & Lead Dev)
$
Gross selling price or invoice sum
$
Direct labor, raw materials, or supplier price
$
Marketing, SaaS, hosting, rent, utilities
Gross Margin
60.0%
$6,000 gross profit
Markup Percentage
150.0%
Added above cost of goods
Net Profit
$3,500
After all overhead expenses
Net Profit Margin
35.0%
Pure bottom-line retention
Revenue Allocation Breakdown100% of $10,000
COGS (40.0%)
OpEx (25.0%)
Net Profit (35.0%)
Financial Ratios & GAAP Accounting Analysis

Profit Margin vs. Markup: GAAP Formulas & Benchmarks (2026)

How to calculate gross profit margin %, net profit margin, and cost-of-goods-sold markup with practical mathematical conversions and industry benchmarks.

The Immediate Answer: Profit Margin vs. Markup Explained

Profit Margin is the percentage of total sales revenue retained as profit after deducting costs: (Profit ÷ Revenue) × 100. Margin can never exceed 100%. Markup is the percentage added on top of the cost of goods sold (COGS) to set the selling price: (Profit ÷ Cost) × 100. A product that costs $50 and sells for $100 has a 50% Gross Margin and a 100% Markup.

The Destructive Impact of Unplanned Discounting

Because fixed operating costs and product COGS stay static, offering a retail discount comes 100% out of your net profit margin. If a business operates at a 20% net margin, running a 10% flash sale slashes net profits by 50%, requiring twice the volume of sales simply to make the exact same dollar profit.

Data Table: Profit Margin to Markup Conversion Matrix

Desired Gross Margin %Required Markup %Cost of Goods (COGS)Target Retail PriceGross Profit Kept
20.0%25.0%$100.00$125.00$25.00
33.3%50.0%$100.00$150.00$50.00
50.0%100.0%$100.00$200.00$100.00
75.0%300.0%$100.00$400.00$300.00
80.0% (SaaS)400.0%$100.00$500.00$400.00
Gross Margin Formula

Gross Margin % = ((Revenue − COGS) ÷ Revenue) × 100

Measures production and product sourcing efficiency before indirect administrative, payroll, and rent overhead.

Net Margin Formula

Net Margin % = ((Revenue − COGS − Operating Expenses) ÷ Revenue) × 100

Measures true bottom-line enterprise profitability available for dividend distributions or capital reinvestment.

Technical Breakdown & Formula Specifications

Transparent mathematical reference and standardized volume benchmarks

Mathematical Formula & Calculation Logic

KaTeX Formatted
Gross Margin %=Revenue−COGSRevenue×100Markup %=Revenue−COGSCOGS×100\begin{gathered} \text{Gross Margin \%} = \frac{\text{Revenue} - \text{COGS}}{\text{Revenue}} \times 100 \\[10pt] \text{Markup \%} = \frac{\text{Revenue} - \text{COGS}}{\text{COGS}} \times 100 \end{gathered}

Margin expresses profit as a percentage of total sales price, whereas Markup expresses profit as a percentage above cost of goods.

Standard Transaction Volume Tiers

Compare expected deductions across typical commercial ticket sizes

Live Matrix
Gross TransactionDeductionsNet ReceivedEffective Rate
$1,000.00-$400.00$600.0040.00%
$5,000.00-$2,000.00$3,000.0040.00%
$10,000.00-$4,000.00$6,000.0040.00%
$50,000.00-$20,000.00$30,000.0040.00%

Profit Margin Calculator — Frequently Asked Questions

Authoritative answers to common questions, regulatory rules, and compliance guidance.

What is the difference between profit margin and markup?
Profit margin is profit divided by selling price (what percentage of sales is retained). Markup is profit divided by cost of goods sold (how much cost is marked up to reach sale price).
What is the difference between profit margin and markup percentage?
Profit margin is profit divided by revenue (the percentage of sales retained as profit). Markup is profit divided by cost of goods sold (how much cost is marked up to establish the selling price). A 50% markup produces a 33.3% gross margin.
What is considered a good gross profit margin for a business?
Benchmark gross margins vary by industry: SaaS and digital products typically achieve 70% to 85%, wholesale e-commerce averages 35% to 50%, and retail or grocery stores typically operate between 20% and 30%.
How do I calculate net profit margin after overhead expenses?
Net profit margin equals (Total Revenue - Cost of Goods Sold - All Operating Expenses) divided by Total Revenue, multiplied by 100. It measures true bottom-line profitability.
Why does discounting severely destroy profit margins?
Because fixed costs and COGS stay constant, a 10% discount on a product with a 20% margin cuts your total net profit in half (50% reduction in earnings), requiring twice the sales volume to break even.