← Back to the blog

Website ROI Calculator

How to Calculate Website ROI, and What Counts as a Good ROI

By Hamza IqbalFounder, ToolsForge

Reviewed 9 min readHow we source numbers

Calculator beside a laptop showing an upward trend line

To calculate website return on investment (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.

What is 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.

How do you calculate ROI for a website investment, step by step?

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. Subtract the cost from the attributable profit to get net profit. This is the numerator in the formula.
  6. 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.

What's a good website ROI?

There's no reliable industry benchmark for redesign ROI, because starting conversion rates, deal sizes and the problems being fixed differ too much between businesses. So we use a decision rule instead, not a benchmark: an investment is good if it pays back within 12 months on profit (a first-year ROI above 0%). A redesign that takes longer is still acceptable if it pays back well within the site's expected life, which for most small business sites is 2–4 years before the next redesign.

The ROI calculator's redesign example shows both sides of that rule. An $8,000 redesign on a site with 5,000 visitors a month, a 2% conversion rate, a $150 average order and a 40% margin returns about 209% in year one and pays back in 5 months if it brings 10% more traffic and a 25% conversion lift. With no traffic gain and only a 10% lift, year one comes out at about −17.5% and payback takes 15 months. That still passes the lifespan test, but it's a weaker case.

To set your own target:

  1. Pull your baseline conversion rate and average order or deal value from analytics, not from memory.
  2. Name the specific problem the redesign fixes: slow pages, a confusing checkout or contact flow, a poor mobile layout. "The site looks dated" doesn't map to a conversion lift.
  3. Model a conservative, a moderate and an optimistic lift, and run each through the formula. If the conservative case still pays back within the site's life, the business case is strong.
  4. Keep brand and trust value separate. It's real, but treat it as a bonus, not a number in the formula.

Some kinds of work pay back faster than others:

Redesign focus Typical payback speed Why
Page speed and Core Web Vitals fixes Faster Directly reduces abandonment; measurable soon after launch
Checkout or contact form simplification Faster Removes friction at the moment of conversion; Baymard Institute's research ties part of checkout abandonment to unnecessary form length
Mobile usability fixes Faster to moderate High impact when mobile traffic share is large; controls smaller than WCAG's minimum target size are error-prone on phones
Visual rebrand with no UX changes Slower, harder to attribute Improves perception but rarely moves conversion rate on its own
Platform migration plus redesign Slower Bigger cost and a longer settling period before clean before/after data exists

If the result lands below your conservative case, treat it as a guide to the next round of fixes rather than proof the redesign failed. If it lands above your optimistic case, check whether a campaign or seasonal spike ran at the same time before giving the redesign full credit. To estimate the cost side first, see website redesign cost.

What mistakes should you avoid 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. If you're still choosing between options, redesign, SEO or CRO: what should you fund first? compares them on the same site, and website investments with the fastest payback lists the quick wins.

FAQ

ROI = (Net Profit from the investment ÷ Cost of the investment) × 100. Net profit is the additional profit attributable to the investment after subtracting its cost — the formula is simple, but accurately isolating that attributable profit is the part that takes care.
Include all direct costs: design, development, any new platform or tool fees, and internal time if it's substantial. Leaving out real costs — especially internal time — is one of the most common ways this calculation gets inflated.
Wait until behavior has stabilized rather than measuring the first few days after launch, which tends to be noisy. Comparing full, matching time periods (month-over-month, for example) before and after gives a more reliable number than a quick early snapshot.
No reliable one. Results depend on your starting conversion rate, deal value and what the redesign fixes, so a figure from someone else's case study describes their business, not yours. Use the payback rule above with your own numbers instead.
Yes — the same formula applies to any investment, whether it's a full redesign, a speed fix, or a form simplification. Just make sure your cost and profit figures are scoped to that specific change so you're not crediting it with results from unrelated work.

Website ROI Calculator

See the projected return on your website investment.

Run the free tool

Written by

Hamza Iqbal

Founder, ToolsForge

Founder of ToolsForge and a WordPress & WooCommerce developer. Builds the free calculators on this site and writes the guides behind them — every guide pairs real, sourced numbers with a tool so you can run your own.