Categorizing Ecommerce Expenses for Accurate P&L: COGS, Ad Spend, and Shipping
Mastering Ecommerce Expense Categorization for an Accurate P&L
Accurate profit and loss (P&L) statements are the bedrock of any successful ecommerce business. But categorizing expenses incorrectly can distort your financial picture, leading to misguided decisions. This guide dives deep into properly classifying ecommerce costs—especially COGS, ad spend, and shipping—so you can gain true insights into your margins and profitability.
The Importance of Proper Expense Categorization
When you misclassify an expense, you not only violate basic accounting principles but also skew key metrics like gross margin and net profit. For example, placing Facebook ad costs under COGS will inflate your cost of goods sold, artificially lowering your gross margin and making it impossible to compare performance across periods or against industry benchmarks. A well-structured chart of accounts is essential for meaningful financial analysis.
Core Expense Categories in Ecommerce
1. Cost of Goods Sold (COGS)
COGS is the direct cost of producing or purchasing the products you sell. It includes:
- Product manufacturing or wholesale cost
- Inbound shipping and freight
- Customs, duties, and tariffs
- Packaging that is integral to the product (e.g., branded boxes)
- Merchant processing fees? (Debatable: some put payment gateway fees under operating expenses; but if directly tied to the sale, it can be argued as COGS.)
For dropshipping, COGS is your supplier’s price plus any fees per order. Always exclude indirect costs like your own warehouse labor unless that labor is directly assembling products.
2. Advertising and Marketing Spend
All platforms—Google Ads, Facebook, TikTok, influencer fees—fall under Selling, General and Administrative (SG&A) Expenses, specifically as “Advertising Expense” or “Marketing Spend.” They are not part of COGS. Separating ad spend by channel (e.g., Google Ads, Facebook Ads) allows you to calculate return on ad spend (ROAS) accurately. You can further break down by campaign if you use detailed tracking.
3. Shipping and Fulfillment (Outbound)
This is a gray area. Many accountants classify outbound shipping to customers as a selling expense (SG&A), while others argue it’s a direct cost of delivering the product and should be in COGS. The consensus in ecommerce: If shipping is a significant part of your value proposition (e.g., free shipping built into pricing), include it in COGS to see the true product-level margin. Otherwise, it can remain in SG&A. Whichever you choose, be consistent and disclose your methodology. Costs of fulfillment services (like Amazon FBA fees) are also outbound shipping costs.
4. Samples and Giveaways
Product samples given for marketing or reviews are not COGS because no sale occurred. They should be recorded as a marketing expense (SG&A). If you send samples to influencers, the cost of the product plus shipping is marketing. In some cases, if samples are used for R&D or quality control, they could be under other expense categories.
5. Other Operational Expenses
- Platform Fees: Amazon seller fees, Shopify subscription, Etsy charges—treated as SG&A.
- Payment Processing Fees: Typically SG&A, though some include in COGS. It’s your choice, but keep it consistent.
- Salaries and Wages: SG&A for support staff; if employees directly involved in production (e.g., assembling kits), then part of COGS.
- Rent, Utilities, Software: SG&A or overhead.
Setting Up Your Chart of Accounts
Create a clear, scalable structure:
- Revenue (Sales, Discounts/Returns)
- COGS (Product Cost, Inbound Shipping, Customs, Packaging)
- Gross Profit (Revenue - COGS)
- Operating Expenses:
- Marketing (Ads by platform, Content, Influencer, Samples)
- Shipping & Fulfillment (Outbound shipping, FBA fees, 3PL costs)
- Selling Expenses (Platform fees, Merchant processing)
- Administrative (Salaries, Rent, Software, Professional services)
- Net Profit
Ensure each expense gets a consistent account code.
Practical Tips for Accurate Reporting
- Integrate your sales channels with accounting software (QuickBooks, Xero) using tools like A2X or Webgility to automatically pull in income and expenses.
- Record COGS at time of sale, not when inventory purchased, to align with revenue recognition.
- If you offer promotional discounts, they reduce revenue, not add to marketing.
- For multi-channel, multi-country operations, track expenses by channel and region to see profitability.
Common Pitfalls to Avoid
- Throwing everything into “Miscellaneous” or a single “Marketing” bucket. Detail matters.
- Forgetting to allocate overhead like warehouse rent or ecommerce platform fees appropriately.
- Not matching return-related costs (refunds, return shipping) correctly—these should reduce net sales.
Conclusion
A meticulously categorized P&L reveals the health of your ecommerce business. By properly assigning COGS, ad spend, shipping, and other costs, you can pinpoint which products and channels are truly profitable. Invest the time upfront to design your chart of accounts, and your future financial analysis will thank you.
Last updated: Apr 07 2026
AI Assistant
Hi! 👋 You are viewing Categorizing Ecommerce Expenses for Accurate P&L: COGS, Ad Spend, and Shipping. Need any help with this topic?