Accounting for E-Commerce Startups: What Founders Need to Know
E-commerce accounting has a few wrinkles that catch founders off guard. Inventory valuation, cost of goods sold calculations, multi-state sales tax obligations, and high-volume transaction processing create complexity that a typical service business doesn't face.
The founders who get this right early save themselves significant headaches (and money) later. The founders who wing it end up with messy books, surprise tax bills, and financials that make investors uncomfortable.
This guide covers the accounting fundamentals every e-commerce startup needs to nail from day one.
How Is E-Commerce Accounting Different from SaaS Accounting?
The biggest difference comes down to physical goods. SaaS companies sell software subscriptions with near-zero marginal cost. E-commerce companies buy, store, and ship physical products, and each of those steps has accounting implications.
Inventory is an asset, not an expense. When you buy $50,000 worth of product, that money doesn't immediately hit your income statement as an expense. It sits on your balance sheet as inventory (an asset) until the product sells. Only then does the cost move to your income statement as cost of goods sold (COGS). This timing difference affects your reported profitability, tax liability, and cash flow in ways that surprise first-time e-commerce founders.
COGS is your largest expense line. For most e-commerce startups, cost of goods sold represents 40 to 70% of revenue. Getting COGS right means accurately tracking product costs, shipping costs, packaging materials, and any direct labor involved in fulfillment. A 5% error in COGS on a $1M revenue business is a $50,000 mistake.
Sales tax is mandatory and complex. After the 2018 Supreme Court decision in South Dakota v. Wayfair, states can require e-commerce businesses to collect and remit sales tax based on economic nexus (revenue or transaction thresholds in the state). Most e-commerce startups selling nationwide have sales tax obligations in 20 to 45 states.
High transaction volume. A SaaS company might process 500 subscription payments per month. An e-commerce startup doing $500,000 per year in revenue might process 5,000 to 10,000 individual transactions per month. This volume makes manual bookkeeping impractical and reconciliation errors more likely.
What Is Cost of Goods Sold and Why Does It Matter So Much?
COGS is the direct cost of producing or purchasing the products you sell. For e-commerce companies, it typically includes:
Product cost. What you paid your supplier or manufacturer for the goods. This is the landed cost, which includes the purchase price plus freight, duties, and import fees to get the product to your warehouse.
Shipping materials. Boxes, mailers, tape, bubble wrap, and other packaging used to ship orders to customers.
Outbound shipping. The cost of delivering orders to customers, whether you offer free shipping (which is a cost you absorb) or pass it through to customers.
Fulfillment labor. If you have employees or contractors picking, packing, and shipping orders, their time is part of COGS.
Payment processing fees. Stripe, Shopify Payments, and other processors charge 2.5 to 3.5% per transaction. These fees are directly tied to sales and belong in COGS.
Inventory shrinkage. Lost, damaged, or stolen inventory reduces your sellable stock and increases your effective COGS.
Getting COGS wrong has downstream effects everywhere. Your gross margin is revenue minus COGS, and gross margin is the number investors look at first. If your COGS is understated, your gross margin looks artificially high. If it's overstated, you look less efficient than you actually are.
How Should E-Commerce Startups Handle Inventory Accounting?
Inventory accounting requires choosing a method and applying it consistently.
FIFO (First In, First Out) assumes the oldest inventory sells first. If you bought 100 units at $10 each in January and 100 units at $12 each in February, FIFO assumes the January units sell first. This method produces a lower COGS and higher profit when prices are rising.
LIFO (Last In, First Out) assumes the newest inventory sells first. Using the same example, LIFO would assign the $12 cost to the first units sold. This produces a higher COGS and lower profit. Note: LIFO is not allowed under IFRS, so if you plan to operate internationally or raise from investors who prefer GAAP/IFRS alignment, FIFO is the safer choice.
Weighted average cost takes the average cost of all units available for sale and applies it to every unit sold. This smooths out price fluctuations and is simpler to calculate.
For most e-commerce startups, FIFO is the best choice. It's straightforward, widely accepted, and aligns with how most businesses actually move inventory (older stock ships first). It's also required if you want IFRS-compatible financials.
Inventory counts matter. Your accounting records say you have X units of inventory. Your actual warehouse has Y units. The difference is shrinkage, and it needs to be accounted for. Most e-commerce startups should do a physical inventory count at least quarterly, with cycle counts (counting a portion of inventory regularly) in between.
What Do E-Commerce Startups Need to Know About Sales Tax?
Sales tax compliance is one of the most operationally burdensome aspects of running an e-commerce business.
Economic nexus thresholds vary by state. Most states set the threshold at $100,000 in annual sales or 200 transactions within the state. Once you exceed the threshold, you're required to register, collect, and remit sales tax in that state. These thresholds can be based on the prior calendar year or a rolling 12-month period, depending on the state.
Not all products are taxable everywhere. Some states exempt clothing, food, or digital goods from sales tax. The taxability of your specific products can differ across all 45 states with sales tax. Getting this wrong means either overcharging customers (and creating refund headaches) or undercharging them (and owing the difference out of your own pocket).
Filing frequency depends on volume. States assign filing frequencies (monthly, quarterly, or annually) based on your sales volume in the state. A startup collecting $50,000 per month in sales tax in California will file monthly, while $500 per year in Montana might require only an annual return.
Marketplace facilitator laws help. If you sell through Amazon, Etsy, Walmart Marketplace, or similar platforms, the marketplace is responsible for collecting and remitting sales tax on your behalf in most states. This reduces your direct compliance burden for marketplace sales, though you're still responsible for sales through your own website.
For e-commerce startups managing sales tax across many states, automated tools are essential. Median offers sales tax compliance as an add-on service at $99 per month, handling registrations, calculations, and filing across all states where you have nexus.
How Should E-Commerce Startups Recognize Revenue?
Revenue recognition sounds simple (you sold a product, record the revenue) but has nuances for e-commerce.
When to recognize revenue. Under accrual accounting, revenue is recognized when the performance obligation is satisfied, which for physical goods means when the product is delivered to (or shipped to, depending on shipping terms) the customer. Revenue is not recognized when the order is placed or when payment is received.
Handling returns. If your return rate is 15% (common in apparel and fashion), you need to account for expected returns as a reduction of revenue. This means estimating your return rate based on historical data and recording a return reserve when you recognize revenue.
Gift cards and store credit. When a customer buys a gift card, you receive cash but haven't yet delivered a product. The payment is recorded as deferred revenue (a liability) until the gift card is redeemed. Unredeemed gift cards (breakage) are recognized as revenue over time based on historical redemption patterns.
Subscription boxes. If your e-commerce business includes a subscription component, the accounting combines e-commerce revenue recognition (for the physical goods) with subscription accounting (for the recurring billing). Each shipment triggers revenue recognition for the goods delivered.
Discounts and promotions. Coupons, percentage-off promotions, and free shipping offers reduce your net revenue. These should be recorded as a reduction of revenue, not as a marketing expense. A 20% discount coupon on a $100 product means you recognize $80 of revenue, not $100 of revenue and $20 of marketing expense.
What Does a Good E-Commerce Bookkeeping Setup Look Like?
The ideal setup automates as much as possible and provides daily visibility into your financial position.
Transaction sync. Your bookkeeping platform should pull transactions directly from Shopify, Stripe, Amazon, and your bank accounts. Manual CSV imports are error-prone and time-consuming at e-commerce transaction volumes.
Automated categorization. Product sales, shipping revenue, refunds, processing fees, and platform fees should be categorized automatically. With hundreds or thousands of transactions per day, manual categorization isn't realistic.
Inventory tracking integration. Your bookkeeping should connect with your inventory management system so that COGS calculations are based on actual product costs, not estimates.
Multi-channel reconciliation. If you sell through your own website, Amazon, Etsy, and wholesale, revenue from all channels needs to flow into a single set of books with proper channel attribution.
Daily close. Waiting until month-end to know your financial position means making decisions based on stale data. A daily book close, like the one Median provides, gives you current gross margin, COGS, and cash position every day.
Sales tax tracking. Your bookkeeping platform should track sales tax collected and payable by state, making it easy to file returns and maintain compliance.
Frequently Asked Questions
Should e-commerce startups use cash basis or accrual basis accounting? Accrual basis is strongly recommended once you're past the very earliest stage. Cash basis doesn't properly handle inventory (since you might buy inventory months before it sells), and it makes COGS calculations unreliable. If your annual revenue exceeds $1 million, the IRS may require accrual accounting anyway.
How often should e-commerce startups reconcile their accounts? Daily is ideal, which is why a managed bookkeeping service with automated reconciliation makes such a difference for e-commerce companies. At minimum, reconcile weekly. Monthly reconciliation at e-commerce transaction volumes almost guarantees you'll have errors that compound over time.
What's the best accounting software for e-commerce? Rather than choosing standalone software and managing it yourself, consider a managed bookkeeping service that handles the complexity for you. Median integrates with the tools e-commerce startups already use (Stripe, Mercury, Ramp) and handles daily reconciliation, COGS tracking, and sales tax compliance.
Do I need to collect sales tax on shipping charges? It depends on the state. Some states tax shipping charges, some don't, and some tax shipping only under certain conditions (like when it's bundled with the product price). This is another reason automated sales tax calculation is essential for e-commerce businesses.
Jacob Sheldon is the founder of Median, a financial operations platform for startups. Running an e-commerce startup? Get your free assessment to see how Median simplifies your accounting.