The Website ROI Calculator Explained (With a Framework You Can Actually Use)
How to calculate the ROI of a website — inputs, formulas, realistic conversion assumptions, and a framework you can run on a napkin for any business.
Will this website pay for itself? is the question every founder should ask before signing an agency contract, and almost none actually do. Instead they treat the site as a marketing cost — a line item to minimise — rather than an investment with a return you can model.
This is the framework for calculating real website ROI. Inputs, formulas, honest assumptions, and the traps most ROI models fall into. If you can fill in five numbers, you can calculate whether a ₹1 lakh website will pay for itself in three months or three years.
1. The core formula
Website ROI is a standard investment ROI applied to your site. The formula:
ROI (%) = ((Annual value from site − Total annual cost) / Total annual cost) × 100The two inputs sound simple. Both hide complexity. Annual value from site requires attribution — knowing which sales actually came via the site. Total annual cost has to include everything: build, hosting, maintenance, content, ads driving traffic to it. If either is wrong, the ROI number is meaningless.
2. Calculating annual value (the hard part)
Three ways businesses estimate the value a website creates. Pick the one closest to your reality:
Method A: Direct attribution (for online sales)
Sum every purchase where the customer's first touch was your website. Requires GA4 or similar analytics with proper source tagging. Most accurate but only works for e-commerce and lead-gen businesses with clean tracking.
Method B: Lead attribution (for service businesses)
Count leads generated via the site (contact form submissions, WhatsApp clicks, phone calls tagged from web). Multiply by your lead-to-customer conversion rate. Multiply again by average customer value. Works well for consultants, agencies, local services.
Annual value = leads/year × close rate × avg customer valueMethod C: Comparative attribution (rough estimate)
Compare revenue for 12 months pre-launch vs 12 months post-launch. Attribute the delta to the website — after subtracting any other new marketing activity. Least accurate but useful when tracking is thin.
3. Calculating total annual cost
Everyone remembers the build cost. Most forget everything else. Real annual cost includes:
- Build cost amortised over expected lifetime — a ₹2 lakh site expected to last 5 years = ₹40,000/year.
- Hosting + domain + SSL — ₹5,000–₹30,000/year depending on stack.
- Maintenance — plugin updates, bug fixes, small content changes. Budget 10–20% of build cost per year.
- Content — writing new pages, updating existing ones. Highly variable.
- Paid traffic driving to the site — Google Ads, Meta Ads, if applicable.
- Third-party tools — email platform, CRM, chat widget, analytics upgrades.
4. A worked example
Small B2B service business. ₹1.5 lakh custom website, expected 4-year useful life. Runs Google Ads at ₹15,000/month. Uses MailerLite (free) and a simple CRM (₹1,000/month).
| Cost line | Annual (₹) |
|---|---|
| Website build amortised (1.5L / 4 years) | 37,500 |
| Hosting + domain | 8,000 |
| Maintenance (~12%) | 18,000 |
| Google Ads | 1,80,000 |
| CRM + tools | 12,000 |
| Total annual cost | 2,55,500 |
Value side: site generates 40 qualified leads/month via a mix of SEO and paid traffic. Close rate 20%. Average customer worth ₹80,000/year.
Annual value = 480 leads × 20% × ₹80,000 = ₹76,80,000
Annual ROI = ((76,80,000 − 2,55,500) / 2,55,500) × 100 ≈ 2,905%Even if the numbers are half-right — 20 leads/month, 10% close, ₹40,000 customer value — ROI is still ~300%. That's the point: for most B2B service businesses, a properly-executed site is one of the highest-ROI investments they'll make.
5. When the ROI is bad
Not every website earns its cost. Warning signs your site has bad ROI:
- Traffic exists but leads don't — conversion problem, not a traffic problem. Fix the site, not the ads.
- Traffic doesn't exist — SEO or content problem. Publishing has to be sustained.
- Leads exist but don't close — quality-of-lead or sales-process problem, not necessarily the website.
- Everything works but the business model is broken — no website can rescue this.
6. How long before a website breaks even?
Rules of thumb from real projects:
| Business type | Typical break-even window |
|---|---|
| Local service (with GBP + local SEO) | 3–6 months |
| B2B service (with content + ads) | 6–12 months |
| E-commerce (with paid + email) | 3–9 months |
| Pure SEO play (no ads) | 9–18 months |
| Brochure site with no ongoing effort | May never break even |
7. The ROI multiplier: post-launch discipline
The single biggest determinant of website ROI is whether anyone maintains and grows the site after launch. New content monthly, small conversion optimisation tweaks, ongoing SEO — all of this compounds. Sites that get left to fossilise post-launch see ROI decay to zero within 24 months.
Where to start
Pick one attribution method that matches your business. Add up your real annual costs, not just the build fee. Estimate value using conservative numbers. Divide. That's your ROI.
If the answer is positive — great, invest more. If it's negative, don't automatically blame the site. Figure out which of the four common failure modes is happening, fix that, and remeasure in 90 days.
Frequently asked questions
Short answers to the questions readers ask most often about this topic.
How is website ROI calculated?
What is a typical website conversion rate?
How long before a website pays for itself?
In summary
How to calculate the ROI of a website — inputs, formulas, realistic conversion assumptions, and a framework you can run on a napkin for any business. If you want a partner to build, ship, and grow a site that lives up to this playbook, get in touch with Befazed.
Web Design & Development
Befazed Studio
Befazed is a premium web design and development studio building modern, high-performance websites, landing pages, and digital experiences for founders and growing brands.
View portfolio →Last updated .