Browse All

Retail COGS Optimization: How to Reduce Your Cost of Goods Sold

Retail COGS Optimization: How to Reduce Your Cost of Goods Sold

Written by

Steph Byce

Director of Demand Gen

Reviewed for Accuracy By

Linda George

Solutions Consultant

Danielle Gregoire

Solutions Consultant

Table of contents

Category

Learning Series

Retail COGS Optimization: How to Reduce Your Cost of Goods Sold



For most retailers, cost of goods sold (COGS) is the single largest line on the P&L. It usually runs 60 to 70 cents of every sales dollar, which means it dwarfs rent, payroll, and marketing combined. That scale is exactly why it is the highest-leverage number you can work on. Trim your COGS by two points and the savings fall straight to gross margin. Cut marketing by the same two points and you barely move profit, but you probably lose sales.

COGS optimization is about paying less for the goods you actually sell: sourcing smarter, marking up with discipline, buying the right quantities, and protecting the margin you planned instead of giving it away at the end of the season. This guide covers what retail COGS includes, how to calculate it, and the specific levers that move it.

COGS is the biggest lever on your P&L

For most retailers, cost of goods sold is 60–70% of every sales dollar — larger than every other cost combined.

Cost of goods sold — 65% Operating expenses — 27% Operating profit — 8%

That scale is the opportunity. Trim COGS by two points and it drops straight to gross margin. Cut marketing by the same two points and you barely move profit — and usually lose sales.

Illustrative retail P&L proportions.

What is COGS in retail?

Cost of goods sold is what you paid for the merchandise you sold in a given period. It is a direct cost, tied to units that actually left the building, not to the running of the business. If a jacket cost you $40 landed and you sold it, that $40 is COGS. The store lease, the buyer's salary, and the paid social budget are not.

COGS sits at the top of your P&L, right under revenue. Sales minus COGS is your gross margin, and gross margin is the pool every other cost gets paid from. That position is why a small percentage change in COGS has an outsized effect on profit.

The COGS formula

Retail COGS is calculated from what you started with, what you bought, and what you had left:

COGS = Beginning Inventory + Purchases − Ending Inventory

All three values are at cost, not retail. A worked example for a quarter:

  • Beginning inventory (at cost): $250,000
  • Purchases during the quarter (at cost, including inbound freight and duties): $600,000
  • Ending inventory (at cost): $200,000

The retail COGS formula

Beginning Inventory + Purchases − Ending Inventory = COGS. All values at cost, not retail.

Beginning inventory$250,000
+
Purchases$600,000
−
Ending inventory$200,000
=
COGS$650,000

Then: Net sales − COGS = your gross margin.

Purchases include inbound freight and duties.

That is the cost of everything you sold in the quarter. Subtract it from net sales and you have gross margin dollars. For the full set of retail formulas that sit around this one, see our guide to retail math.

COGS & Gross Margin Calculator

Enter your figures at cost. This works out your COGS and the margin it leaves you.

Cost of goods sold$650,000
Gross margin$350,000
Gross margin %35.0%
COGS % of sales65.0%

COGS = beginning inventory + purchases − ending inventory. Gross margin % = gross margin ÷ net sales.

What is included in retail COGS, and what is not

Getting the classification right matters, because misplacing costs quietly distorts your margin and sends you optimizing the wrong line.

Included in COGS:

  • The cost you pay your supplier for the product itself
  • Inbound freight to get goods to your warehouse or store
  • Import duties, tariffs, and customs fees
  • Any prep needed before sale, such as labeling or ticketing
  • The written-down value of obsolete or damaged goods

Not COGS (these are operating expenses):

  • Warehousing and storage
  • Merchant and payment processing fees
  • Shipping to the customer
  • Marketing, rent, and salaries
  • Software and overhead

The distinction between what you paid for the product landed and everything else you spend running the business is the line between COGS and operating expenses. Keep it clean, because the levers below only work on the COGS side.

How your inventory costing method changes COGS

The same purchases can produce a different COGS depending on how you value inventory. The three common methods:

  • FIFO (first in, first out) assumes the oldest stock sells first. When costs are rising, FIFO leaves newer, pricier goods in ending inventory and reports a lower COGS.
  • LIFO (last in, first out) assumes the newest stock sells first. In a rising-cost environment it reports a higher COGS and a lower taxable profit.
  • Weighted average blends all units to a single average cost, which smooths out price swings.

None is more correct. What matters is that you pick one, apply it consistently, and know which one you are using, because it changes the COGS number you are trying to optimize.

Why COGS optimization matters

Because COGS is so large, it is the fastest route to margin. A two-point reduction on a 65 percent COGS ratio is a two-point gain in gross margin, with no new customers required. It also compounds: lower cost of goods lifts your GMROI, the measure of how much margin each inventory dollar returns, and it widens the room you have to price competitively without going below your floor. Every pricing and promotion decision you make sits on top of your cost, so lowering the cost improves all of them at once.

Seven levers to optimize retail COGS

COGS optimization is not one move. It is a set of levers across sourcing, buying, and selling. Here are the ones that move the number for retailers.

1. Source smarter and manage landed cost

The sticker price from a vendor is rarely the real cost. Freight, duties, and terms can swing landed cost by double digits, and that landed number is your true COGS input. Consolidate vendors to earn volume pricing, negotiate terms, and understand exactly what you are paying once goods arrive. Start with the difference between FOB, ex-factory, and landed cost, because a buyer comparing quotes on FOB alone can pick the more expensive option by mistake. In a period of shifting tariffs, run your cost in both retail and cost terms so a duty change does not quietly erase your margin before you have reacted.

2. Set a disciplined initial markup

Initial markup (IMU) is the margin you build in at the moment you buy. Set it too low and no amount of clean selling recovers the profit; set it with the end in mind and you leave room for the markdowns every retailer eventually takes. IMU is where cost optimization and pricing meet, so treat the target markup as a buying decision, not an afterthought. The IMU formula and how to set it is a good starting point.

3. Rationalize the assortment

Every SKU you carry has a cost to buy, hold, and eventually clear. A bloated assortment spreads your buying across too many styles, weakens your volume leverage with vendors, and fills your stockrooms with slow sellers that end up marked down. Cutting the tail concentrates your dollars into fewer, better bets that you can buy deeper and cheaper. See SKU rationalization for how to decide what to drop without losing sales.

4. Protect margin with markdown discipline

A markdown does not change what you paid for a unit, but it changes the margin you actually realize, which is the number that matters. Poorly timed or across-the-board markdowns are one of the biggest silent drains on retail profit. Marking down the right products at the right time, and only as much as you need to, protects the margin you built in at buy. Our guide to markdowns versus discounts covers how to time them to protect margin.

5. Cut overstock, shrink, and obsolescence

Goods you bought but cannot sell at full price are pure cost. Overstock ties up cash and forces clearance, shrink is inventory you paid for and lost, and obsolete stock gets written down into COGS at the worst possible value. Tighter stock levels and accurate inventory keep more of what you bought selling at full price. Setting the right weeks of supply targets is one of the cleanest ways to stop overbuying before it happens.

6. Forecast demand so you stop over-buying

Most excess inventory starts as an optimistic buy. Better demand forecasting means you commit to the quantities you will actually sell, which reduces the overstock that later forces margin-killing markdowns. Forecasting is a COGS lever precisely because the cheapest markdown is the one you never had to take.

7. Optimize inbound freight and logistics

Freight is part of landed cost, so how goods move is part of COGS. Fuller containers, smarter mode choices, and consolidated shipments lower the per-unit cost of getting product to your door. In a volatile freight and tariff environment, revisiting these decisions each season protects the cost assumptions your plan was built on.

Where COGS optimization lives: your plan

These levers are not separate projects. They all run through the same plan. Your merchandise financial plan sets the margin and inventory targets, your open-to-buy keeps purchasing tied to those targets, and your markup, markdown, and stock decisions either protect the plan or erode it week by week.

The hard part is keeping all of it connected as actuals roll in. When landed costs shift, your margin needs to reflect it immediately. When a category runs hot, your buy needs to move before you are forced into a markdown. Doing that across every category in spreadsheets is where most of the leakage happens. A merchandise planning platform keeps cost, margin, and inventory in one place so you can see the effect of a cost change or a markdown before you commit to it, not after.

Common COGS mistakes to avoid

  • Optimizing the wrong line. Cutting an operating expense will not fix a COGS problem. Classify costs correctly first.
  • Chasing unit cost at the expense of margin. A cheaper unit that sells through at a deep markdown can be worse than a pricier one that sells at full price. Judge the realized margin, not the buy cost alone.
  • Ignoring landed cost. Comparing vendor quotes on sticker price instead of landed cost leads to buys that cost more once freight and duties land.
  • Treating COGS as a finance report, not a lever. COGS is periodic and backward-looking by nature, so it is easy to file it under accounting. The retailers who optimize it treat it as a set of live buying and selling decisions.

Summary

Cost of goods sold is the largest and most workable number on a retailer's P&L. You lower it by sourcing on landed cost, setting a disciplined initial markup, carrying a tighter and better assortment, protecting margin through markdown discipline, and buying the quantities your forecast actually supports. None of these is a one-time fix. They are ongoing decisions that either hold your margin or give it away, and the retailers who win at COGS keep every one of them connected to the same plan.

Looking to take real cost out of your COGS? Speak to an expert and we'll show you how retailers use Toolio to keep sourcing, markup, and markdowns working off one plan.

FAQ: Retail Cost of Goods Sold (COGS)

What is COGS in retail?

Cost of goods sold (COGS) is what you paid for the merchandise you actually sold in a given period. It is a direct cost tied to the units that left the building, including the product cost, inbound freight, and import duties. It does not include the cost of running the business, such as rent, salaries, marketing, or warehousing. COGS sits at the top of the P&L, and net sales minus COGS is your gross margin.

What is the retail COGS formula?

COGS = Beginning Inventory + Purchases − Ending Inventory, with all values measured at cost rather than retail. For example, if you start a quarter with $250,000 in inventory, buy $600,000 more (including inbound freight and duties), and end with $200,000, your COGS is $250,000 + $600,000 − $200,000 = $650,000. Subtract that from net sales to get your gross margin dollars.

What is included in cost of goods sold?

For a retailer, COGS includes the supplier cost of the product, inbound freight to your warehouse or store, import duties and tariffs, any prep needed before sale such as labeling or ticketing, and the written-down value of obsolete or damaged goods. It does not include warehousing, merchant and payment processing fees, shipping to the customer, marketing, rent, or salaries. Those are operating expenses.

What's the difference between COGS and operating expenses?

COGS is the direct cost of the products you sold, so it moves with sales volume. Operating expenses are the costs of running the business, such as rent, salaries, marketing, software, and warehousing, which you pay regardless of how much you sell. Net sales minus COGS gives gross profit; subtracting operating expenses from gross profit gives operating profit. Classifying a cost correctly matters, because COGS optimization only works on the COGS side.

How do you reduce cost of goods sold in retail?

There is no single move. The main levers are sourcing on landed cost and negotiating vendor terms, setting a disciplined initial markup, rationalizing the assortment into fewer and better SKUs, protecting realized margin with well-timed markdowns, cutting overstock and shrink, forecasting demand so you stop over-buying, and optimizing inbound freight. Most of these run through your merchandise financial plan and open-to-buy, so keeping cost, margin, and inventory connected is what makes the savings stick.

Is landed cost part of COGS?

Yes. Landed cost is the full cost of getting a product to you, including the supplier price, inbound freight, duties, and tariffs, and that landed figure is the true product cost that flows into COGS. Comparing vendor quotes on the supplier price alone can mislead you, because a lower sticker price with higher freight and duties can land more expensively. Always evaluate cost on a landed basis.

Are markdowns part of COGS?

No. A markdown reduces the selling price, not what you paid for the unit, so it does not change COGS. What it changes is your realized gross margin, which is the number that actually matters. That is why markdown discipline is a core COGS-adjacent lever: it protects the margin you built in at the time of purchase, even though it sits on the price side rather than the cost side.

Relevant Blog Posts