Business Finance

How to Calculate Gross Profit: Formula, Margin & Examples

Gross profit is the first and most fundamental profitability metric in business. It tells you how much money remains after paying for the direct costs of producing your product or service — before overhead, taxes, or other expenses. Understanding gross profit is essential for pricing, cost control, and business health.

The Gross Profit Formula

Gross Profit = Revenue − COGS

Gross Profit Margin = (Gross Profit ÷ Revenue) × 100

Revenue

Total sales income before any deductions

COGS

Cost of Goods Sold — direct production costs only

Gross Profit

What remains to cover operating expenses and profit

Gross Profit Calculator

Gross Profit

$20,000

Gross Margin

40.0%

COGS Ratio

60.0%

COGSGross Profit

Step-by-Step Examples

Example 1: E-commerce Store

Revenue

$80,000

COGS

$48,000

Gross Profit

$32,000

Margin

40%

COGS includes product cost, packaging, and shipping to customer.

Example 2: SaaS Company

Revenue

$200,000

COGS

$30,000

Gross Profit

$170,000

Margin

85%

COGS includes hosting, support staff, and third-party APIs.

Example 3: Restaurant

Revenue

$50,000

COGS

$18,000

Gross Profit

$32,000

Margin

64%

COGS is food and beverage cost only. Labor and rent are operating expenses.

Gross Profit Margin by Industry

Software / SaaS70–90%
Financial Services60–80%
Healthcare40–60%
Retail (General)20–50%
Food & Beverage30–50%
Manufacturing20–40%
Construction15–25%
Grocery / Supermarket20–30%

Benchmarks vary by company size, pricing strategy, and market conditions.

Gross Profit vs Net Profit: What's the Difference?

MetricFormulaWhat It Shows
Gross ProfitRevenue − COGSProduction efficiency
Operating ProfitGross Profit − Operating ExpensesCore business profitability
Net ProfitOperating Profit − Taxes − InterestOverall bottom line

Frequently Asked Questions

Calculate Your Gross Profit Now

Use our free profit calculator for instant gross profit, net profit, and margin results.

Open Profit Calculator

Quick Formula

Gross Profit = Revenue − COGS

Margin = (GP ÷ Revenue) × 100