In this article
Gross profit margin is one of the quickest ways to understand how efficiently a business turns sales into gross profit (before operating expenses). It shows what percentage of revenue is left after covering the direct costs of producing goods or delivering services.
## What gross profit margin means
Gross profit margin measures the share of revenue remaining after subtracting cost of goods sold (COGS). A higher margin generally means the business keeps more from each dollar of sales to pay for overhead like rent, marketing, and administrative costs, and to generate net profit.
## The gross profit margin formula
Use this formula:
Gross Profit Margin = (Gross Profit ÷ Revenue) × 100
Where:
- Gross Profit = Revenue − COGS
- Revenue is often reported as net sales (sales after returns, discounts, and allowances) on the income statement
- COGS includes direct costs tied to making the product or providing the service
## Step-by-step calculation
1. Find revenue (often net sales) for the period.
2. Find COGS for the same period.
3. Subtract COGS from revenue to get gross profit.
4. Divide gross profit by revenue.
5. Multiply by 100 to convert to a percentage.
## Example calculation
If a business has:
- Revenue: $250,000
- COGS: $150,000
Then:
- Gross Profit = $250,000 − $150,000 = $100,000
- Gross Profit Margin = ($100,000 ÷ $250,000) × 100 = 40%
That means the business keeps 40 cents of gross profit for every $1 of sales, before accounting for operating expenses.
## What counts as COGS
COGS typically includes costs directly required to produce what you sell or deliver what you bill for.
Common examples include:
- Direct materials (raw materials, components, packaging)
- Direct labor (wages for production workers or billable labor tied to delivering a service)
- Subcontractors or freelancers used to fulfill client work (service businesses)
- Project-specific software, hosting, or licenses required to deliver a client service (service businesses)
- Manufacturing overhead tied to production (for financial reporting under GAAP/IFRS, manufacturing overhead is generally included in inventory and flows into COGS when goods are sold)
- Inventory costs for retailers (COGS is generally the cost of inventory sold, often calculated as beginning inventory + purchases + freight-in − ending inventory, not simply purchases)
Costs that usually do not belong in COGS:
- Marketing and advertising
- Office salaries not tied to delivery or production
- Rent for office space (as opposed to production or warehouse space that may be treated as part of production costs)
- Interest expense and taxes
COGS definitions can vary by industry and by how a company tracks costs internally, so it is best to follow your financial statements consistently.
## Gross profit margin vs markup
These terms are often confused.
- Gross profit margin is based on revenue.
- Markup is based on cost.
Markup = (Gross Profit ÷ COGS) × 100
Example: If something costs $60 and sells for $100, gross profit is $40.
- Margin = $40 ÷ $100 = 40%
- Markup = $40 ÷ $60 = 66.7%
## How to interpret gross profit margin
There is no universal “good” margin. It depends on the industry, competition, pricing power, and cost structure.
A margin can change because of:
- Pricing changes (discounts, promotions, price increases)
- Input costs (materials, shipping, labor)
- Product or client mix (selling more high-margin or low-margin items)
- Waste, returns, and shrink
You can also calculate gross margin by product line, service offering, location, or customer segment to spot where pricing or costs are drifting.
When comparing margins, compare:
- The same business over time
- Similar companies in the same industry
- The same accounting approach (especially around inventory and overhead)
## Accounting differences that affect COGS
Gross margin is only as comparable as the numbers underneath it. Common differences include:
- Inventory methods (FIFO vs LIFO) that change reported COGS when prices move
- What gets capitalized into inventory (freight-in, production overhead)
- Absorption costing for financial reporting vs variable costing used in some internal reports
## Limitations to keep in mind
Gross profit margin does not include operating expenses, financing costs, taxes, or one-time items. It is a useful efficiency metric, but it is not a complete measure of overall profitability.
## Common mistakes to avoid
- Mixing time periods (using monthly sales with annual COGS)
- Using gross profit dollars instead of gross profit margin percent
- Treating revenue as gross sales when your financials report net sales after returns and discounts
- Putting indirect expenses into COGS and making margins look artificially low
- Ignoring returns, discounts, and allowances that reduce net sales
## Quick checklist
- Use net sales (after returns and discounts if applicable)
- Match revenue and COGS to the same period
- Confirm what your business includes in COGS
- Track the trend over time, not just a single month
Gross profit margin is simple to calculate, but it is most useful when you calculate it consistently and use it to spot changes in pricing, costs, and product mix.