Gross Profit Margin Guide: Mathematical Formulas & Target Pricing Strategy

Gross profit margin represents the percentage of each sales dollar retained as gross profit after accounting for the direct Cost of Goods Sold (COGS). It is the single most vital metric for assessing product viability and long-term business sustainability.

Last updated: By MyHandyToolLab

The Gross Margin Formula

Gross margin calculates the proportion of revenue remaining after subtracting direct production costs:

Gross Margin % = ((Selling Price - COGS) / Selling Price) × 100

For example, if a handcrafted leather wallet sells for $60.00 and materials cost $24.00:

  • Dollar Gross Profit: $60.00 - $24.00 = $36.00
  • Gross Margin Percentage: ($36.00 / $60.00) × 100 = 60.0%
  • Equivalent Markup: ($36.00 / $24.00) × 100 = 150.0%

How to Price for a Target Margin

If you know your item cost and want to guarantee a specific profit margin (such as 40%), never multiply cost by 1.40! Instead, divide by the inverse margin:

Selling Price = Cost / (1 - (Target Margin % / 100))

If your product costs $30.00 and you need a 40% margin:

  • Incorrect method: $30.00 × 1.40 = $42.00 (Produces only a 28.5% margin!).
  • Correct formula: $30.00 / (1 - 0.40) = $30.00 / 0.60 = $50.00.
  • Check: $50.00 price - $30.00 cost = $20.00 profit. $20 / $50 = exactly 40.0% margin.

Gross Margin vs. Net Profit Margin

Do not confuse gross margin with net margin on company financial statements:

MetricCosts SubtractedBenchmark Target
Gross MarginOnly direct Cost of Goods Sold (COGS)50% to 70% in e-commerce / retail
Operating MarginCOGS + operating overhead (rent, marketing, payroll)20% to 35%
Net Profit MarginAll expenses, interest, taxes, and depreciation10% to 20% healthy cash flow

Ready to try it?

Open the Margin Calculator and follow the steps above.

Open tool

Related tools and guides

Frequently asked questions

Can gross margin ever exceed 100%?

No. Because gross margin divides profit by total selling price, and profit cannot exceed total revenue, gross margin is mathematically capped at 100%. Markup, by contrast, can exceed 100% indefinitely.

What is a good gross profit margin for small business?

A good gross margin for retail, e-commerce, and handmade products is typically between 50% and 65%. This provides sufficient cushion for overhead, shipping, advertising, and net profit.