How to Calculate the ROI of Shopify Speed Optimization (Agency vs In-House)
A simple formula for working out whether Shopify speed work pays for itself, with a worked example comparing an agency and in-house.
- Written by
Fahad, CEO & Head of Development- Published
- Updated
- Reading time
- 3 min
- Audit Standard
- Real CrUX Data

To calculate the ROI of Shopify speed optimization, work out the extra gross profit a faster store could bring in over 12 months, subtract the total cost of the work, and divide by that cost. Do the same sum for an agency and for in-house work, using a cautious conversion lift, and the better option is usually clear.
What numbers do I need?
- 01Monthly sessions, from Shopify Analytics.
- 02Conversion rate, from the same report.
- 03Average order value, also in Shopify Analytics.
- 04Gross margin: what you keep from each sale after product costs. Use profit, not revenue, or the ROI will look far better than it is.
- 05Conversion lift: the improvement you expect. This is the one guess in the sum, so test more than one value.
- 06Total cost: the agency's price, or the hours your own team will spend multiplied by what those hours cost you.
A worked example
These numbers are made up to show the sum. Take a store with 20,000 monthly sessions, a 2% conversion rate, a $60 average order value and a 40% gross margin. That is 400 orders and $24,000 in revenue a month.
| Conversion lift | Extra orders a month | Extra gross profit a month | Extra gross profit over 12 months |
|---|---|---|---|
| 1% | 4 | $96 | $1,152 |
| 3% | 12 | $288 | $3,456 |
| 5% | 20 | $480 | $5,760 |
Agency vs in-house: how do the costs compare?
Say an in-house developer needs 20 hours and those hours cost you $40 each, so $800 in total. An agency quotes a fixed $300. Again, these are example figures. At a 3% lift, the $3,456 in extra gross profit gives these results over 12 months:
| Agency | In-house | |
|---|---|---|
| Total cost | $300 | $800 |
| Extra gross profit over 12 months | $3,456 | $3,456 |
| ROI | 1,052% | 332% |
| Payback time | About 1 month | About 3 months |
In-house can still be the right call. The table only counts money, and these other differences often matter more:
| Question | Agency | In-house |
|---|---|---|
| Who else could use that time? | Your team stays on other work | Speed work takes time from other projects |
| How fast is it done? | Usually quicker, as it's their main job | Depends on what else is in the queue |
| Who keeps the knowledge? | Mostly the agency | Your team, which helps if you ship new features often |
| Who keeps it fast later? | Needs a repeat job or a retainer | Your team can check every release |
| Best for | One-off fixes and small teams | Stores with a developer and constant changes |
What conversion lift should I assume?
Start low. The best-known study is Deloitte's Milliseconds Make Millions, commissioned by Google. It looked at 37 brands and found that a 0.1-second improvement in mobile speed metrics went with an 8.4% rise in retail conversions. That result is a useful guide but not a promise. It is from 2020, its brands were not all small stores, and it may not match your store. Use a lift of 1% to 3% unless your own data says otherwise.
When is speed work not worth it?
- Your store is already fast. If LCP is well under 2.5 seconds on mobile, more speed work is likely to bring smaller gains.
- You have very little traffic. With a few hundred sessions a month, more visitors will do more than a faster page, though a cheap fix can still pay back.
- Something else is broken. A confusing product page or high shipping costs will hold back sales at any speed.
How do I measure the result afterwards?
Compare the same number of days before and after the change. Avoid periods with sales, new ad campaigns or holidays, as they will swamp the effect. Track LCP as well as conversion rate. If LCP improved but sales didn't, speed wasn't what was holding the store back.
Want to use your own numbers? Our free Shopify speed ROI calculator does this sum for you. Ready to do the work? Start with our guide to getting a Shopify store under 2 seconds.
Our speed packages have fixed, published prices, so you can put the exact cost into the formula.
See speed packages


