Sub topic 8
Forecasting COGS and Gross Margin
Assume you understand the basic income statement: revenue minus cost of goods sold (COGS) equals gross profit. You should also be comfortable with percentages and spreadsheet or Python formulas. This chapter focuses on turning those relationships into forecast assumptions.
The core relationships
COGS is the direct cost of producing or delivering what a company sells. For a manufacturer, it can include materials, factory labor, and production overhead. For a retailer, it is usually the purchase cost of inventory sold.
Gross profit is the amount left after subtracting COGS from revenue:
Gross profit = Revenue - COGSGross margin is gross profit as a percentage of revenue:
Gross margin = Gross profit / RevenueYou can also calculate COGS from a margin assumption:
COGS = Revenue × (1 - Gross margin)For example, if forecast revenue is $1,000,000 and gross margin is 55%, forecast COGS is $450,000 and gross profit is $550,000.
| Item | Formula | Example |
|---|---|---|
| Revenue | Given or forecast | $1,000,000 |
| COGS | Revenue × (1 − gross margin) | $450,000 |
| Gross profit | Revenue − COGS | $550,000 |
| Gross margin | Gross profit ÷ Revenue | 55% |
Use history to set the starting point
Calculate historical gross margin for each period rather than copying a single average without inspection. A margin trend may reveal changes in product mix, pricing, supplier costs, or production efficiency.
Suppose a company reported the following results:
- Year 1: revenue of $800,000 and COGS of $400,000
- Year 2: revenue of $1,000,000 and COGS of $470,000
The gross margins are 50.0% and 53.0%. The improvement may support a higher forecast margin, but only if the cause is expected to continue. A temporary benefit, such as a one-time supplier discount, should not automatically become a permanent assumption.
Choose a forecasting method
A simple model forecasts gross margin directly. This works when the business has stable economics and management reports a clear margin target.
revenue = [1_000_000, 1_120_000, 1_220_800]
gross_margin = [0.53, 0.54, 0.545]
for year, sales, margin in zip([2025, 2026, 2027], revenue, gross_margin):
cogs = sales * (1 - margin)
gross_profit = sales - cogs
print(year, round(cogs), round(gross_profit), f"{margin:.1%}")A more detailed model forecasts COGS from operating drivers. For example, units sold can be multiplied by unit cost:
COGS = Units sold × Cost per unitThis method is useful when volume, supplier prices, or production efficiency are important. You can separately forecast unit volume, unit cost inflation, and product mix. The resulting COGS then determines the implied gross margin.
Model changing margins carefully
Gross margin can change when:
- Prices increase faster or slower than unit costs.
- Product mix shifts toward higher- or lower-margin products.
- Supplier costs, freight, or labor costs change.
- Fixed production costs are spread across a different volume.
- Waste, returns, or inventory write-downs increase.
Do not forecast COGS as a fixed percentage of revenue and also forecast unit costs independently unless you deliberately reconcile the two approaches. Otherwise, the model contains competing assumptions.
Connect revenue and COGS
The forecast flow should be consistent with the rest of the model:
If revenue is forecast by price and volume, consider whether those same drivers affect COGS. For instance, a price increase may improve gross margin, while a raw-material increase may reduce it. A model that raises revenue but leaves all cost drivers unchanged may produce an implausible margin expansion.
Review common errors
Check that:
- COGS is positive and lower than revenue when gross margin is positive.
- Gross profit equals revenue minus COGS.
- Gross margin equals gross profit divided by revenue.
- Margin changes have a business explanation.
- Historical and forecast periods use the same COGS definition.
- Seasonal businesses use comparable periods, not only annual averages.
Exercise
Revenue is forecast at $2,400,000 and gross margin is forecast at 58%. What are forecast COGS and gross profit?
Show answer
COGS is $2,400,000 × (1 − 0.58) = $1,008,000. Gross profit is $2,400,000 − $1,008,000 = $1,392,000.