Skip to content
Free 30-min callBook now
Talk to us — 30 min, freeBook now
Book a callGet a quote
Speed PlaybookVerified Shopify Engineering

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
xpertify.ecom / speed
How to calculate the ROI of Shopify speed optimization

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?

  1. 01Monthly sessions, from Shopify Analytics.
  2. 02Conversion rate, from the same report.
  3. 03Average order value, also in Shopify Analytics.
  4. 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.
  5. 05Conversion lift: the improvement you expect. This is the one guess in the sum, so test more than one value.
  6. 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 liftExtra orders a monthExtra gross profit a monthExtra 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:

AgencyIn-house
Total cost$300$800
Extra gross profit over 12 months$3,456$3,456
ROI1,052%332%
Payback timeAbout 1 monthAbout 3 months

In-house can still be the right call. The table only counts money, and these other differences often matter more:

QuestionAgencyIn-house
Who else could use that time?Your team stays on other workSpeed work takes time from other projects
How fast is it done?Usually quicker, as it's their main jobDepends on what else is in the queue
Who keeps the knowledge?Mostly the agencyYour team, which helps if you ship new features often
Who keeps it fast later?Needs a repeat job or a retainerYour team can check every release
Best forOne-off fixes and small teamsStores 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

Sources & further reading

  1. 1.Milliseconds make millionsweb.dev (Google)
  2. 2.Largest Contentful Paint (LCP)web.dev (Google)
  3. 3.Web Vitalsweb.dev (Google)

Share this guide