ROI Calculator
Return on investment, yearly return, and payback for your store
Enter what you put in and what you got back to see your ROI, and add the time to see the yearly return. Running a store? Check the real ROI of an ad campaign, or how fast an app, redesign or speed fix pays for itself. Free, no signup.
ROI
50.0%
Gain of 500.00 on 1,000.00.
Net gain
500.00
Amount returned minus amount invested.
Works in any currency. Nothing you enter is saved; the numbers are added to the page address so you can share or bookmark them.
Add the ROI Calculator to your site.
Free for blogs, newsletters, client sites and courses. Paste the code into an HTML or custom code block. Please keep the credit line under the tool.
<iframe id="am-roi-calculator" src="https://www.ahmadmujtaba.com/tools/roi-calculator?embed=1" title="ROI Calculator" width="100%" height="950" style="border:0;max-width:100%;" loading="lazy"></iframe>
<p style="font-size:13px;margin:6px 0 0;">Free <a href="https://www.ahmadmujtaba.com/tools/roi-calculator">ROI Calculator</a> by <a href="https://www.ahmadmujtaba.com/">Ahmad Mujtaba</a></p>
<script>addEventListener("message",function(e){if(e.origin==="https://www.ahmadmujtaba.com"&&e.data&&e.data.amEmbed==="roi-calculator"){var f=document.getElementById("am-roi-calculator");if(f)f.style.height=e.data.height+"px";}});</script>The script line resizes the frame to fit the tool. If your site strips scripts, the tool still works at the fixed height and scrolls inside the frame.
How to calculate ROI.
ROI (return on investment) is the gain divided by the cost. Subtract the amount invested from the amount returned, divide by the amount invested and multiply by 100. Investing 1,000 and getting 1,500 back is a 500 gain, and 500 ÷ 1,000 = 50% ROI.
ROI doesn't account for time. 50% in one year is far better than 50% over five. Annualized ROI fixes that by finding the yearly rate that grows the investment to its final value: 1,000 growing to 1,500 over three years is about 14.5% a year, not 16.7%, because each year's growth builds on the last.
For ads, ROI and ROAS are different numbers. ROAS divides sales by ad spend. ROI counts only the profit on those sales, after product, shipping and payment costs. A campaign with a 2x ROAS at a 40% margin loses money: 1,000 of ads brings 2,000 of sales, which is only 800 of profit.
The same rule applies to store projects. A new app, a theme redesign or a speed fix earns its cost back through extra profit, not extra sales. Use the project mode with your own margin to see how many months it takes to pay for itself before you commit.
Common questions.
What is the formula for ROI?
ROI = (amount returned − amount invested) ÷ amount invested × 100. If you invest 2,000 and get 2,600 back, the ROI is 600 ÷ 2,000 × 100 = 30%.
What is annualized ROI?
It's the average yearly return that grows an investment to its final value, with each year compounding on the last. Formula: (amount returned ÷ amount invested) ^ (1 ÷ years) − 1. It lets you compare investments held for different lengths of time.
What is the difference between ROI and ROAS?
ROAS is sales divided by ad spend, so it ignores what the products cost. ROI uses profit. A 3x ROAS means 3 of sales for every 1 spent, but at a 30% margin that's only 0.90 of profit, which is a loss. Check ROI, or compare your ROAS with your break-even ROAS.
What is a good ROI?
Any positive ROI means you got back more than you put in, but compare it with your alternatives and the time it took. For marketing, a campaign is profitable once its ROI is above 0%, which is when ROAS beats your break-even ROAS. For a store project, a short payback time matters as much as the final ROI.
How do I calculate the ROI of a Shopify app or redesign?
Add up the one-off cost and the monthly cost over the period, estimate the extra sales it brings each month, and multiply those sales by your gross margin to get the extra profit. ROI is that profit minus the total cost, divided by the total cost. The project mode does this and shows the payback time.
For ads, the break-even ROAS calculator shows the return your store needs, and the CPM calculator turns ad costs into cost per order. Find your gross margin with the margin calculator, and see what a customer is worth over time with the customer lifetime value calculator.
Need help making your store more profitable?
I'm Ahmad Mujtaba, a Shopify Select Partner. My team builds and maintains Shopify stores, from speed and SEO to checkout and tracking.