Ticker League

Profit Margin Calculator

Gauge a company's production efficiency by computing how much of every revenue dollar survives after the direct costs of producing what was sold.

Optional. Pick a stock to auto-fill revenue, cost of goods sold, and net income.

Fill to compute net profit margin.

Results are illustrative only and are not financial advice. This calculator provides estimates for educational purposes only. Past performance does not guarantee future results.

Results

Gross Profit Margin
25.00%

Gross profit

$25

Gross margin

25.00%

Revenue

$100

Profit Margin Calculator: How to Measure Profitability

Key Points

  • Gross profit margin shows how much of every revenue dollar a company keeps after paying direct production costs.
  • Calculate it as (Revenue − COGS) / Revenue, expressed as a percent.
  • Higher margin signals pricing power; falling margin warns of input-cost or competitive pressure.

How to calculate gross profit margin

Gross profit margin is the percentage of revenue a company keeps after subtracting the direct cost of the goods it sold. It equals revenue minus cost of goods sold, divided by revenue. It is the cleanest single measure of how efficiently a company turns sales into profit before operating, financing, and tax costs.

Formula: Gross Profit Margin = (Revenue − Cost of Goods Sold) ÷ Revenue × 100%.

  1. Find revenue (net sales) for the period — total sales net of returns and allowances.
  2. Find cost of goods sold (COGS) — the direct costs to produce or buy the goods sold (materials, direct labor, manufacturing overhead, freight-in).
  3. Subtract COGS from revenue to get gross profit.
  4. Divide gross profit by revenue and multiply by 100 to express the margin as a percent.

Worked example

A company posts $100 of revenue and $75 of cost of goods sold. Gross profit is $25 and the gross margin is $25 / $100 = 25%. That is a textbook ratio for a healthy mid-margin business — software firms run higher, retailers run lower.

Gross vs operating vs net margin

Gross margin uses only COGS. Operating margin further subtracts SG&A, R&D, and other operating expenses. Net margin subtracts everything — interest, tax, and one-off items. Each layer answers a different question: gross margin = unit economics; operating margin = run-the-business profitability; net margin = bottom-line profitability after all costs.

How to use profit margin in investing

Track the trend more than the level. A company whose gross margin has expanded for eight consecutive quarters is doing something right — pricing power, scale economies, or favorable mix shift. A company whose gross margin is shrinking under stable revenue is losing pricing power, dealing with input-cost inflation, or losing market share to a cheaper competitor.

Limitations of gross margin

Gross margin says nothing about overhead, marketing intensity, R&D burden, or capital structure. A 70% gross margin on a SaaS product is great, but if the company spends 80% of revenue on sales and marketing, it still loses money. Always pair gross margin with operating margin and free cash flow.

Margin is a window into pricing power

Gross profit margin distills hundreds of operating decisions — pricing, sourcing, product mix, manufacturing efficiency — into a single percentage. It is the fastest screen for whether a business has structural pricing power or commodity-like economics.

Frequently asked questions