Calcrux
Ecommerce Seller OperationsFree Β· No sign-upReal-time

Ecommerce ROI Calculator

Calculate ROI, net margin, and payback period on your ecommerce investment.

Updated Reviewed by Sajid HussainΒ· Editor

ShareLinkedIn

Try it with your numbers

Results update in real time as you type β€” no submit needed.

Your numbers

Revenue

Total sales generated in the measurement period.

Total sales revenue for the period you are measuring.

Costs

Direct product costs and all operating expenses.

Product cost, inbound freight, packaging β€” the direct cost of goods sold.
All other costs: ads, platform fees, software, fulfilment, salaries. Excludes COGS.

Investment & Period

Capital deployed and the timeframe you are measuring.

Capital invested: inventory purchase, setup costs, first ad budget. Used to calculate ROI and payback period.
The number of months covered by the revenue and cost figures above. Used to annualise ROI.

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

Ecommerce profitability

Ecommerce ROI: how to calculate it, what is good, and the metrics that actually matter

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.

How it works

Revenue, costs, investment β€” full profitability picture

Enter your revenue and costs for a period. Add your investment to unlock ROI and payback period.

01

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.

02

Enter COGS

Cost of goods sold: product cost, inbound freight, packaging. The direct cost of producing or buying the units you sold in this period.

03

Enter operating expenses

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.

04

Enter initial investment and period

The capital you deployed at the start β€” inventory purchase, setup costs, first ad budget. Enter the number of months your revenue/cost figures cover.

05

Read ROI, margin, and payback

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.

Formula

Every ROI formula used in this calculator

Standard financial formulas, applied to ecommerce.

01

Gross profit

Gross Profit = Revenue βˆ’ COGS

15,000 revenue βˆ’ 8,000 COGS = 7,000 gross profit.

02

Net profit

Net Profit = Gross Profit βˆ’ Operating Expenses

7,000 gross profit βˆ’ 3,000 opex = 4,000 net profit.

03

ROI

ROI % = (Net Profit Γ· Initial Investment) Γ— 100

4,000 net profit Γ· 10,000 investment Γ— 100 = 40% ROI.

04

Annualised ROI

Annualised ROI = (ROI Γ· Months) Γ— 12

40% ROI over 3 months = (40 Γ· 3) Γ— 12 = 160% annualised.

05

Payback period

Payback (months) = Investment Γ· (Net Profit Γ· Months)

10,000 Γ· (4,000 Γ· 3) = 10,000 Γ· 1,333 = 7.5 months.

Worked example

A 3-month ecommerce investment: what 40% ROI looks like in practice

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.

1

Step 1 Β· Gross profit

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)

2

Step 2 Β· Net profit

Net profit = $7,000.00 βˆ’ $3,000.00 = $4,000.00. Net margin = 26.7%.

$4,000.00 net profit (26.7% margin)

3

Step 3 Β· ROI

ROI = $4,000.00 Γ· $10,000.00 Γ— 100 = 40% over 3 months.

40% ROI

4

Step 4 Β· Annualised ROI and payback

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.

Benchmarks

Ecommerce ROI and profitability benchmarks

Reference ranges by business model and category. Net margins vary widely by channel β€” DTC typically achieves higher margins than marketplace-only sellers.

MetricPoorAverageGoodExcellent

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 mo12–18 mo6–12 mo< 6 mo
Why this calculator

Calcrux vs other ROI calculators

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.

FeatureCalcruxShopify ROI CalculatorGeneric 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 currencyUSD onlyVaries
Free, no signup
Common mistakes

5 common ecommerce ROI mistakes

Mixing COGS and operating expenses into one "total costs" figure

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.

Using revenue instead of net profit to calculate ROI

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.

Not annualising ROI when comparing investment options

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.

Ignoring the payback period when planning cash flow

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.

Excluding seller salary or owner time from operating expenses

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.

Tips

Ecommerce ROI β€” 5 power tips

Track ROI per SKU

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.

Separate ROI by channel

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.

Target ROI before purchasing inventory

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.

Account for Q4 when annualising

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.

Compound ROI via velocity

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.

Use cases

Who uses an ecommerce ROI calculator

The Ecommerce ROI Calculator works across every stage of the workflow.

Amazon FBA Seller / Private Label Researcher

Models expected revenue, COGS, and FBA fees against the inventory investment to check whether the product meets the 50%+ annual ROI threshold before ordering.

DTC Brand Founder / Finance Lead

Separates gross margin (sourcing efficiency) from net margin (operational efficiency) to identify whether to renegotiate COGS or cut operating expenses first.

Ecommerce Investor / Business Acquisition Analyst

Calculates annualised ROI on the asking price using the business's trailing 12-month net profit to compare against alternative investments.

Operations Manager / Inventory Planner

Runs the payback period calculation to confirm the cash will be recovered before the next purchase order is needed, avoiding a capital shortfall.

Shopify Store Owner / Paid Media Buyer

Calculates net profit separately for Google Ads and Meta Ads revenue to see which channel generates higher ROI per advertising dollar spent.

Glossary

ROI and margin β€” key terms

Every important term you'll encounter in this calculator and the broader topic.

Return on Investment (ROI)
Net Profit Γ· Initial Investment Γ— 100. Measures how much profit was generated per unit of capital deployed, expressed as a percentage.
Gross margin
(Revenue βˆ’ COGS) Γ· Revenue Γ— 100. What remains after product costs, before any operating expenses. Measures sourcing and manufacturing efficiency.
Net margin
Net Profit Γ· Revenue Γ— 100. What remains after all costs β€” COGS and operating expenses. The actual take-home rate per unit of revenue.
Payback period
Initial Investment Γ· Monthly Net Profit. How many months until you recover the capital invested. A shorter payback period means faster reinvestment capacity.
Operating expenses (Opex)
All costs that are not COGS: advertising, platform fees, fulfilment services, software subscriptions, salaries. Subtracted from gross profit to get net profit.
COGS (Cost of Goods Sold)
The direct cost of goods sold: product purchase cost, inbound freight, packaging. Subtracted from revenue to get gross profit.
Help & answers

Frequently asked questions

Everything you need to know about how the Ecommerce ROI Calculator works.

01What is ROI in ecommerce?

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.

02How do you calculate ecommerce ROI?

ROI % = (Net Profit Γ· Investment) Γ— 100. Net Profit = Revenue βˆ’ COGS βˆ’ Operating Expenses. For example: 4,000 net profit on a 10,000 investment = 40% ROI.

03What is a good ROI for ecommerce?

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.

04What is the difference between ROI and net margin?

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.

05What is annualised ROI?

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.

06What is a payback period?

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.

07How do I improve ecommerce ROI?

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.

08Should I include ad spend in COGS or operating expenses?

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).

09What is a good gross margin for ecommerce?

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.

10How does COGS affect ROI?

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.

11Can ROI be negative?

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.

12Does this ROI calculator work in any currency?

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.

Category

Ecommerce Seller Operations

Subcategory

financial profitability

Availability

Global Β· 9 markets

Price

Free forever

Topics

ecommerce roi calculatorreturn on investment ecommerceecommerce profitability calculatoronline store roiecommerce net profit calculatorinventory roi calculatorecommerce investment returnroi formula ecommercepayback period calculatornet margin calculatorgross profit marginecommerce business roi

Explore 500+ more tools

Calculators, simulators, and decision tools for every stage of business operations.