Blog Profit & Accounting

COGS for Amazon Sellers: How FIFO Costing Actually Works

Most sellers know their revenue. Far fewer know their real cost — and the gap between the two is where profit either lives or quietly disappears.

By SellerGuards · · 8 min read Accounting Profit

1. What Is COGS?

COGS — Cost of Goods Sold — is the direct cost of acquiring the inventory you have already sold. It is not what you spent on inventory this month. It is the cost that gets matched to revenue when a unit leaves your hands and reaches a customer.

This distinction matters. If you buy 200 units in January but only sell 80 of them, your COGS for January is the cost of those 80 units — not 200. The other 120 units remain on your balance sheet as an asset (inventory) until they sell.

# The fundamental COGS formula COGS = Beginning Inventory Cost + Inventory Purchased (this period) − Ending Inventory Cost # Which means: Gross Profit = Revenue − COGS Net Profit = Gross Profit − Operating Expenses (FBA fees, referral fees, ads, storage, etc.)

Amazon Seller Central does not have a COGS field. It shows you revenue and Amazon-side fees, but has no concept of what you paid for the inventory. That gap is where most seller P&L reports break down.

2. What Counts as COGS (and What Doesn't)

Getting this boundary right is the foundation of accurate margin reporting. Misclassifying operating expenses as COGS — or vice versa — distorts your gross margin and makes it impossible to benchmark your sourcing performance.

Included in COGS

Cost ItemWhy It's COGS
Product purchase priceThe supplier or store invoice amount per unit
Inbound freight to AmazonDirect cost to get goods into FBA; part of the cost basis
Import duties & customs feesRequired to bring the product to a sellable state
Prep center costsLabeling, poly-bagging, bundling — transforms the item for FBA
Inspection & QC feesDirect cost tied to specific inventory lots
Supplier-side shipping chargesFOB, CIF, or freight charges billed on the purchase order

Not COGS — These Are Operating Expenses

Cost ItemCorrect Classification
FBA fulfillment feesOperating expense — cost of selling, not acquiring
Amazon referral feesOperating expense — Amazon's commission per sale
Monthly FBA storage feesOperating expense — holding cost, not unit cost
Amazon advertising (PPC)Operating expense — marketing spend
Subscription fee ($39.99/mo)Operating expense — fixed overhead
Returns processing feeOperating expense — post-sale cost
Software tools & subscriptionsOperating expense — general overhead
Why this matters for margin analysis: Gross margin (revenue minus COGS only) tells you how good your sourcing is. Net margin (after all operating expenses) tells you how good your business is. Mixing the two makes it impossible to diagnose sourcing problems vs. operational problems.

3. Where Amazon Sellers Get COGS Wrong

The most common COGS mistakes aren't careless — they're the natural result of how Amazon sellers operate: multiple suppliers, changing prices, mixed fulfillment channels, and no built-in cost field in Seller Central.

⚠ Mistake 1: Using your current buy price for all past sales If you bought 100 units at $4.00 in March and restocked 100 units at $5.50 in April, your March sales cost $4.00/unit — not $5.50. Using the latest price retroactively overstates COGS for March and understates it for April.
⚠ Mistake 2: Excluding inbound freight If you buy a product for $6.00 and pay $1.20/unit to ship it to Amazon, your cost basis is $7.20 — not $6.00. Sellers who omit freight consistently overstate their gross margin by 10–25%.
⚠ Mistake 3: Not adjusting for returns that come back as sellable When Amazon returns a unit to your inventory as "sellable," that unit still carries its original COGS. If you forget to track it, you may count it as new inventory with a $0 cost — inflating your profit when it eventually sells.
⚠ Mistake 4: Treating all units as one average regardless of lot Retail arbitrage and wholesale sellers buy at wildly different prices across stores and suppliers. Blending everything into one average hides which sourcing decisions were actually profitable.

4. Inventory Costing Methods Compared

There are three main methods for assigning a cost to each unit sold. Each produces a different COGS number from the same set of purchases.

MethodHow It WorksBest ForMain Risk
FIFO
First In, First Out
Cost of oldest lot is assigned to each unit sold firstMost Amazon sellers; lot-based buying; changing pricesRequires tracking each purchase lot separately
Weighted AverageBlends all purchase costs into one per-unit rateStable-price products; simple operationsMasks price volatility; misrepresents per-lot margin
LIFO
Last In, First Out
Cost of newest lot is assigned firstNot used in e-commerce; banned under IFRSNot GAAP-compliant outside US; rarely appropriate for Amazon
Specific IDEach individual unit is tracked to its exact purchase costVery high-value or serialized itemsImpractical at scale for commodity products

FIFO is the standard for Amazon sellers — and the most defensible for tax purposes. It most closely mirrors how physical inventory actually moves: older stock tends to sell (or sit) before newer stock, especially in FBA where Amazon controls fulfillment order.

5. FIFO Step by Step: A Real Example

Let's walk through FIFO with a concrete scenario so the mechanics are clear.

Scenario: Wholesale seller, one ASIN, two purchase lots

DateEventUnitsUnit CostTotal Cost
Feb 1Purchase – Lot A100$5.00$500.00
Feb 15Purchase – Lot B100$6.50$650.00
Feb 1–28Sales120

Applying FIFO to the 120 units sold:

# Step 1 — exhaust the oldest lot first (Lot A) 100 units × $5.00 = $500.00 (Lot A fully used) # Step 2 — take the remainder from the next lot (Lot B) 20 units × $6.50 = $130.00 (20 of 100 from Lot B) # Total COGS for 120 units sold: COGS = $500.00 + $130.00 = $630.00 ($5.25 average per unit sold) # Remaining inventory: 80 units @ $6.50 = $520.00 (these are the Lot B leftovers)
Key insight: The 80 units left in inventory carry a cost of $6.50 each — the actual price you paid for them. When those 80 units eventually sell, COGS will be $6.50/unit. FIFO preserves this precision lot by lot.

What happens when you add a third lot?

Suppose in March you buy Lot C: 150 units at $5.80. You sell 90 more units in March. FIFO applies the 80 remaining Lot B units first, then takes 10 from Lot C:

# March COGS for 90 units: 80 units × $6.50 = $520.00 (Lot B exhausted) 10 units × $5.80 = $58.00 (10 units from Lot C) COGS = $578.00 ($6.42 per unit sold) # Remaining inventory after March: 140 units @ $5.80 = $812.00

6. FIFO vs. Weighted Average Cost: The Difference in Numbers

Using the same two-lot scenario (100 @ $5.00, then 100 @ $6.50, selling 120 units), here's how the two methods diverge:

FIFO

Units sold: 120

COGS: $630.00 ($5.25/unit)

Ending inventory: 80 units @ $6.50

Inventory value: $520.00

Weighted Average

Avg unit cost: $5.75 ($1,150 ÷ 200)

COGS: $690.00 (120 × $5.75)

Ending inventory: 80 units @ $5.75

Inventory value: $460.00

MetricFIFOWeighted AvgDifference
COGS (120 units)$630.00$690.00−$60.00
Gross Profit (at $12 sell price, 120 units = $1,440 revenue)$810.00$750.00+$60.00
Gross Margin %56.3%52.1%+4.2 pts
Ending Inventory Value$520.00$460.00+$60.00

The total profit over the full lifecycle is the same — the $60 difference is timing. Under FIFO, that $60 flows through when the Lot B units sell. Under average cost, it's blended in now. For a single two-lot scenario this looks minor. Across 50 ASINs with monthly restocks, the distortion compounds.

Why FIFO shows higher gross profit here: In this example, the first lot was cheaper ($5.00) than the second ($6.50). FIFO assigns the cheaper cost to the first 100 sales, which boosts reported gross profit for this period. If your prices are rising (inflation, sourcing tightening), FIFO will consistently show better margins in the short term — but it's accurate, not optimistic.

7. Real-World P&L Impact

Here's what a full P&L looks like with proper COGS treatment vs. a rough estimate. Assume a seller moves 120 units at $12.00 (revenue: $1,440), with Amazon fees totaling $5.40/unit ($648 total).

Line ItemWith FIFO COGSWith Estimated COGS
Revenue$1,440.00$1,440.00
COGS$630.00$720.00 (guessed $6/unit)
Gross Profit$810.00$720.00
FBA Fulfillment Fees−$360.00−$360.00
Referral Fees (15%)−$216.00−$216.00
Storage + Other Fees−$72.00−$72.00
Net Profit$162.00$72.00
Net Margin11.3%5.0%

A $90 COGS error on 120 units produces a reported net margin that's less than half the real number. Scale that across thousands of units and you're making sourcing decisions — and tax estimates — on numbers that don't reflect reality.

8. Tax Implications of COGS and FIFO

COGS directly reduces your taxable income — but only in the period the goods actually sell. This is accrual-basis accounting: the cost is matched to the revenue it generates.

  • Inventory is an asset, not an expense. When you buy 200 units for $1,000, you don't deduct $1,000 on your taxes immediately. You deduct it as the units sell (as COGS).
  • FIFO affects which period's tax bill you reduce. If your costs are rising, FIFO assigns cheaper older costs to this period's COGS, leaving a higher-cost inventory asset that will reduce a future period's taxes. This is legal and expected.
  • Unsold inventory at year-end has real tax consequences. If you have $30,000 of inventory that didn't sell by December 31, you don't get to deduct that cost this year — it remains an asset and reduces next year's taxes when it sells.
  • Consistent method matters. The IRS requires you to use the same costing method year over year. Switching from average cost to FIFO requires a change in accounting method (Form 3115). Use FIFO from the start if that's your intent.
Not tax advice: The above is general context for how COGS and inventory costing work. Talk to a CPA who works with e-commerce sellers for guidance specific to your situation.

9. How to Track COGS Accurately

Manual FIFO tracking in a spreadsheet is possible for small catalogs, but it breaks down fast as you add ASINs, multiple lots, and return adjustments. Here's what proper COGS tracking looks like:

What you need to capture per purchase lot

FieldPurpose
ASIN / SKULink cost to the right product
Purchase dateEstablishes lot age for FIFO ordering
Units purchasedHow many units are in this lot
Purchase price (per unit)The base cost
Inbound freight (per unit)Allocate shipping cost across units in the shipment
Duties & prep (per unit)Any additional costs to get the unit to FBA
Total cost basis (per unit)Sum of all the above — this is your FIFO unit cost
Units remaining in lotUpdated as units sell; tells you when to move to the next lot

Allocating freight across units

The cleanest method is to divide the total freight cost by the total units in the shipment. If you ship 300 units and pay $180 in freight, that's $0.60/unit added to each unit's cost basis — regardless of which ASIN or lot they belong to.

# Freight allocation example Total freight: $180 Total units in shipment: 300 Per-unit freight = $180 ÷ 300 = $0.60 # Mixed shipment (two ASINs) ASIN A: 200 units × ($5.00 + $0.60) = $5.60/unit cost basis ASIN B: 100 units × ($8.00 + $0.60) = $8.60/unit cost basis

Handling returns

When Amazon returns a unit to your sellable inventory, it should be added back to the lot it came from (or to a new lot at its original cost basis). If the unit is unfulfillable and you have it sent back to you, it remains an asset at cost until you dispose of it — at which point the loss flows through as an expense.

SellerGuards FIFO Costing (coming soon): The upcoming FIFO Costing module will let you enter purchase lots directly and automatically calculate per-unit cost basis — including freight allocation. It will then apply FIFO against your actual order data to produce accurate COGS for every period and every ASIN. Join early access →

FAQ

Does Amazon Seller Central track COGS for me?
No. Seller Central tracks revenue, Amazon fees, and ad spend — but has no concept of what you paid for your inventory. COGS tracking must be done outside of Seller Central using an accounting tool, spreadsheet, or a dedicated platform like SellerGuards.
Can I use average cost instead of FIFO?
Yes — weighted average cost is an accepted method. It's simpler to maintain. The tradeoff is accuracy: if your buy price changes significantly between restocks (which is common in retail arbitrage and wholesale), average cost blends those differences away and makes it harder to evaluate individual sourcing decisions. FIFO is generally the better choice for Amazon sellers.
Should inbound shipping to Amazon be included in COGS?
Yes. Under US GAAP, inventory cost includes all costs necessary to bring the inventory to its present location and condition — which includes inbound freight to Amazon. Sellers who exclude freight consistently overstate their gross margin.
What happens to COGS when Amazon loses or damages my inventory?
Lost or damaged units are written off as an inventory loss expense (not COGS, since they were never sold). If Amazon reimburses you, the reimbursement offsets that loss. Unreimbursed losses are a deductible expense. This is why tracking reimbursements matters — without it, you're writing off a loss that should be offset by a reimbursement.
Is FIFO required, or just recommended?
FIFO is not required — it's one of several accepted costing methods. The requirement is that you pick a method and use it consistently. Switching methods requires an IRS accounting method change (Form 3115). FIFO is the most common for product-based businesses because it closely mirrors the actual physical flow of goods.

Know your real COGS. Know your real profit.

SellerGuards tracks inventory by purchase lot and applies FIFO automatically — so your P&L reflects what you actually earned, not an approximation.

Get started free