Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Gross Profit Formula: Percentage & Margin

· 6 min read · Home Tech

In this article
  1. What Is Gross Profit?
  2. The Gross Profit Formula
  3. How to Calculate It Step by Step
  4. Gross Profit vs. Net Profit vs. Markup
  5. Why Gross Profit Percentage Matters
  6. Common Mistakes and Pitfalls
  7. Frequently Asked Questions

Gross profit percentage (also called gross margin) is calculated by dividing gross profit by net revenue and multiplying by 100. In short: Gross Profit % = (Revenue – Cost of Goods Sold) ÷ Revenue × 100. This article explains the formula, how to use it, common pitfalls, and how it differs from other profit measures.

What Is Gross Profit?

Gross profit is the money a company keeps after paying the direct costs of producing or acquiring the goods it sells. These direct costs are called Cost of Goods Sold (COGS) and include raw materials, direct labor, and factory overhead—but not selling, administrative, or distribution expenses.

For a retailer, COGS is what the store paid its supplier for the inventory. For a manufacturer, COGS includes raw materials, wages of production workers, and manufacturing utilities. For a software company, COGS might be server hosting costs and customer support salaries directly tied to delivering the service.

The gross profit figure itself is an absolute number (e.g., $40,000). The gross profit percentage expresses that number as a share of revenue, which makes it easier to compare performance across periods or against competitors of different sizes.

The Gross Profit Formula

The two formulas—one for the dollar amount and one for the percentage—are:

  • Gross Profit = Revenue – Cost of Goods Sold
  • Gross Profit Percentage = (Gross Profit ÷ Revenue) × 100

Alternatively, you can combine them:

Gross Profit % = [(Revenue – COGS) ÷ Revenue] × 100

Both formulas use the same variables:

  • Revenue – total sales before any deductions (also called net sales if you subtract returns and discounts).
  • COGS – the direct cost of producing or purchasing the goods sold.

For example, if a bakery sells $10,000 worth of bread and the flour, yeast, and baker wages cost $6,000, the gross profit is $4,000. The percentage is ($4,000 ÷ $10,000) × 100 = 40%.

How to Calculate It Step by Step

  1. Determine net revenue – total sales minus any returns, allowances, or discounts. Use the figure from the top of the income statement.
  2. Identify COGS – the direct costs attributable to the goods sold during the same period. This is usually listed on the income statement or can be computed as: Beginning Inventory + Purchases – Ending Inventory.
  3. Subtract COGS from revenue – the result is gross profit.
  4. Divide gross profit by revenue – then multiply by 100 to get the percentage.

Here’s a worked example with real numbers: A furniture store has net revenue of $500,000 for the year. Its COGS (wood, upholstery, hardware, and workshop labor) totals $350,000. Gross profit = $500,000 – $350,000 = $150,000. Gross profit percentage = ($150,000 ÷ $500,000) × 100 = 30%. This means the store keeps 30 cents of every sales dollar to cover operating expenses and profit.

Gross Profit vs. Net Profit vs. Markup

People often confuse gross profit with net profit or markup. Here’s how they differ:

  • Gross profit only subtracts COGS. It shows how efficiently a company produces or sources its products.
  • Net profit subtracts all other expenses—rent, salaries, marketing, taxes, interest—from revenue. It’s the “bottom line.”
  • Markup is the percentage added to COGS to set the selling price. Markup = (Gross Profit ÷ COGS) × 100. In the furniture example, markup = ($150,000 ÷ $350,000) × 100 ≈ 42.9%.

A common misconception: a 50% markup does not mean a 50% gross margin. If you buy an item for $10 and sell it for $15, your markup is 50% ($5 ÷ $10), but your gross margin is 33.3% ($5 ÷ $15). The two numbers are related but never identical unless the cost is zero.

Why Gross Profit Percentage Matters

This metric is a key health check for a business. A stable or rising gross margin suggests the company has pricing power, controls production costs well, or benefits from economies of scale. A falling margin could signal rising material costs, price competition, or inefficient production.

It also helps in setting prices. If you know your desired gross margin, you can calculate the required selling price: Selling Price = COGS ÷ (1 – Desired Margin). For example, if a product costs $20 to make and you want a 40% gross margin, the price should be $20 ÷ (1 – 0.40) = $33.33.

Investors and lenders use gross margin to compare companies within the same industry. A software company might have an 80% gross margin, while a grocery store might have 25%. Both can be healthy—the key is the trend and comparison to peers.

Common Mistakes and Pitfalls

  • Mixing up COGS with operating expenses – Shipping costs to customers, marketing, and office rent are not COGS. Including them will understate gross profit.
  • Using total sales instead of net sales – If you have significant returns or discounts, using gross sales inflates revenue and distorts the percentage.
  • Forgetting inventory adjustments – COGS must reflect the actual cost of goods sold, not just purchases. If you ignore beginning and ending inventory, your calculation will be wrong.
  • Comparing across industries – A 30% margin is excellent for a grocery chain but poor for a software firm. Always compare to similar businesses.
  • Ignoring seasonality – Some businesses have higher margins in certain seasons. A single quarter’s margin may not be representative.

Frequently Asked Questions

What is a good gross profit percentage?

There is no universal “good” number. It varies widely by industry: software and services often exceed 70%, retail and grocery might be 20–30%, and manufacturing can be 30–50%. A good margin is one that is stable or improving and sufficient to cover operating expenses and yield a profit.

Can gross profit percentage be negative?

Yes. If COGS exceeds revenue, the gross profit is negative, and so is the percentage. This happens when a company sells products below cost, often during liquidation or aggressive discounting. A negative gross margin is unsustainable in the long run.

How do I calculate gross profit from the percentage?

If you know revenue and the gross margin percentage, multiply revenue by the percentage (as a decimal) to get gross profit. For example, $200,000 revenue × 0.35 = $70,000 gross profit. To find COGS, subtract gross profit from revenue.

What is the difference between gross margin and gross profit?

Gross profit is the absolute dollar amount (revenue minus COGS). Gross margin (or gross profit percentage) is that amount expressed as a percentage of revenue. They convey the same underlying information but in different forms.

Does gross profit include salaries?

Only salaries that are directly tied to production are included in COGS. Administrative, sales, and executive salaries are operating expenses, not part of gross profit. The classification depends on the nature of the work and industry standards.

How often should I calculate gross profit percentage?

Most businesses track it monthly or quarterly. Monthly tracking helps spot cost spikes or pricing issues early. Annual calculations are useful for tax and strategic planning, but more frequent monitoring gives a clearer picture of trends.