Bookkeeping, payroll, and fractional CFO services for the Merrimack Valley and Greater Boston.

Call or Text: (978) 289-9070

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

What is the cost of outsourcing payroll for a small business?

Most small businesses pay $50 to $200 per month for outsourced payroll, depending on employee count and pay frequency. Pricing typically includes a base fee plus a per-employee charge, with extras like multi-state filings adding cost.

Read answer

How 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 answer

What is the best QuickBooks plan for a small business?

Most small businesses do well with QuickBooks Online Essentials or Plus. The right choice depends on how many users need access, whether you track inventory, and if you need project-level profitability tracking.

Read answer

How do I file sales tax returns for multiple states?

Register separately with each state where you have nexus, track the different filing frequencies and due dates, and either file manually through each state's portal or use software to automate the process.

Read answer

How do I set up invoicing in QuickBooks Online?

Start by setting up your products or services list and customizing your invoice template with your logo and payment terms. Connect online payments to get paid faster, and use recurring invoices and automatic reminders to save time on repetitive tasks.

Read answer

How do I account for R&D tax credits?

Track qualifying R&D expenses throughout the year in separate accounts, then record the credit as a reduction of income tax expense when claimed. Startups can offset payroll taxes instead of income taxes.

Read answer

Vast Accounting provides bookkeeping, payroll, and fractional CFO services for small businesses across the Merrimack Valley and Greater Boston. We combine 15+ years of hands-on finance experience with a genuine commitment to helping local businesses succeed.

Client Reviews

5-Star Rated Firm

Social

  • The Merrimack Valley Chamber of Commerce
  • Massachusetts LGBT Chamber of Commerce
  • Better Business Bureau

© 2026 Tax Plus Miami, LLC d.b.a. VAST ACCOUNTING