Enter total revenue
Your gross sales for the period β before any refunds or returns. Use a monthly or quarterly figure depending on your measurement window.
Calculate ROI, net margin, and payback period on your ecommerce investment.
Updated Reviewed by Sajid HussainΒ· Editor
Results update in real time as you type β no submit needed.
Your numbers
Results
Results appear as you type
No submit button needed
Why trust this calculator
Last updated
June 9, 2026
Coverage
9 markets Β· 8 currencies
Privacy
Calculated in-browser Β· no data stored
Pricing
Free forever Β· no sign-up
Return on Investment (ROI) is the single number that answers "was this worth it?" For an ecommerce business, it measures the net profit generated as a percentage of the capital deployed β inventory, setup, initial ad budget. A 50% ROI means every unit of capital invested returned 1.50 units. A negative ROI means capital was destroyed.
The distinction between ROI, gross margin, and net margin trips up many ecommerce operators. Gross margin measures what remains after product costs. Net margin measures what remains after all costs β ads, fees, fulfilment, overheads. ROI measures profit relative to the capital invested, not relative to revenue. A business with a modest 15% net margin on 200k revenue but only 30k invested is actually generating a 100% annual ROI.
This calculator breaks profitability into its layers: gross margin (how efficiently you source), net margin (how efficiently you operate), ROI (how efficiently you deploy capital), and payback period (when you recover the investment). Understanding all four gives you a complete picture of whether your ecommerce operation is actually creating value.
Enter your revenue and costs for a period. Add your investment to unlock ROI and payback period.
Your gross sales for the period β before any refunds or returns. Use a monthly or quarterly figure depending on your measurement window.
Cost of goods sold: product cost, inbound freight, packaging. The direct cost of producing or buying the units you sold in this period.
All costs that are not COGS: advertising, platform fees, fulfilment, software, salaries. The calculator derives gross margin (before opex) and net margin (after opex) separately.
The capital you deployed at the start β inventory purchase, setup costs, first ad budget. Enter the number of months your revenue/cost figures cover.
ROI, annualised ROI, net margin, gross margin, and payback period all display together β a complete profitability snapshot for this investment.
Steps to use the Ecommerce ROI Calculator: Enter total revenue, Enter COGS, Enter operating expenses, Enter initial investment and period, Read ROI, margin, and payback.
Standard financial formulas, applied to ecommerce.
15,000 revenue β 8,000 COGS = 7,000 gross profit.
7,000 gross profit β 3,000 opex = 4,000 net profit.
4,000 net profit Γ· 10,000 investment Γ 100 = 40% ROI.
40% ROI over 3 months = (40 Γ· 3) Γ 12 = 160% annualised.
10,000 Γ· (4,000 Γ· 3) = 10,000 Γ· 1,333 = 7.5 months.
Default inputs: 15,000 revenue, 8,000 COGS, 3,000 opex, 10,000 investment, 3 months.
Scenario
You invest $10,000.00 to launch an ecommerce product. Over 3 months you generate $15,000.00 revenue with $8,000.00 COGS and $3,000.00 in operating costs.
Gross profit = $15,000.00 β $8,000.00 = $7,000.00. Gross margin = 46.7%. This is the margin before ads, platform fees, and overhead.
$7,000.00 gross profit (46.7% margin)
Net profit = $7,000.00 β $3,000.00 = $4,000.00. Net margin = 26.7%.
$4,000.00 net profit (26.7% margin)
ROI = $4,000.00 Γ· $10,000.00 Γ 100 = 40% over 3 months.
40% ROI
Annualised = (40% Γ· 3) Γ 12 = 160%. Payback = $10,000.00 Γ· ($4,000.00 Γ· 3) = 7.5 months.
160% annualised Β· 7.5 months payback
The takeaway
A 40% ROI over 3 months (160% annualised) with a 7.5 months payback period β a strong result driven by a 46.7% gross margin and efficient operating costs.
Reference ranges by business model and category. Net margins vary widely by channel β DTC typically achieves higher margins than marketplace-only sellers.
| Metric | Poor | Average | Good | Excellent |
|---|---|---|---|---|
Annual ROI β inventory investment Jungle Scout State of the Amazon Seller 2025 | < 20% | 20β50% | 50β100% | 100%+ |
Net margin β Amazon FBA seller Jungle Scout State of the Amazon Seller 2025 | < 5% | 5β15% | 15β25% | 25%+ |
Net margin β Shopify DTC brand Shopify Plus Benchmark Report 2024 | < 5% | 5β15% | 15β25% | 25%+ |
Gross margin β ecommerce (general) NYU Stern Sector Margins 2025 | < 20% | 20β35% | 35β55% | 55%+ |
Payback period β inventory investment Jungle Scout State of the Amazon Seller 2025 | > 18 mo | 12β18 mo | 6β12 mo | < 6 mo |
Generic ROI calculators output one number. Calcrux separates gross margin, net margin, ROI, and payback so you can diagnose where value is created or destroyed.
| Feature | Calcrux | Shopify ROI Calculator | Generic online ROI |
|---|---|---|---|
| Gross margin (revenue β COGS) | |||
| Net margin (after all operating costs) | |||
| ROI on initial investment | |||
| Annualised ROI | |||
| Payback period in months | |||
| SmartInsights with recovery actions | |||
| Works in any currency | USD only | Varies | |
| Free, no signup |
Why it matters
You lose visibility into whether your problem is sourcing (gross margin) or operations (net margin). A 30% gross margin product with 35% opex is a fundamentally different problem than a 10% gross margin product with 5% opex.
Fix
Always separate COGS from operating expenses so you can see both gross and net margin independently.
Why it matters
ROI = net profit / investment. Using revenue inflates ROI dramatically β a 100k revenue business with 95k in costs and 10k invested has a 50% ROI, not a 1000% ROI.
Fix
Always divide net profit (after all costs) by investment to get a meaningful ROI figure.
Why it matters
A 30% ROI over 6 months sounds worse than a 50% ROI over 12 months β but it is actually better (60% annualised vs 50%). Without annualising, short-period measurements are misleading.
Fix
Always annualise ROI: (ROI Γ· Months) Γ 12. Compare on a per-year basis.
Why it matters
A 200% annualised ROI with a 9-month payback period means capital is tied up for 9 months. If you need to reorder before recovering the investment, you need bridging capital.
Fix
Plan reorder timing around the payback period so you are not capital-constrained when the next purchase order is due.
Why it matters
Omitting the owner's time overstates ROI significantly. A business generating 5,000/month net profit but requiring 60 hours/week of owner work is not a 200% ROI investment β it is a low-paying job.
Fix
Include a market-rate salary for your time in operating expenses to get an honest ROI figure.
Overall store ROI can hide loss-making products subsidised by winners. Calculate ROI separately for each top SKU to find which products to scale and which to discontinue.
Amazon and DTC ROI are different because fees, ad costs, and conversion rates differ. A product with 80% ROI on Amazon may have 200% ROI sold DTC β or vice versa.
Model your target ROI before placing a purchase order. If your expected selling price, COGS, and operating costs do not produce at least 50% annual ROI, the product economics may not justify the capital risk.
Q4 ecommerce revenue can be 3β5x off-peak. Annualising a Q4 ROI significantly overstates full-year performance. Annualise from a representative period or blend multiple quarters.
Increasing margin from 20% to 25% is a 25% relative improvement. But doubling inventory turnover velocity doubles ROI on the same margin β velocity is often the higher-leverage ROI lever than margin alone.
The Ecommerce ROI Calculator works across every stage of the workflow.
Models expected revenue, COGS, and FBA fees against the inventory investment to check whether the product meets the 50%+ annual ROI threshold before ordering.
Separates gross margin (sourcing efficiency) from net margin (operational efficiency) to identify whether to renegotiate COGS or cut operating expenses first.
Calculates annualised ROI on the asking price using the business's trailing 12-month net profit to compare against alternative investments.
Runs the payback period calculation to confirm the cash will be recovered before the next purchase order is needed, avoiding a capital shortfall.
Calculates net profit separately for Google Ads and Meta Ads revenue to see which channel generates higher ROI per advertising dollar spent.
Every important term you'll encounter in this calculator and the broader topic.
Everything you need to know about how the Ecommerce ROI Calculator works.
ROI (Return on Investment) = (Net Profit Γ· Initial Investment) Γ 100. It measures the return you earned on the capital you deployed β inventory, ads, setup. A 50% ROI means every 100 units of capital invested returns 150 units.
ROI % = (Net Profit Γ· Investment) Γ 100. Net Profit = Revenue β COGS β Operating Expenses. For example: 4,000 net profit on a 10,000 investment = 40% ROI.
A 25β50%+ annual ROI is considered healthy for ecommerce inventory investment. ROI below 20% annually may not justify the risk compared to alternative investments. Some categories like print-on-demand can achieve 100%+ annual ROI.
Net margin is profit as a % of revenue. ROI is profit as a % of the capital invested. A business with a 15% net margin and 50k invested turning 200k revenue has a 60% ROI β very different numbers measuring different things.
Annualised ROI scales your measured ROI to a 12-month period. If you earned 30% ROI over 3 months, your annualised ROI is 120% β useful for comparing to benchmarks quoted annually.
Payback period = Initial Investment Γ· Monthly Net Profit. It shows how many months until you recover your investment. Most ecommerce businesses target a 6β12 month payback on inventory investment.
Increase AOV, reduce COGS through supplier negotiation, cut low-performing ad spend, improve conversion rate, and reduce returns. Each 1% reduction in COGS or 1% improvement in conversion rate can meaningfully improve ROI.
Ad spend is an operating expense, not COGS. COGS = product cost + inbound freight + packaging. Operating expenses = ads, platform fees, fulfilment, software, salaries. Keeping these separate gives you gross margin (pre-ads) and net margin (post-ads).
Typical ecommerce gross margins: fashion 40β60%, electronics 15β30%, beauty 50β70%, home goods 30β50%. Net margins after all operating costs are typically 5β20% for sustainable ecommerce businesses.
COGS directly reduces gross profit. A 10% reduction in COGS on 100k annual COGS adds 10k to gross profit, which flows fully into net profit and ROI. Supplier negotiation is often the highest-leverage ROI improvement for product businesses.
Yes β a negative ROI means you lost money on the investment. Common causes: insufficient revenue to cover COGS + opex, high return rates, overspending on ads, or underestimating fulfilment costs.
Yes β fully global. Enter any currency and all results display in the same currency. Switch region via the globe icon to change the currency symbol.
Keep exploring
All three P&L margins stacked in one view, with markup conversion β any currency.
Find exactly how many units you need to sell before every extra sale is profit.
Find your selling price, markup %, or margin from any two inputs β any currency.
Know what a customer is really worth β margin CLV, DCF CLV, and max CAC.
Project 3β24 months of revenue from run rate, growth rate, and seasonality.
Category
Ecommerce Seller Operations
Subcategory
financial profitability
Availability
Global Β· 9 markets
Price
Free forever
Topics
Calculators, simulators, and decision tools for every stage of business operations.
Your honest feedback shapes what we build next. Takes 30 seconds, fully anonymous β we don't ask for your name or email.