If you're trying to figure out how to calculate website ROI, the good news is the underlying formula isn't complicated — the hard part is usually gathering the right numbers to plug into it. This post walks through the standard ROI formula, applies it to a simple worked example, and gives you a repeatable process for any website investment, whether that's a redesign, an SEO push, or a smaller conversion fix.
The website ROI formula
The standard formula for ROI is:
ROI = (Net Profit from the investment ÷ Cost of the investment) × 100
"Net profit" means the gain attributable specifically to the investment, minus what the investment cost. For a website, that gain can come from several places: more leads or sales (revenue growth), a higher conversion rate on the traffic you already get (efficiency), lower support costs from a site that confuses fewer customers, or credibility that shortens your sales cycle. The formula itself is simple; correctly identifying which profit is actually attributable to the website change is where most people go wrong.
The short answer
To calculate website ROI, divide the net profit attributable to the website investment by its total cost, then multiply by 100. Net profit is the additional profit the investment generated — from more leads, higher conversion, or lower costs — after subtracting the investment's own cost. The formula: ROI = (Net Profit ÷ Cost) × 100.
Step-by-step: calculating ROI for a website investment
- Determine the total cost of the investment. Include everything — design and development fees, any new tools or platform costs, and internal time if it's meaningfully large. Leaving out real costs inflates your ROI and gives you a misleadingly rosy number.
- Establish your baseline before the change. Record your conversion rate, average order or deal value, and monthly traffic before the investment goes live. Without this baseline, you have nothing reliable to compare against afterward.
- Measure the same metrics after the change, over a comparable time period. Give it enough time to stabilize — a week or two of data right after launch is often noisy. Compare like-for-like periods (e.g., a full month against a full month) to avoid seasonal distortion.
- Isolate the profit attributable to the investment. If traffic or conversion changed for other reasons at the same time — a marketing campaign, a seasonal spike — try to separate that out so you're not crediting the website change with gains it didn't cause.
- Subtract the cost from the attributable profit to get net profit. This is the numerator in the formula.
- Divide net profit by cost, then multiply by 100. That's your ROI percentage.
Worked example
Say you spent $10,000 on a redesign, and afterward it added $4,000 per month in new profit compared to your pre-redesign baseline (this is an illustrative example, not a real benchmark — your own numbers will differ). Here's how the calculation plays out over the first year:
| Item | Value |
|---|---|
| Cost of the redesign | $10,000 |
| Additional profit per month (attributable) | $4,000 |
| Additional profit over 12 months | $48,000 |
| Net profit (profit − cost) | $38,000 |
| ROI | ($38,000 ÷ $10,000) × 100 = 380% |
That 380% figure is specific to this made-up example — a redesign that adds $4,000 a month against a $10,000 cost. Your own inputs, especially the monthly profit figure, will look completely different depending on your traffic, conversion rate, and deal size. The value of walking through the math isn't the number itself; it's having a repeatable process you can rerun with your real figures.
Common mistakes when calculating website ROI
A few errors show up repeatedly when people run this calculation for the first time, and they're worth checking for before you trust your result.
| Mistake | Why it distorts the result |
|---|---|
| Leaving out internal time or "hidden" costs | Understates the true cost, inflating ROI |
| Not isolating attributable profit from other changes | Credits the website for gains it didn't cause |
| Comparing mismatched time periods (e.g., peak season vs. off-season) | Introduces seasonal noise into the comparison |
| Measuring too soon after launch | Early data is often unstable before user behavior settles |
| Ignoring one-time vs. recurring costs | Skews ROI if ongoing hosting/maintenance costs aren't factored into longer time horizons |
Calculating ROI over different time horizons
The worked example above uses a 12-month window, but the right horizon depends on what you're measuring and how your business sells. A short sales cycle with frequent, smaller purchases will show a reliable ROI signal within a few months; a long B2B sales cycle might need six months or more before enough deals have closed to trust the number. Calculating ROI too early, before enough of a full cycle has played out, is one of the most common ways people end up with a misleadingly low or high figure.
It also helps to separate one-time costs from ongoing ones when you pick your horizon. A redesign's development cost is typically a one-time expense, but hosting, maintenance, or ongoing content costs continue accruing — if you're calculating ROI over a longer period, make sure those recurring costs are included in the denominator, not just the upfront project fee. Recalculating at a few different horizons (3, 6, and 12 months, for example) also gives you a sense of whether the return is accelerating, flattening, or fading, which is often more useful than a single static number.
Where speed and conversion issues fit into your inputs
If part of your investment was aimed at fixing slow load times specifically, it helps to isolate that piece before running the full ROI calculation — a Site Speed & Revenue-Loss Audit can quantify the revenue impact of speed on its own, which makes your "net profit" input more accurate. And if you're deciding between a redesign and other options before you've spent anything, see website redesign vs. SEO investment for a framework on picking the right first move.
It's also worth reading about the website investments with the fastest payback and whether to fund a redesign or SEO first.




