Gross Profit Calculator

Calculate your gross profit and gross profit margin from revenue and cost of goods sold. Enter your numbers to see results instantly.

$
$

Your Results

Based on your inputs, here's your gross profit and margin.

Gross Profit

$4,000.00

Gross Margin

40.00%

How to Calculate Gross Profit

Gross profit is one of the most important metrics in business finance. It tells you how much money remains after subtracting the direct costs of producing your goods or services from your total revenue. This number reveals whether your core business operations are profitable before accounting for overhead, taxes, and other expenses.

Understanding your gross profit helps you make smarter decisions across every part of your business. Here are the most common ways companies use this metric:

  • Pricing Decisions: Determine whether your prices are high enough to cover production costs and leave a healthy margin. Use our markup calculator to set prices based on target markup.
  • Financial Health: Track profitability trends over time to spot problems early, such as rising material costs eating into margins.
  • Investor Reporting: Investors and lenders look at gross profit margin as a key indicator of business viability and scalability.
  • Benchmarking: Compare your margins against industry averages to see how your business stacks up against competitors.

How It's Calculated

The gross profit calculation requires two values: total revenue and cost of goods sold (COGS). COGS includes all direct costs tied to producing your product or delivering your service, such as raw materials, direct labor, and manufacturing overhead.

Gross Profit = Revenue - COGS

Gross Profit Margin = (Gross Profit / Revenue) x 100

Example

Suppose your business earns $50,000 in revenue and spends $30,000 on COGS:

  1. Gross Profit = $50,000 - $30,000 = $20,000
  2. Gross Profit Margin = ($20,000 / $50,000) x 100 = 40%

A 40% gross margin means that for every dollar of revenue, $0.40 remains after covering direct production costs. The remaining $0.60 goes toward COGS. You can also use our percentage off calculator to quickly compute percentage changes across different scenarios.

Gross Profit vs Net Profit

Gross profit and net profit measure profitability at different stages. Gross profit only subtracts the direct costs of producing goods (COGS) from revenue. Net profit goes further by also subtracting operating expenses, interest, taxes, depreciation, and all other costs.

A company can have a strong gross profit but a weak net profit if its overhead costs are too high. For example, a business with $100,000 in revenue and $40,000 in COGS has a gross profit of $60,000 (60% margin). But if operating expenses, rent, salaries, and taxes total $55,000, the net profit drops to just $5,000 (5% margin). Both metrics matter, but gross profit is the best indicator of production efficiency and pricing strategy.

Gross Profit Margin Benchmarks

Gross profit margins vary widely by industry. Use this table to compare your margin against typical ranges:

IndustryTypical Gross Margin
Software / SaaS70% - 90%
Consulting / Services50% - 70%
Manufacturing25% - 40%
Retail20% - 50%
Restaurants / Food55% - 65%
Construction15% - 25%
E-commerce40% - 60%
Healthcare50% - 70%

How to Calculate Gross Profit in Excel

If you need to calculate gross profit for multiple products or periods, a spreadsheet is the fastest approach. Place revenue in column A and COGS in column B, then use these formulas:

Gross Profit: =A1-B1Gross Margin %: =(A1-B1)/A1*100

Where A1 is revenue and B1 is COGS. For example, if A1 is $10,000 and B1 is $6,000, the gross profit formula returns $4,000 and the margin formula returns 40. These formulas work in Google Sheets, Excel, and LibreOffice Calc.

Frequently Asked Questions

What is the formula for gross profit?

Gross Profit = Revenue - Cost of Goods Sold (COGS). If your revenue is $50,000 and your COGS is $30,000, your gross profit is $20,000. This figure shows how much money remains after covering the direct costs of producing your goods or services.

What costs count as cost of goods sold (COGS)?

COGS includes all direct costs of producing goods or delivering services: raw materials, direct labor, manufacturing overhead, and shipping costs. It does not include indirect expenses like marketing, rent, or administrative salaries. For SaaS companies, COGS typically includes hosting costs, third-party software licenses, and customer support team salaries.

Is GP% the same as margin?

Gross profit percentage and gross profit margin refer to the same metric. Both express gross profit as a percentage of revenue. A GP% of 40% means that for every dollar of revenue, $0.40 remains after covering direct production costs. The terms are used interchangeably in accounting and finance.

How to calculate 25% GP?

If you want a 25% gross profit margin, your COGS must be 75% of your selling price. For a product you want to sell at $100 with a 25% GP margin: COGS = $100 x 0.75 = $75. Your gross profit would be $25. To reverse-engineer a selling price from cost: Selling Price = Cost / (1 - 0.25) = Cost / 0.75.

Dialogflow iconfeeqd

Get started with Feeqd for free

Let your users tell you exactly what to build next

Collect feedback, let users vote, and ship what actually matters. All in one simple tool that takes minutes to set up.

Sign up for free
No credit card requiredFree plan availableCancel anytime