Operating expenses are the costs a Shopify store pays to keep the lights on after gross profit — app subscriptions, 3PL fees, payroll, paid ads, software, and merchant processing. For DTC brands, OpEx typically runs 35–55% of revenue, and the lines that creep first (app stack, 3PL pick rates, CAC) are usually the early warning signs of margin compression.

What Are Operating Expenses on a Shopify P&L?

Operating expenses (OpEx) are the recurring costs of running a Shopify business that sit below gross profit on the income statement. They cover everything from your Klaviyo subscription to warehouse rent to the salary of your customer support lead. OpEx is what's left to manage once cost of goods sold is already out of the picture.

The clean way to think about it: if a cost would still exist whether you sold one unit or one thousand units this month, it's probably an operating expense. If the cost scales unit-by-unit with each order shipped (inventory, pick-and-pack, outbound shipping), it's COGS.

On a typical Shopify P&L, the structure looks like this:

Sample Shopify P&L Structure ($1M monthly revenue brand)
Net Revenue$1,000,000
Cost of Goods Sold($320,000)
Gross Profit$680,000
Paid Advertising($250,000)
Merchant Processing($29,000)
3PL Fees (non-pick/pack)($18,000)
Software & Apps($14,000)
Payroll & Contractors($95,000)
Other OpEx($25,000)
Total Operating Expenses($431,000)
Operating Income$249,000

Across the 100+ Shopify brands Ottit closes books for, this is the layout we use. It mirrors what investors, lenders, and acquirers expect to see, and it makes each OpEx line easy to benchmark as a percentage of revenue.

If a cost would still exist whether you sold 1 unit or 1,000 this month, it's probably operating expense. If it scales with each order, it's COGS.

Actionable takeaway: open your chart of accounts and confirm OpEx sits below gross profit, not jumbled in with COGS. If Shopify Payments fees, 3PL fees, and inbound freight are all mashed into one bucket, gross margin is unreadable. For a cleaner setup, see our chart of accounts examples for Shopify.

How Do Operating Expenses Differ From COGS and CapEx?

Operating expenses, COGS, and capital expenditures are three separate categories on a Shopify P&L and balance sheet. COGS is the direct cost of the product sold. OpEx is the indirect cost of running the business. CapEx is money spent on long-life assets (equipment, custom tooling, capitalized software) that get depreciated over years instead of expensed all at once.

CategoryWhere It LivesExample for Shopify BrandTax Treatment
COGSAbove gross profitLanded inventory cost, 3PL pick & pack, outbound shippingDeducted when inventory is sold
Operating ExpenseBelow gross profitKlaviyo, Shopify Plus fee, payroll, Meta ads, rentGenerally deducted in the year incurred
Non-Operating ExpenseBelow operating incomeInterest on a Wayflyer loan, FX lossesDeductible but reported separately
Capital ExpenditureBalance sheet assetCustom mold for new SKU, $30K warehouse rackingDepreciated over useful life (§179 / bonus depreciation may apply)

The line between OpEx and CapEx trips up a lot of Shopify operators. A $5,000 photo shoot is OpEx. A $40,000 custom injection mold that produces SKUs for 3+ years is CapEx. A $1,200 MacBook for your new hire could go either way — most brands expense it under a de minimis safe harbor rather than capitalize.

Tax treatment matters here. Operating expenses are generally deductible in the year incurred. Capital expenditures get capitalized and depreciated, though Section 179 and bonus depreciation can accelerate that deduction in some cases. The specifics depend on the asset, the tax year, and the brand's structure — a CPA is the right person to confirm what applies.

Actionable takeaway: set a capitalization threshold in your accounting policy (most DTC brands use $2,500–$5,000) and apply it consistently. Anything below the threshold gets expensed; anything above gets capitalized and depreciated.

What Are the Main Categories of Operating Expenses for DTC Brands?

Most Shopify brands organize operating expenses into six or seven core categories: paid acquisition, merchant processing, 3PL and fulfillment overhead, software and apps, payroll, post-purchase CX tooling, and general overhead. Categorizing tightly is what lets you benchmark each line as a percentage of revenue and spot creep before it shows up in operating income.

Meta, Google, TikTok, applovin, influencer payments, affiliate commissions. For most $1M–$10M Shopify brands, this is the single largest OpEx line — often 20–30% of revenue. Brands using Triple Whale or Northbeam for attribution typically split this out by channel inside the GL too.

Merchant processing

Shopify Payments, PayPal, Shop Pay Installments, Affirm fees. Standard Shopify Payments runs around 2.9% + 30¢ for online orders. According to the Shopify Help Center guide to payouts, these fees are netted from each payout before the deposit hits your bank. That's why merchant processing has to be booked from the gross payout, not the net deposit, or you'll understate both revenue and OpEx.

3PL and fulfillment overhead

ShipBob, ShipMonk, in-house warehouse rent, receiving fees, storage fees, return processing. Variable pick-and-pack and outbound shipping belong in COGS. Fixed storage, account management, and minimum monthly fees are OpEx.

Software, apps, and subscriptions

This is where the app stack creep hides. A typical $5M Shopify brand we work with is paying for:

  • Shopify Plus base fee ($2,300+/month)
  • Klaviyo (email/SMS, often $500–$2,000/month at this scale)
  • Recharge (subscriptions, 1–2% of subscription revenue)
  • Gorgias (CX helpdesk, $300–$1,000/month)
  • Triple Whale (attribution, $400–$1,500/month)
  • Postscript or Attentive (SMS, often $500–$3,000/month)
  • Okendo or Junip (reviews, $200–$500/month)
  • QuickBooks Online or Xero plus a payout sync tool
  • 10–20 smaller utility apps at $20–$100/month each

Total monthly software spend at $5M revenue is usually $8K–$15K. That's $100K–$180K annually. We see brands sign up for tools during peak season and forget to cancel by Q1.

Payroll and contractors

W-2 staff, 1099 contractors, agency retainers, founder salary. Most Shopify brands run payroll through Gusto and bookkeep it monthly. Overseas contractors typically flow through Deel or Wise.

Post-purchase CX tooling

Loop or Returnly for returns, Gorgias or Zendesk for support, Yotpo or Smile.io for loyalty. These get bundled into software in some chart of accounts setups. We prefer breaking them out because CX cost per order is a metric worth tracking on its own.

General overhead

Rent, utilities, professional fees (legal, accounting, fractional CFO), insurance, bank fees, travel, meals. The miscellaneous bucket — keep it small. If "other OpEx" is more than 5% of total OpEx, something needs reclassification.

Actionable takeaway: every quarter, run a vendor list against bank and card transactions. Cancel anything that hasn't been logged into in 90 days. Across our portfolio, the typical app audit recovers $500–$3,000/month in dead subscriptions.

What Is a Healthy OpEx Percentage by Brand Stage?

Operating expenses as a percentage of revenue vary widely by brand stage. Sub-$1M brands typically run 50–70% OpEx because fixed costs spread over little revenue. $1M–$10M brands usually land at 40–55%. $10M+ brands often pull OpEx down to 30–40% as scale leverages fixed software, payroll, and warehouse costs.

Brand StageTypical OpEx % of RevenueLargest OpEx LineBiggest Risk
Sub-$1M ARR50–70%Paid ads + founder payrollApp stack overspend, untracked CAC
$1M–$5M ARR45–60%Paid ads (often 25–35%)3PL minimums, agency retainers
$5M–$10M ARR40–55%Paid ads + payrollHiring ahead of revenue, app sprawl
$10M+ ARR30–45%PayrollBloated middle management, duplicate tooling

These ranges come from what we see closing books across 100+ Shopify brands. They're directional, not prescriptive. A capital-light apparel brand with high AOV looks different from a low-AOV consumables brand burning to acquire.

The number that actually matters isn't total OpEx — it's OpEx by category as a percentage of revenue, tracked month over month. A 1-point creep in software spend on $5M ARR is $50K a year. That's a hire.

A 1-point creep in software spend on $5M revenue is $50K a year. Most brands find it in their app stack, not their ad spend.

Actionable takeaway: build a benchmark sheet with each OpEx category as a % of revenue, broken out monthly. Flag any line that moves more than 1 point from trailing 3-month average. That's the early warning system.

How Do You Record Operating Expenses on the Shopify Books?

Operating expenses get recorded as debits to the relevant expense account with a corresponding credit to cash, accounts payable, or a credit card liability. For Shopify brands, most OpEx flows through three channels: bank ACH debits, credit card charges (Ramp, Brex, Amex), and netted payout deductions from Shopify Payments.

Here's a typical month-end journal entry for Shopify Payments processing fees on a $500K gross sales month, where the processor netted $14,500 in fees before payout:

Recording Shopify Payments processing fees
DRMerchant Processing Fees (OpEx)$14,500
CRShopify Payments Clearing$14,500
Shopify Payments fees netted from monthly payouts — recorded from gross sales, not net deposits

This is the entry that most DIY bookkeepers miss. They book revenue from the net bank deposit, which silently understates both gross revenue and merchant processing OpEx. Across the Shopify stores we close books for, we use Bookkeep to break each payout into its revenue, refund, fee, and adjustment components automatically — it's the tool we rely on for revenue recognition and sales tax across the 100+ brands Ottit serves. For brands using a different setup, the Synder Shopify integration guide covers a similar workflow.

For app subscriptions on a credit card, the entry is simpler:

Monthly Klaviyo subscription on company card
DRSoftware & Subscriptions (OpEx)$1,250
CRCredit Card Payable — Ramp$1,250
Klaviyo monthly plan — May 2026 billing

Brands using Ramp or Brex for team spend usually pull a CSV feed directly into QuickBooks Online or Xero, with each transaction auto-coded to the correct OpEx account based on vendor rules. That's how monthly software spend gets categorized without manual touch.

Actionable takeaway: confirm processing fees are booked from gross sales, not net deposits. If the books currently show revenue = bank deposits, both revenue and OpEx are wrong. For a deeper walkthrough, see our piece on cash vs accrual accounting for Shopify.

Which Operating Expenses Predict Margin Compression?

The OpEx lines that leak first — before they show up in contribution margin or operating income — are paid acquisition CAC, 3PL pick-and-pack rate per order, app stack creep, and merchant processing mix. Watching these four metrics monthly is how brands catch margin compression a quarter before it bites.

If Meta CPMs rise and AOV stays flat, blended CAC creeps. Most brands track this in Triple Whale or Northbeam. A 10% CAC increase on a brand spending 25% of revenue on ads is a 2.5-point gross-to-net margin hit. That's a big number.

2. 3PL pick-and-pack rate per order

3PLs raise rates quietly. A 25¢ increase per order on a brand shipping 10,000 orders/month is $2,500/month — $30K/year — that vanishes into COGS without anyone noticing. Pull the monthly 3PL invoice, divide total pick/pack charges by order count, and chart it. If it's trending up, renegotiate or RFP.

3. Software spend per $1K of revenue

Healthy DTC brands run software at $20–$40 per $1K of revenue. When it climbs above $50, app sprawl is the culprit. The fix is a quarterly tooling audit, not a hiring freeze.

4. Merchant processing mix

Shop Pay Installments, Affirm, and Klarna charge higher fees than standard Shopify Payments. If the BNPL share of orders grows, processing OpEx as % of revenue grows with it. Track the mix monthly.

Margin compression rarely starts in gross margin. It starts in 3PL pick rates, app subscriptions, and BNPL mix — and shows up in OpEx 60–90 days before contribution margin moves.

Actionable takeaway: build a one-page monthly margin dashboard with these four lines. If the trend is wrong for two months in a row, intervene before the quarter closes. For more on how OpEx feeds into unit economics, see our contribution margin playbook for Shopify brands.

How Should Shopify Brands Categorize OpEx in the Chart of Accounts?

The chart of accounts for a Shopify brand should split operating expenses into 8–15 specific GL accounts rather than rolling everything into a generic "Operating Expenses" bucket. Specific categorization lets you benchmark each line, allocate by department later, and produce financials that make sense to investors and lenders.

A clean Shopify OpEx section in the chart of accounts usually looks like this:

  1. Paid Advertising — Meta
  2. Paid Advertising — Google
  3. Paid Advertising — TikTok
  4. Paid Advertising — Other (influencers, affiliates)
  5. Merchant Processing Fees
  6. 3PL & Warehouse Overhead (non-COGS)
  7. Software & Subscriptions
  8. Payroll — Salaries & Wages
  9. Payroll — Benefits & Taxes
  10. Contractor & Agency Fees
  11. Professional Fees (legal, accounting, fractional CFO)
  12. Rent & Utilities
  13. Insurance
  14. Travel, Meals & Entertainment
  15. Other Operating Expenses

Across the 100+ Shopify brands we work with, we standardize on this kind of structure. It maps cleanly to how investors and lenders read DTC financials, and it makes month-over-month benchmarking automatic instead of manual.

Actionable takeaway: if the current chart of accounts has more than 5% of OpEx sitting in "Other," the categorization is too loose. Reclass, rebuild, and lock vendor rules in QuickBooks or Xero so future transactions auto-code correctly.

How Are Operating Expenses Treated for Tax?

Operating expenses are generally deductible in the tax year they're incurred, reducing the taxable income of the business. The treatment varies by entity type — sole props and single-member LLCs deduct OpEx on Schedule C, partnerships and multi-member LLCs on Form 1065, S-corps on 1120-S, and C-corps on 1120. The mechanics are similar; the form is different.

A few wrinkles Shopify brands run into:

  • Meals are typically 50% deductible under current rules; entertainment is generally not deductible.
  • Prepaid expenses (a 12-month software contract paid upfront) sometimes need to be amortized over the service period under accrual accounting rules.
  • Section 174 R&D capitalization requires software development costs to be capitalized and amortized rather than expensed — this catches DTC brands building custom Shopify apps.
  • Owner compensation for S-corp shareholders has to be "reasonable" — purely distributing profit without paying a salary is an audit flag.
  • 1099 reporting is required for most contractors paid $600+ in a year for services.

Entity choice matters too. The SBA guide to choosing a business structure is a good starting point on how OpEx deductibility flows through LLC vs S-corp vs C-corp. The specifics for any particular brand are a conversation for a CPA — entity, state, and stage all change the answer.

Actionable takeaway: keep OpEx documentation tight throughout the year — receipts, vendor W-9s, contractor agreements — and don't wait until April to reconcile. Brands that close books monthly have a far smoother tax season than brands that scramble in Q1.

Key Takeaways

  • Operating expenses are the costs of running a Shopify store that sit below gross profit — paid ads, software, payroll, 3PL overhead, merchant processing.
  • Healthy total OpEx runs 35–55% of revenue for most DTC brands, with paid acquisition the largest single line at $1M–$10M scale.
  • Categorize OpEx into 10–15 specific GL accounts, not a generic bucket. Specific categorization is what makes benchmarking possible.
  • App stack creep is the most common silent leak. Quarterly tooling audits typically recover $500–$3,000/month at $1M–$5M ARR.
  • Margin compression starts in OpEx — 3PL rates, CAC, software spend per $1K, BNPL mix — before it shows up in contribution margin. Monitor monthly.
  • Book processing fees from gross sales, not net deposits. Anything else understates revenue and OpEx in equal measure.

Sources & References