Before we talk to any brand about AI or a leaner team, we read its P&L. Here's how to lay out an ecommerce P&L in three layers, a worked example for an illustrative $10m brand, and the five-step read that shows which costs to cut, automate or keep.
On this page
An ecommerce P&L (profit and loss statement) shows where every dollar your store brings in actually goes: product costs, shipping, payment fees, ads, the team, the software and whatever is left at the end. Before we talk to any brand about AI, automation or a leaner team, we read this document first, line by line, because you can't cut, automate or reinvest a cost you can't see.
Most founders know their revenue to the dollar and their ROAS to two decimal places. Far fewer can say what they spend on software as a share of revenue, or how much of last month's revenue survived after the team was paid. That gap is where most of the lean-ecommerce opportunity sits, and it starts with a P&L laid out the right way.
Here's what an ecommerce P&L should contain, a worked example for an illustrative $10m brand, what Shopify's built-in profit reports show and miss, and the five-step read we do before anyone opens an AI tool.
What is an ecommerce P&L?
A P&L, also called an income statement or P&L report, records a business's revenue and expenses over a set period. Shopify's guide to profit and loss statements lists the standard lines: operating revenue, cost of goods sold, gross profit, operating expenses, non-operating income and expenses, taxes and net income.
An ecommerce P&L uses the same lines, but the way you group them matters more than in most businesses. Your accountant's version puts shipping, payment fees and ad spend wherever the chart of accounts says, often buried inside operating expenses. That's fine for tax, but it hides the number a DTC brand runs on, which is contribution margin: what each order leaves after every cost that moves with it.
So we read an ecommerce P&L in three layers:
- Gross profit: net sales minus the landed cost of the products sold.
- Contribution margin: gross profit minus every variable cost of getting the order to the customer and winning it in the first place, meaning payment processing, fulfilment, shipping, returns and marketing.
- Operating profit: contribution margin minus the fixed costs of running the business: team, software, agencies, rent and professional fees.
Why we start with your P&L, not with AI
AI is very good at doing a known job faster. It is not good at telling you which jobs are worth doing, and it will happily automate a process that shouldn't exist. Retailers already experimenting with it say the same thing: one executive told Modern Retail they were learning "what can be automated and what can be streamlined", and removed open roles as a result.
The P&L tells you where that work is. A brand spending 12% of revenue on its team and 2.5% on software has a different problem from one spending 25% of revenue on ads to stand still, and the AI plan for each looks completely different. Read the P&L first and you know which lines are big enough to matter, which are growing faster than revenue, and which are fixed costs dressed up as necessities.
An ecommerce P&L, line by line
The per-order costs below follow a $100 order modelled by Practical Ecommerce: $40 of product, $3 of payment processing, $5 of fulfilment, $7 of shipping, $5 of expected returns and $15 of performance ads. We've scaled that to an illustrative brand doing $10m in net sales a year and added a typical set of operating costs. Swap in your own numbers.
| Line | Annual ($) | % of net sales |
|---|---|---|
| Net sales | 10,000,000 | 100% |
| Product cost (COGS) | 4,000,000 | 40% |
| Gross profit | 6,000,000 | 60% |
| Payment processing | 300,000 | 3% |
| Fulfilment (pick and pack) | 500,000 | 5% |
| Shipping | 700,000 | 7% |
| Returns | 500,000 | 5% |
| Paid marketing | 1,500,000 | 15% |
| Contribution margin | 2,500,000 | 25% |
| Team (salaries, freelancers) | 1,200,000 | 12% |
| Agencies | 300,000 | 3% |
| Software and apps | 250,000 | 2.5% |
| Rent and office | 150,000 | 1.5% |
| Accounting, legal, insurance, other | 200,000 | 2% |
| Operating profit | 400,000 | 4% |
Four percent sounds thin, and it is, but it's normal. Shopify's net profit margin guide quotes NYU Stern data putting average net margins at 5.61% for general retail and 3.85% for apparel. The point of the table is what happens when you move the fixed lines. Operating expenses here are $2.1m, or 21% of net sales. Bring them down to 15% of revenue, about $1.5m, and operating profit goes from $400,000 to roughly $1m without selling a single extra order.
That's the core idea behind the whole Lean Ecom 101 series: the next generation of DTC brands will win as much on operating expenses as on ROAS.
What Shopify's profit reports show, and what they leave out
Shopify has more profit reporting built in than many merchants realise. The Finances summary shows gross profit as net sales minus recorded product cost, and the profit reports break gross profit down by product, by variant and by POS location, with profit margin by order and average margin by market.
Two limits matter for a P&L read:
- Profit only counts products with a cost recorded. Shopify reports profit only for products and variants that had a cost per item recorded at the time of sale, so a store with gaps in its cost data shows inflated margins without warning.
- Ad spend and payment fees aren't in the profit reports. Neither help page mentions marketing or processing costs, so Shopify's gross profit stops at the first layer of the P&L. Shipping cost only appears in the order and market margin reports.
That's why we build the contribution margin layer from Shopify orders, ad platform spend, fees and fulfilment costs joined together. The order profit calculator shows the maths for a single order, and our profitability tracking guide covers every cost line you need to capture.
How to read your ecommerce P&L in five steps
- Re-lay it out in three layers. Take last year's P&L from your accountant and regroup every line into gross profit, contribution margin and operating profit, as in the table above. Payment fees, shipping and returns move up into the variable section, wherever the accountant put them.
- Turn every line into a percentage of net sales. Dollars tell you size, percentages tell you whether a cost is growing faster than the business. Do it for two years side by side and the lines that crept up jump out.
- Put contribution margin in dollars at the centre. "We made $2.5m after every variable cost" is the number that pays for the team and the software. Our guide to contribution margin ratio versus dollars explains why the dollar figure drives better decisions than the percentage.
- Rank operating expenses by size, then by growth. In most $5m to $10m brands the top three are team, agencies and software. Those three lines are where a lean operating model makes or loses money.
- Label every large line cut, automate or keep. Cut means the cost doesn't earn its place. Automate means the work matters but a person shouldn't be doing it by hand every week. Keep means it's core and well priced. Only the automate pile is an AI question.
Once this is done, you'll usually find the opportunity isn't one big cost but four or five medium ones: an agency retainer nobody reviews, overlapping apps, a manual reporting job that eats two days a week, and a returns line nobody owns.
Where AI fits once the P&L is clear
With the automate pile in hand, AI becomes a list of specific jobs rather than a vague ambition. The manual Monday report, the spend check against target margin and the discount code review are all jobs that sit on P&L data, and they're the ones that pay back first in our 90-day AI implementation plan. For the tools that do each job, see our list of the best AI tools for ecommerce.
The order matters. Brands that start with AI end up with clever demos sitting on numbers nobody trusts. Brands that start with the P&L know which three lines they're attacking, what success looks like in dollars and who owns each one, which is exactly what any AI job needs to be worth running.
StoreHero joins Shopify, ad spend, fees, shipping and COGS into one live contribution margin view, so you can see every line of your ecommerce P&L as a dollar figure and a percentage of revenue, daily, without waiting for month-end. Book a demo and we'll walk through your own numbers.
Key takeaways
- An ecommerce P&L records revenue and every expense for a period; read it in three layers: gross profit, contribution margin and operating profit.
- Move payment fees, fulfilment, shipping, returns and ad spend into the contribution margin layer, wherever your accountant files them.
- In an illustrative $10m brand, cutting operating expenses from 21% to 15% of revenue lifts operating profit from $400,000 to about $1m.
- Shopify's profit reports only count products with a recorded cost and don't include ad spend or payment fees.
- Label every large line cut, automate or keep. Only the automate pile is an AI question.
Frequently asked questions
What is a profit and loss statement for ecommerce?
An ecommerce profit and loss statement records your store's revenue and expenses over a period, usually a month or a year. For a DTC brand it's most useful laid out in three layers: gross profit after product costs, contribution margin after shipping, fees, returns and marketing, and operating profit after team, software and other fixed costs.
What does PnL mean in business?
PnL, or P&L, stands for profit and loss. It's the statement that shows revenue, costs and the profit or loss left over for a set period. It's also called an income statement.
Is PnL your profit?
The P&L is the report, and profit is the bottom line of it. A positive P&L means revenue exceeded expenses for the period. For an ecommerce brand, look at contribution margin in dollars as well as net profit, because it shows whether each order pays for itself before fixed costs.
Does Shopify have a profit and loss report?
Shopify's Finances summary and profit reports show gross profit by product, variant, order and market, based on the cost per item you've recorded. They don't include ad spend or payment fees, so you need to add those to see contribution margin and a full P&L.




