How do I track cost of goods sold for e-commerce products?
COGS for e-commerce includes everything you spend to get products ready to sell. That means the purchase price from your supplier plus inbound shipping, packaging materials, and any customs or duties if you import. This total is called your landed cost, and it’s what matters for tracking profitability.
Most e-commerce sellers use accounting software like QuickBooks connected to their sales platforms. Shopify, Amazon, and Etsy can sync sales data into your books. But recording sales is only half the equation. You also need to track what each product costs and reduce inventory when items sell.
If you carry inventory, set up products as inventory items in your accounting software with accurate costs. When you receive a shipment, record the purchase and add to inventory. When you sell, COGS should pull from inventory automatically. This perpetual inventory method keeps your books accurate without manual adjustments every time something ships.
The challenge comes when costs fluctuate. Your supplier raises prices, shipping rates change, or you find a cheaper source. Update your item costs when this happens. Using outdated costs means your COGS is wrong and your margins look better or worse than reality.
For Amazon FBA sellers, keep FBA fees separate from COGS. The product and getting it to Amazon’s warehouse is COGS. The referral fees, fulfillment fees, and storage fees are selling expenses. Mixing these makes it impossible to know if a product is profitable before Amazon takes their cut.
Multi-channel selling adds complexity. If you sell the same product on Shopify, Amazon, and Etsy, you need consistent COGS regardless of channel. The margin might differ due to platform fees, but the underlying product cost stays the same.
Inventory management apps like A2X, Cin7, or DEAR Inventory can automate much of this. They pull sales from all your channels, calculate COGS using your item costs, and push accurate numbers into QuickBooks. An Andover, MA bookkeeping service familiar with e-commerce accounting can help set up these integrations correctly from the start.
The goal is knowing your true gross margin by product. If something costs $12 landed and sells for $30, your gross margin is $18 or 60%. If you’ve been recording cost as $8 because you forgot shipping and packaging, you think you’re making 73% when you’re actually at 60%. That difference matters when deciding which products to promote, discount, or discontinue.
The Merrimack Valley's Trusted Accounting Partner
The Next Step:
A 15-Minute Call
Tell us about your business and what you're dealing with. We'll listen, ask a few questions, and give you a straightforward quote.
More Questions
How do I track insurance reimbursements for my healthcare practice?
Track each claim from submission through payment in your practice management software, then reconcile those records monthly with your accounting system. The key is matching what you billed, what you expected to receive based on contracts, and what actually hit your bank.
Read answerHow do I separate personal and business finances?
Open a dedicated business bank account and use it exclusively for business transactions. Get a business credit card, pay yourself through regular documented transfers, and track everything through accounting software from day one.
Read answerHow do I correct a payroll tax filing mistake?
File Form 941-X to correct federal quarterly payroll tax returns, and handle state corrections through MassTaxConnect for Massachusetts. Act quickly because penalties and interest continue to accrue until corrections are filed.
Read answerWhat are the economic nexus thresholds by state?
Most states set the threshold at $100,000 in sales or 200 transactions per year. Once you exceed either number in a state, you're required to register, collect sales tax, and remit it regardless of whether you have a physical presence there.
Read answerHow do I do bookkeeping for my Amazon FBA business?
Amazon FBA bookkeeping requires tracking settlements separately from actual sales, properly categorizing FBA fees, managing inventory costs, and handling multi-state sales tax obligations. The complexity comes from how Amazon reports and pays you.
Read answerHow do I track patient co-pays and insurance payments?
Use your practice management software to track what patients owe and what insurance should pay, then reconcile both against actual deposits. The key is matching expected payments to what actually arrives in your bank account.
Read answer

