Gross margin is the percentage of revenue remaining after subtracting the cost of goods sold from total sales.
Gross margin is determined by subtracting the Cost of Goods Sold (COGS) from net sales and dividing that result by net sales. Many people confuse gross margin with gross profit; profit is a currency amount, while margin is a percentage.
Rule of thumb: A higher gross margin indicates a more efficient production process or stronger pricing power.
The Gross Margin Formula
To determine the gross margin, you must first calculate the gross profit. Gross profit is the absolute rupee amount left over after paying for the direct costs of producing a product or delivering a service.
The calculation follows these two steps:
- Gross Profit = Net Sales - Cost of Goods Sold (COGS)
- Gross Margin = (Gross Profit / Net Sales) x 100
Net sales refers to the total revenue minus any customer returns, allowances, or discounts. COGS includes only the direct costs tied to production, such as raw materials and direct labor. It does not include indirect expenses like office rent, marketing, or administrative salaries.
Identifying Cost of Goods Sold
Accurate determination of gross margin depends entirely on what you include in COGS. If you include indirect overhead, you are calculating operating margin instead of gross margin.
Direct costs typically include:
- Raw materials used in the final product.
- Direct labor wages for workers on the assembly line or providing the service.
- Freight-in costs to bring materials to the facility.
- Direct packaging costs.
Indirect costs that must be excluded from this specific calculation include:
- Rent for the corporate office.
- Utility bills for non-production areas.
- Sales commissions and advertising spend.
- Executive salaries.
Gross Margin Calculation Example
Consider a hypothetical business that sells handmade leather bags. To determine the gross margin for a specific period, the business gathers the following round numbers:
- Total Sales: Rs 10,00,000
- Returns and Discounts: Rs 50,000
- Cost of Leather and Hardware: Rs 3,00,000
- Direct Labor (Artisans): Rs 1,50,000
First, determine the Net Sales: Rs 10,00,000 - Rs 50,000 = Rs 9,50,000.
Next, determine the total COGS: Rs 3,00,000 + Rs 1,50,000 = Rs 4,50,000.
Calculate the Gross Profit: Rs 9,50,000 - Rs 4,50,000 = Rs 5,00,000.
Finally, determine the Gross Margin: (Rs 5,00,000 / Rs 9,50,000) x 100 = 52.63%.
Margin vs Markup Differences
A common error in margin determination is using the markup formula instead of the margin formula. Markup is the percentage added to the cost to reach the selling price, whereas margin is the percentage of the selling price that is profit.
| Feature | Gross Margin | Markup |
|---|---|---|
| Perspective | Based on Selling Price | Based on Cost |
| Purpose | Measures profitability | Sets the selling price |
| Formula | (Profit / Revenue) x 100 | (Profit / Cost) x 100 |
For example, if a product costs Rs 60 and sells for Rs 100, the profit is Rs 40. The gross margin is 40% (40/100), but the markup is 66.6% (40/60). Using the markup figure when you intend to find the margin will lead to an overestimation of your profit percentage.
Factors Affecting Margin Levels
Gross margin is not a static number; it fluctuates based on several operational variables. If your margin is dropping while sales are rising, it indicates an efficiency problem.
Material Costs
An increase in the price of raw materials directly lowers the gross margin if the selling price remains the same. Businesses often use "cost-plus pricing" to maintain a steady margin by raising prices as material costs rise.
Labor Efficiency
Direct labor is a variable cost. If workers take longer to produce a unit due to poor training or equipment failure, the COGS increases, which shrinks the margin.
Pricing Strategy
Volume-based discounts or seasonal sales reduce the net sales figure. While these strategies may increase the total number of units sold, they lower the margin per unit.
Questions people ask
Does gross margin include taxes?
Gross margin is calculated using revenue and COGS before the deduction of income taxes. However, indirect taxes like GST are typically excluded from both the revenue and the cost figures to ensure the margin reflects the actual value added by the business.
What is a healthy gross margin?
There is no single standard because margins vary by industry. Service-based businesses typically have higher gross margins because they have fewer raw material costs. Retailers and wholesalers often operate on much thinner margins but rely on high volume to generate total profit.
How does inventory valuation affect margin?
The method used to value inventory—such as First-In-First-Out (FIFO) or Weighted Average Cost—changes the COGS. In a period of rising prices, FIFO results in a lower COGS and a higher gross margin because the oldest, cheaper inventory is recorded as sold first.
Can gross margin be negative?
Yes, a negative gross margin occurs when the cost to produce a product exceeds its selling price. This often happens during aggressive market-entry pricing or when raw material costs spike unexpectedly before a company can adjust its prices.