The gross profit formula
Gross profit is the simplest profit metric in ecommerce, and every calculator uses the same formula:
Gross profit = Revenue − Cost of goods sold (COGS)
Revenue is your selling price. COGS is the direct cost of the thing you sold—for a print-on-demand store, that is the blank garment plus the print charge plus any base fulfillment fee baked into the item.
To turn that dollar figure into a percentage, divide by revenue:
Gross margin % = (Revenue − COGS) ÷ Revenue × 100
That is the whole engine behind a gross profit calculator. You supply two of the values and it solves for the rest.
A worked example
Say you sell a T-shirt for $40. Your Printify or Printful cost—blank plus print plus their fulfillment charge—comes to $16.
- Gross profit = $40 − $16 = $24 per order
- Gross margin = $24 ÷ $40 × 100 = 60%
So on paper, you keep sixty cents of every revenue dollar. That is the number the top-ranking calculators hand you, and it is where most of them stop.
Gross profit vs. gross margin vs. markup
These three trip people up constantly, so pin them down before you price anything.
Gross profit is a dollar amount ($24 in the example above). Gross margin is that same gap as a share of the price (60%). Markup is the same gap as a share of the cost.
Using the T-shirt numbers:
- Margin = (Price − Cost) ÷ Price = ($40 − $16) ÷ $40 = 60%
- Markup = (Price − Cost) ÷ Cost = ($40 − $16) ÷ $16 = 150%
Same $24 gap, two very different percentages. A 150% markup is a 60% margin. Confusing the two is a classic pricing error—if a supplier quotes "150% markup" and you plug it in where your P&L expects margin, your prices come out badly wrong. If you want a fuller tour of how these ratios connect across a store, the ecommerce metrics guide lays out the whole family in one place.
To convert between them: Margin = Markup ÷ (1 + Markup) and Markup = Margin ÷ (1 − Margin). Check: 1.5 ÷ 2.5 = 0.60, and 0.60 ÷ 0.40 = 1.5. Both describe the same $16-cost, $40-price shirt.
Why gross profit isn't the profit you keep
Here is the gap every basic gross profit calculator leaves you standing in front of. Gross profit subtracts only COGS. It ignores every other variable cost that fires on the exact same order:
- Shipping you eat instead of the customer
- Payment processing fees on the transaction
- Pick and pack labor
- Ad spend allocated to winning that order
A 60% gross margin can quietly become a 15% margin by the time those clear. So let's walk the same T-shirt order all the way down.
Building the true per-order number
Start from the $24 gross profit and keep subtracting the real variable costs.
Payment processing is a real, quotable cost: Stripe's standard rate for online card payments in the US is 2.9% plus 30¢ per transaction. On a $40 order that is (0.029 × $40) + $0.30 = $1.16 + $0.30 = $1.46.
Now the full stack, say your carrier shipping runs $5 and pick/pack labor runs about $1.40 per order:
| Line | Amount |
|---|---|
| Revenue | $40.00 |
| − COGS | −$16.00 |
| = Gross profit | $24.00 |
| − Shipping | −$5.00 |
| − Payment processing (per Stripe's published rate) | −$1.46 |
| − Pick/pack labor | −$1.40 |
| = Contribution margin before ads | $16.14 |
That $16.14 is your contribution margin—what the order contributes before you spend a cent acquiring the customer. Notice it is already down from $24 to about $16, roughly a 40% margin instead of 60%, and you have not touched advertising yet.
The ad-spend line that decides everything
Say you run Meta and Google at a 4.0 return on ad spend (ROAS)—every $1 of ads brings back $4 of revenue. On a $40 order, that is $10 of allocated ad spend.
- $16.14 contribution − $10.00 ads = $6.14 net per order
So the order that looked like a $24 winner in the gross profit calculator actually keeps you about $6.14. That is roughly a 15% margin, and it is the number that pays your rent. To sanity-check whether that ROAS is even survivable, there is a clean identity: your break-even ROAS equals 1 ÷ your contribution-margin ratio. On a 40% contribution margin, 1 ÷ 0.40 = 2.5—below that, each ad-driven sale loses money no matter how healthy the gross margin looked.
How to use a gross profit calculator well
A gross profit calculator is a fast first filter, not a final answer. Use it in three ways.
First, price new products. Enter a target margin and the tool tells you the price you need. If your POD cost is $16 and you want a 60% margin, price = cost ÷ (1 − margin) = $16 ÷ 0.40 = $40.
Second, screen SKUs. Any product whose gross margin is already thin will almost certainly be a loser after fees and ads. Kill those before you spend on them.
Third, set your ad ceiling. Once you know contribution margin per order, you know the most you can pay to acquire a customer and stay above water. That is the bridge from gross profit to the metrics that actually govern spend—your conversion rate and your ad frequency, both of which move your cost per order up or down.
The one thing a calculator cannot do is watch these numbers change order by order as your product costs, shipping, fees, and ad allocation all drift. That is where a spreadsheet gross profit calculator quietly goes stale.
From gross profit to true per-order profit, automatically
This is the gap PodVector fills. PodVector connects Shopify, Meta Ads, Google Ads, Printify, and Printful, and computes your true per-order profit—revenue minus COGS, shipping, the real payment-processing fee, fulfillment, and the ad spend attributed to that order—instead of leaving you to rebuild the stack by hand.
PodVector is not a dashboard you have to go read. Victor is an AI operator that analyzes your live data and acts on it: he reads your ad performance and proposes moves, and the changes he executes are on the Shopify side, with your approval. Victor does not touch your ad account. He shows you which orders and products actually make money after everything clears, and where a healthy-looking gross margin is hiding a loss.
See your true per-order profit with PodVector
Keeping the profit once you've found it
Finding the $6.14 is half the job; protecting it is the other half. Two levers move it most.
Margin structure is one—the operating margin calculator walks the layer below contribution margin, where fixed costs decide whether the whole store nets a profit. Retention is the other: acquiring a customer costs you that full ad line every time, so a repeat buyer whose second order skips the acquisition cost is dramatically more profitable. If your repeat rate is soft, the guide on how to improve churn rate is the natural next read.
FAQs
What is the difference between gross profit and net profit?
Gross profit subtracts only COGS from revenue. Net profit subtracts everything—COGS plus all variable costs (shipping, fees, fulfillment, ads) plus fixed costs like rent, salaries, and software. In the T-shirt example, gross profit is $24, contribution margin before ads is about $16, and net profit per order lands near $6 before fixed costs are even split in. Gross profit tells you if a product is worth making; net profit tells you if the business made money.
How do I calculate gross profit margin from gross profit?
Divide gross profit by revenue and multiply by 100. If gross profit is $24 on a $40 order, margin = $24 ÷ $40 × 100 = 60%. The percentage lets you compare products at different price points on an even footing.
Is a 60% gross margin good for a print-on-demand store?
A 60% gross margin is common for POD apparel, but "good" depends on what happens after it. Because shipping, payment fees, and ad spend all come out of that 60%, the honest test is your contribution margin and net margin, not gross margin alone. A 60% gross margin that ends at a 3% net margin is thinner than it looks.
What costs should I include in COGS for a gross profit calculator?
Include the direct cost of the product sold: for POD, the blank item, the print charge, and the supplier's base fulfillment fee baked into the item. Pick one place for that flat print fee—COGS or fulfillment—and hold it, so you don't double-count or omit it. Keep shipping, payment fees, and ad spend out of COGS; those belong in the contribution-margin step below gross profit.
Why does my gross profit calculator say I'm profitable when my bank account disagrees?
Because the calculator only subtracts COGS. Every order also carries shipping, payment processing (for example, Stripe's 2.9% plus 30¢), fulfillment labor, and a share of ad spend. Add those and the "profit" the tool showed can shrink by two-thirds or vanish. Your bank account is measuring true per-order profit; the basic calculator is only measuring gross profit.
How do I turn gross profit into a target price?
Rearrange the formula: price = cost ÷ (1 − target margin). For a $16 product cost and a 60% target margin, price = $16 ÷ 0.40 = $40. Then pressure-test that price against your real contribution margin and break-even ROAS before you commit ad budget to it.