Staging preview — not indexed. Highlighted items are unverified claims awaiting firm confirmation.
Draft — pending CPA review (draft). This page is excluded from the production build until a named, credentialed reviewer approves it.

Inventory Accounting

How to Calculate COGS for Amazon FBA Sellers

Calculate cost of goods sold for Amazon FBA: what goes in landed cost, FIFO vs. weighted average with a worked quarter, FBA unit sources, and tax method basics.

Cost of goods sold (COGS) for an Amazon FBA seller is beginning inventory plus purchases at landed cost, minus ending inventory. Per unit, it is the number of units sold, from Amazon’s Inventory Ledger, multiplied by landed unit cost under your costing method (FIFO or weighted average). Landed cost includes supplier price, freight, duties, brokerage and inbound shipping. It does not include Amazon referral, fulfillment or storage fees.

The two ways to calculate COGS (and why you need both)

The periodic formula is used on tax forms such as Schedule C Part III and Form 1125-A:

COGS = Beginning inventory + Purchases (landed) − Ending inventory

The per-unit method is what your books and inventory software do each month:

COGS = Units sold × Landed unit cost (under your costing method)

The two methods should give the same answer for any period. When they don’t, the difference points to unrecorded write-offs, purchases booked to the wrong period, or a counting error. Running both is one of the best checks you have.

What goes into landed cost

The tax regulations describe inventory cost for a reseller as the invoice price less trade discounts, plus transportation and other necessary charges incurred in acquiring possession of the goods (26 CFR 1.471-3). For an FBA seller, that generally means:

Cost In landed cost? Notes
Supplier unit price (net of discounts) Yes Use the invoiced amount in USD at the transaction date’s rate if you pay in foreign currency
Ocean, air or rail freight Yes Allocate across the shipment (by units, cartons, volume or value)
Import duties and tariffs Yes See the landed cost guide for allocation
Customs broker, clearance and port fees Yes
Cargo insurance Yes
Drayage and trucking to the warehouse or FBA Yes
Inbound shipping to Amazon (partnered carrier or your own) Yes, generally
Prep, labeling, bagging (third-party or Amazon prep) Usually A policy decision; be consistent
Inbound placement service fee Judgment See the FBA fees accounting guide
Packaging that ships with the product Yes Inserts, boxes and polybags that are part of the product as sold
Samples and pre-production prototypes Generally no Usually expensed as product development or marketing
Referral, FBA fulfillment and storage fees No Selling and fulfillment costs
Advertising No Marketing expense
Removal orders to dispose of stock No Expense, or part of the inventory loss

Larger businesses may also have to capitalize a share of indirect costs, such as purchasing and warehousing labor, under the uniform capitalization rules of section 263A. Many smaller sellers are exempt through the gross receipts test described in IRS Publication 538. Check where you stand with your CPA as you grow.

Illustrative example: one SKU, one quarter, two methods

Illustrative example. Invented SKU and figures, not a real client. No returns, losses or removals, to keep the method comparison clean.

A seller stocks a bamboo cutting board. Supplier prices and freight rose during the quarter.

Inventory available for sale

Lot Date in stock Units Supplier cost Freight Duties Broker Inbound to FBA Total landed Landed per unit
Opening Jan 1 800 — — — — — 5,680.00 7.10
PO-1 Feb 5 2,000 10,800.00 1,400.00 1,620.00 180.00 600.00 14,600.00 7.30
PO-2 Mar 10 1,500 8,250.00 1,050.00 1,250.00 160.00 450.00 11,160.00 7.44
Total 4,300 31,440.00

The Inventory Ledger shows 2,600 units shipped to customers in Q1, leaving 1,700 units at March 31.

FIFO (first in, first out)

The oldest costs go to COGS first.

Units sold from Units Cost per unit COGS
Opening 800 7.10 5,680.00
PO-1 1,800 7.30 13,140.00
Total COGS 2,600 18,820.00

Ending inventory is 200 units of PO-1 at $7.30 ($1,460.00) plus 1,500 units of PO-2 at $7.44 ($11,160.00), for $12,620.00.

Weighted average (periodic, for the quarter)

Average cost = $31,440.00 ÷ 4,300 units = $7.3116 per unit.

Units Cost
COGS 2,600 19,010.23
Ending inventory 1,700 12,429.77
Total 4,300 31,440.00

Side by side

FIFO Weighted average Difference
COGS 18,820.00 19,010.23 190.23
Ending inventory 12,620.00 12,429.77 (190.23)
Effect on gross profit Higher Lower 190.23

Check with the periodic formula (FIFO): 5,680.00 + 25,760.00 − 12,620.00 = 18,820.00 ✓

What this shows. When costs are rising, FIFO leaves the newer, higher costs in ending inventory and shows lower COGS now. The difference reverses when that inventory sells. Over the life of the inventory, total COGS is the same under either method; only the timing differs. In practice, many inventory systems use a perpetual moving average, which recalculates the average after each receipt. That gives slightly different numbers from the quarterly average above, but the logic is the same.

Where FBA makes COGS harder

Getting the cost right is half the job. Getting the units right is the other half, and FBA adds complications:

FBA situation What to do
Units sold Use customer shipments from the Inventory Ledger, net of returns restocked, not the order count from Business Reports
Sellable returns Move cost back to inventory (refunds and returns guide)
Unsellable returns Cost stays in COGS (optionally reclassified to a returns-loss account)
Lost and damaged in the warehouse Write off at cost; account for reimbursements separately (lost and damaged inventory)
Found units Reverse the earlier write-off
Removals and disposals Disposed units are written off. Removed units moved to your warehouse or 3PL are transferred, not expensed.
Inventory in several places Keep separate inventory accounts or locations (FBA, AWD, 3PL, in transit) and reconcile each
Multi-channel fulfillment orders Units shipped for Shopify or other channels are COGS for that channel, so tag them accordingly
Bundles and kits COGS is the sum of the component costs. Track components, not just the bundle SKU.

Monthly COGS workflow

  1. Record receipts at landed cost. When a shipment is received, total the supplier invoice, freight, duties, broker and inbound costs, allocate them across SKUs, and update unit costs. Freight and duty bills often arrive after the goods. Use a holding account and true it up when they arrive.
  2. Pull units from the Inventory Ledger for the month: shipped, returned, lost, found, damaged, disposed, removed.
  3. Calculate COGS with units sold × cost under your method (your inventory software or connector may do this).
  4. Post entries: COGS for sales, inventory restored for sellable returns, and write-offs for losses.
  5. Reconcile the balance. Inventory asset in the books = ending units × unit costs, by location.
  6. Run the formula check. Beginning + purchases − ending should equal the COGS you posted, within rounding.

These steps sit inside the monthly close in the Amazon seller bookkeeping checklist.

Tax rules to know (and to discuss with your CPA)

  • Inventory method is an accounting method. Your choice of cost-flow method (FIFO, average or specific identification) and valuation method (cost, or lower of cost or market where allowed) must be applied consistently. Changing it generally requires IRS consent, usually through Form 3115, and fixing a past improper method can have its own consequences.
  • LIFO (last in, first out) requires a separate election and carries its own rules. It is uncommon among small ecommerce sellers.
  • Small business taxpayers that meet the gross receipts test (an inflation-adjusted threshold) may be able to use simplified inventory treatments, such as treating inventory as non-incidental materials and supplies or following the method used in their books and records, and may be exempt from section 263A. These options change the timing of deductions and have conditions; see IRS Publication 538.
  • Where COGS is reported. Sole proprietors and single-member LLCs report it in Schedule C, Part III (instructions). Partnerships and corporations generally use Form 1125-A. Both use the periodic formula: beginning inventory, purchases, cost of labor, other costs, and ending inventory.
  • Write-downs. Valuing obsolete or damaged stock below cost has specific rules. Document the condition, the date and the method (IRS Publication 334).

These are general rules. Which ones apply depends on your entity, your size and your existing method, so confirm them with your tax adviser before you change anything.

Common COGS mistakes on Amazon books

Mistake What it does to the numbers Fix
Expensing supplier payments straight to COGS COGS follows purchasing, not sales. Big restock months look like losses and lean months look like windfalls. Pay into supplier deposits or inventory; relieve inventory as units sell
Freight and duties booked as “shipping expense” Gross margin is overstated now. Operating expenses are overstated and end-of-year inventory is understated. Capitalize into landed cost; reclassify past bills in a cleanup
Using the supplier price as unit cost COGS is understated for every unit. Per-SKU profit looks better than it is. Build a landed cost per receipt
Counting orders instead of shipped units COGS is off by cancellations, replacements and multi-unit orders Use Inventory Ledger customer shipments
Ignoring lost, damaged and disposed units Inventory asset is overstated, then corrected with a large year-end “adjustment” Write off monthly from the ledger
Mixing methods across SKUs or years without a decision COGS isn’t comparable over time, and the tax method may be inconsistent Document one method and apply it consistently
No year-end snapshot Ending inventory can’t be supported if questioned Save the December 31 Inventory Ledger and 3PL statements

If several of these apply to past years, the fix is a structured cleanup: rebuild landed costs from purchase records, rebuild units from the ledger, and restate inventory. That is better than a single plug entry. Our accounting cleanup service handles exactly this.

Why COGS accuracy is worth the effort

COGS is usually the single biggest cost on an FBA seller’s P&L. Errors here flow straight into gross margin, per-SKU decisions and taxable income. Overstated ending inventory overstates taxable profit; understated ending inventory may understate it. To see how COGS sits alongside fees and ads in per-unit profit, try the Amazon profit calculator or read how to calculate true Amazon profit.

Our inventory accounting and COGS service sets up landed-cost tracking, reconciles units to the Inventory Ledger every month, and documents a costing method your tax return can rely on.

Questions sellers ask

Are Amazon FBA fees part of COGS?

They are not part of inventory cost. Referral and FBA fulfillment fees are incurred when you sell, not when you acquire goods. Some sellers present fulfillment fees inside 'cost of sales' on management reports, but they should never be capitalized into the inventory asset.

Can I just expense inventory when I buy it?

For most inventory sellers, inventory cost is deducted through COGS as units sell, not when purchased. Small businesses that meet the IRS gross receipts test have some alternative methods available. Whether one fits you, and what it does to your taxable income, is a question for your CPA, not a default to assume.

What's the best COGS method for FBA sellers?

There is no single best method. FIFO matches how goods physically flow and is widely used. Weighted average is simpler when costs vary by shipment and units are commingled. Your inventory software's capabilities, your tax position and consistency matter more than the method itself.

Sources

  1. IRS Publication 538, Accounting Periods and Methods (Inventories)
  2. IRS Publication 334, Tax Guide for Small Business (Cost of Goods Sold)
  3. IRS Instructions for Schedule C (Form 1040), Part III Cost of Goods Sold
  4. IRS: About Form 1125-A, Cost of Goods Sold
  5. eCFR: 26 CFR 1.471-3, Inventories at cost
  6. IRS: About Form 3115, Application for Change in Accounting Method

Talk to an ecommerce CPA about your numbers

A free 15-minute discovery call. We’ll look at where your books stand, what’s holding your margins back, and what to fix first — no obligation.

Call nowBook a call