If you run a Shopify store, revenue is only the starting point.
A store can generate $100,000 in sales and still make very little money after product costs, advertising, shipping, payment fees, refunds, software, payroll, and other operating expenses.
So, how do you actually calculate profit?
The simplest answer is:
Profit = Revenue − Total Costs
But for ecommerce, that formula needs to be broken into several layers. Looking at gross profit, contribution profit, and net profit separately gives you a much clearer picture of where your money is going.
For Shopify merchants, this is especially important because Shopify’s built-in profit reporting primarily calculates gross profit from net sales minus recorded product costs (COGS). It does not, by itself, represent the complete net profit of your business after every operating expense.
For a complete business-level calculation:
Net Profit = Net Sales − COGS − Variable Costs − Operating Expenses − Other Expenses
Where:
A useful way to visualize the calculation is:
Sales → Net Sales → Gross Profit → Contribution Profit → Operating Profit → Net Profit
Each layer answers a different question.
The first number most Shopify merchants look at is sales revenue.
Suppose your store generates:
$100,000 in gross sales
That sounds impressive.
But imagine you also gave customers:
Your actual net sales are closer to:
$100,000 − $5,000 − $3,000 = $92,000
This distinction matters because profitability should be calculated using the revenue that actually remains after relevant sales adjustments.
Shopify’s reporting separates gross sales, discounts, returns, and sales reversals rather than treating all sales activity as the same number.
Gross Sales
↓
− Discounts
↓
− Returns / Sales Reversals
↓
Net Sales
So the first mistake to avoid is:
Revenue ≠ Profit
And, depending on the definition being used:
Gross Sales ≠ Net Sales
Once you know your net sales, the next major cost is Cost of Goods Sold (COGS).
COGS represents the direct costs associated with the products you sold.
For an ecommerce store, this can include things such as:
The exact accounting treatment depends on your business and accounting method, but the key idea is simple:
COGS is the direct cost of producing or acquiring the products that generated your sales.
Shopify’s gross profit calculation is based on net sales minus cost of goods sold.
Read more: Shopify – Profit Reports
3. Calculate Gross Profit
Now we can calculate the first meaningful level of profit.
Formula
Gross Profit = Net Sales − COGS
Imagine:
Net Sales = $92,000
COGS = $36,800
Then:
$92,000 − $36,800 = $55,200
Your store generated:
$55,200 Gross Profit
Your gross margin is:
$55,200 ÷ $92,000 × 100 = 60%
So:
Gross Margin = 60%
This means that for every $1 of net sales, the store retains about $0.60 after direct product costs, before other expenses.
Shopify defines gross margin as gross profit divided by net sales.
These two metrics are closely related but answer different questions.
| Metric | What it tells you |
|---|---|
| Gross Profit | How many dollars remain after COGS |
| Gross Margin | What percentage of net sales remains after COGS |
For example:
$100,000 Net Sales
$40,000 COGS
$60,000 Gross Profit
60% Gross Margin
Gross profit is particularly useful when determining whether your store generates enough dollars to cover the rest of the business’s expenses.
Gross margin is useful when comparing products, periods, pricing strategies, or changes in COGS.
This is one of the biggest mistakes Shopify merchants make when analyzing profitability.
Suppose your store has:
$100,000 Net Sales
and:
$40,000 COGS
You have:
$60,000 Gross Profit
It would be incorrect to say:
“My store made $60,000 in profit.”
That’s gross profit, not necessarily the money your business actually kept.
You still need to account for the costs of running the store.
For example:
| Cost | Amount |
|---|---|
| Net Sales | $100,000 |
| COGS | −$40,000 |
| Gross Profit | $60,000 |
| Advertising | −$20,000 |
| Shipping/Fulfillment | −$8,000 |
| Payment Fees | −$3,000 |
| Software | −$2,000 |
| Payroll | −$10,000 |
| Other Operating Expenses | −$5,000 |
| Net Profit | $12,000 |
The store generated $100,000 in sales, but only $12,000 in net profit.
That’s a 12% net profit margin.
This is why revenue alone can give you a very misleading picture of business performance.
For many ecommerce businesses, marketing is one of the largest costs outside COGS.
Imagine two Shopify stores.
Store A
Store B
Both stores generated exactly:
$100,000 in revenue
But Store A made 3× as much profit.
This is why metrics such as ROAS and MER should not be confused with profitability.
A campaign can generate strong attributed revenue while still producing weak or negative business-level profit.
Suppose you spend:
$10,000 on advertising
and generate:
$50,000 in attributed revenue
Your ROAS is:
$50,000 ÷ $10,000 = 5×
That sounds excellent.
But what if:
The economics become very different.
The important question isn’t just:
“How much revenue did my ads generate?”
It’s:
“How much profit remained after the costs required to generate and fulfill those sales?”
That’s the fundamental difference between revenue efficiency and profitability.
This is where Marketing Efficiency Ratio (MER) becomes useful.
Formula
MER = Total Revenue ÷ Total Marketing Spend
For example:
MER = 5×
That means the business generated $5 in revenue for every $1 spent on marketing.
But again:
MER is not profit.
A 5× MER can still be unprofitable if the store has low product margins or high operating costs.
This is why MER belongs in the profitability analysis rather than replacing it.
A useful hierarchy is:
CPM
↓
CTR / CPC
↓
CPA / CAC
↓
ROAS
↓
MER
↓
Contribution Profit
↓
Net Profit
Each step gives you a wider view of the business.
For ecommerce businesses, there is another useful layer between gross profit and net profit:
Contribution Profit
Contribution profit looks at the money remaining after costs that are directly associated with generating and fulfilling sales.
Depending on your accounting setup, this may include:
The exact definition should be consistent with your business model.
For example:
$100 Sale
− $40 COGS
− $5 Payment + fulfillment costs
− $20 Marketing
= $35 Contribution Profit
That $35 is much more informative for certain decisions than looking at the $100 revenue alone.
It helps answer:
“After the costs required to make and fulfill this sale, how much money is this order actually contributing to the business?”
This is particularly useful when evaluating:
Shopify already provides profit reporting, but understanding what those reports include is important.
Shopify’s profit reports can show:
However, Shopify’s profit reporting depends on having cost per item recorded for products or variants. If product costs aren’t recorded, Shopify may not include those sales in its gross-profit calculation.
This creates an important distinction:
Shopify’s gross profit view
Net Sales − Recorded Product Costs
vs.
Full business profitability
Net Sales − COGS − Marketing − Fulfillment − Fees − Operating Expenses − Other Costs
The second calculation is what you need to understand true business profitability.
Shopify tells you a lot about sales and product-level gross profit. But merchants often need to connect that information with the costs that happen after the sale.
GoProfit brings these numbers together so you can move from:
Sales → Gross Profit → Expenses → Net Profit
Instead of looking at advertising in one place, product costs somewhere else, and operating expenses separately, you can evaluate how these costs affect the final profit your store actually keeps.
For example, a merchant might see:
$150K in sales → $81K gross profit → $20K net profit
That immediately changes the question from:
“How can I increase sales?”
to:
“What is taking $61K away from my gross profit, and where can I improve?”
That is the real value of profit reporting.
A profit report becomes much more useful when it helps you identify what to do next.
For example:
So the goal isn’t simply to produce another report.
The goal is to understand where your money is going — and which numbers are actually driving your profit.
Shopify + GoProfit: different layers of the same picture
Think of it this way:
Shopify
→ What did I sell?
→ What did those products cost?
→ What is my gross profit?
GoProfit
→ What did I actually keep after the costs of running and marketing the business?
→ Which costs are reducing my profit?
→ Where are my biggest profit opportunities?
For Shopify merchants, these aren’t competing questions. They are different layers of the same profitability picture.
And that distinction matters because $150,000 in sales sounds impressive — but $20,000 in net profit tells you much more about the actual financial outcome.