Profitability · Free calculator for online stores
Profit Margin Calculator for Online Stores
A profit margin calculator prefilled with an example for online stores. With the example inputs, gross margin is 55% and net margin is 20%. Change any field to use your own numbers.
Example inputs, not data. The example is one illustrative month: $20,000 of sales, $9,000 of product and shipping costs, and $7,000 of other costs. Not a typical e-commerce figure.
Your result
- Gross profit
- $11,000.00
- Net margin
- 20%
- Net profit
- $4,000.00
- Markup on cost
- 122.22%
- Price needed for 55% gross margin
- $20,000.00
Estimate for information only, not financial, tax or legal advice.
Keep these numbers: the Pricing & Profit Margin Workbook uses the same formulas in Excel or Google Sheets. $5, or $2 with code LAUNCH100 for the first 100 uses. Get the spreadsheet (opens in a new tab)
What the example shows
With the example inputs, gross margin is 55% and net margin is 20%. The table keeps the other example inputs fixed and changes one, so you can see which lever matters most.
| Target gross margin | Revenue needed | Equivalent markup on cost |
|---|---|---|
| 30% | $12,857.14 | 42.86% |
| 40% | $15,000.00 | 66.67% |
| 50% | $18,000.00 | 100% |
| 60% | $22,500.00 | 150% |
| 70% | $30,000.00 | 233.33% |
| 80% | $45,000.00 | 400% |
Usually cost of goods sold (direct costs)
- Product purchase or manufacturing cost
- Inbound freight and import duties per unit
- Outbound shipping and packaging you pay
- Payment processing fees per order
Usually operating expenses
- Store platform plan and apps
- Advertising and marketing
- Warehouse or storage, software and wages
- Returns handling, if not tracked per order
A note for online stores
Ad spend can swing an online store’s net margin more than any other line. Look at gross margin first to see if the product can carry its marketing, then net margin for the month as a whole.
How the calculation works
Gross margin % = (Revenue − COGS) ÷ Revenue × 100Net margin % = (Revenue − COGS − Opex) ÷ Revenue × 100Markup % = (Revenue − COGS) ÷ COGS × 100Price for target margin = COGS ÷ (1 − Target margin)
For information only, not financial, legal or tax advice. Results are estimates based on the numbers you enter. Last reviewed .
Frequently asked questions
Is advertising cost of goods sold?
Usually not; it is an operating expense. If you want profit per order after ads, the dropshipping profit calculator models ad cost per order directly.
How do returns affect margin?
Refunds reduce revenue and returned items may not be resellable. Use revenue after refunds and include the cost of items you could not resell.
Are the example numbers averages for online stores?
No. They are illustrative inputs chosen to show how the calculation works, not averages, benchmarks or market figures for online stores. Replace every field with your own numbers.