1. Home
  2. Blog
  3. Digital Transformation
  4. How to Calculate Website ROI (Step by Step, With Examples)

How to Calculate Website ROI (Step by Step, With Examples)

An African businessman reviewing over documents in an office — how to calculate website ROI

A website's return is calculable, but only if you decide in advance what a conversion is and record it. Most Nigerian businesses cannot calculate website ROI for a simple reason: the site sends visitors to WhatsApp, the conversation happens there, the payment arrives by transfer, and nothing connects the three. The revenue is real; the trail is missing.

This guide fixes that. It covers the cost side in full, the two value models (leads and orders), the tracking that makes the calculation possible, two worked examples, and how to deal with attribution when half your sales close in a chat window.

What website ROI actually measures

Website ROI answers one question: over a defined period, did the site return more value than it consumed?

ROI (%) = (Value generated − Total website cost) ÷ Total website cost × 100

Two things make websites different from other technology investments. First, the build cost is front-loaded while the value accumulates slowly, which means a first-year calculation usually understates the return. Use a two-year or three-year horizon for a new site, and a twelve-month rolling window for an established one.

Second, a website rarely closes the sale by itself. It creates enquiries, supports decisions and removes work. Any honest calculation must assign value to the part the site actually played rather than claiming every sale that touched it.

Step 1: Total the website's true cost

Add every naira the site costs over your chosen horizon, not just the build invoice.

Cost lineWhat it coversIndicative 2026 range
Design and buildOne-off development₦150,000–₦500,000 basic; ₦500,000–₦2,500,000 professional custom
DomainAnnual renewal₦3,000–₦30,000 per year
HostingShared or cloud₦20,000–₦120,000 per year shared
Maintenance and supportUpdates, security, fixes, small changes₦20,000–₦150,000 per month
ContentCopywriting, photography, product imagesProject-dependent
SEO and marketingRetainers, tools, advertising driving site trafficVaries widely
IntegrationsPayment gateway, chat, CRM, analytics setupUsually part of the build
Internal timeYour team's hours on content, approvals, enquiriesValue at a loaded hourly rate

Indicative 2026 ranges; actual costs vary with scope, vendor and exchange rate.

Decide one thing explicitly: whether advertising spend belongs inside website ROI or is measured separately as marketing ROI. Both approaches are valid. Mixing them — counting ad-driven revenue as website value while excluding ad cost — is the most common way businesses produce a flattering number that does not survive scrutiny.

Step 2: Identify how your website creates value

Websites earn their keep in three distinct ways, and the calculation differs for each.

Website typePrimary value mechanismThe number you need
Lead generationEnquiries that become customersLeads, lead-to-customer rate, average customer value
E-commerceOrders placed on the siteAttributable revenue and gross margin
Support and brandWork removed and trust createdEnquiries deflected, staff time saved, close-rate effect

Most Nigerian business sites are a blend of the first and third. A professional services firm's site generates enquiries and also answers questions that would otherwise take a phone call. Count both, but count them separately so the sources of value stay visible.

Step 3: Set up tracking before you calculate anything

You cannot calculate what you did not record. Configure these before you start, and give it at least one full month before drawing conclusions.

  • Analytics installed and verified on every page, including the thank-you page.
  • Each form submission recorded as a conversion event, with the form name.
  • Every WhatsApp click tracked as a conversion event — this is the one most Nigerian sites miss.
  • Phone-number clicks on mobile tracked as a conversion event.
  • Traffic sources separated: organic search, direct, social, referral, paid.
  • UTM parameters on every link you place in bios, campaigns and broadcasts.
  • For stores: product view, add to cart, checkout started and purchase events, with order value.
  • A field on your enquiry form or in your CRM recording how the customer found you.
  • A shared record where sales outcomes are logged against the enquiry that produced them.

The last two items are where the real work is. Analytics can tell you an enquiry happened; only your own sales record can tell you it became a ₦1,400,000 job.

Step 4: Work out value per lead

Value per lead converts website activity into money, and it is the heart of the calculation for any non-store site.

Value per lead = Lead-to-customer rate × Average customer value × Gross margin

Work through it in four steps:

  1. Count qualified leads, not raw form fills. Strip out spam, job applications and suppliers. Decide the definition once and apply it consistently.
  2. Calculate the lead-to-customer rate from your own sales record over at least three months. If 90 website leads produced 14 customers, that is roughly 15.6%.
  3. Calculate average customer value. For one-off work, use the average project value. For repeat business, use the value over a realistic relationship period — twelve months is a defensible convention.
  4. Apply gross margin, because revenue is not profit. A ₦1,000,000 project at 35% margin contributes ₦350,000.

Worked line: 15.6% × ₦900,000 average project × 40% margin = about ₦56,000 of gross profit per qualified website lead. That single figure turns every subsequent conversation about the website into arithmetic.

Step 5: Calculate ROI for a lead-generation website

With value per lead established, the calculation is four lines.

StepCalculationIllustrative figures
1. Qualified leads in the periodFrom tracked conversions, filtered240 over 12 months
2. Value per leadConversion rate times customer value times margin₦56,000
3. Value generatedLeads times value per lead₦13,440,000
4. Total website cost for the periodBuild amortised plus running costs plus content₦3,200,000
5. ROI(Value − Cost) ÷ Cost × 100About 320%
6. Payback periodCost ÷ monthly value generatedRoughly 3 months

Two adjustments keep this honest. First, subtract the leads you would have received anyway through referral and repeat business — if a third of enquiries would have come by phone regardless, the site's contribution is the other two-thirds. Second, if the build was a redesign rather than a first site, measure the improvement against the previous site's baseline rather than claiming all value from zero.

Step 6: Calculate ROI for an e-commerce website

For a store, the site is the point of sale, so revenue attribution is more direct — but margin discipline matters more.

  1. Attributable revenue: total orders placed through the site in the period. Exclude orders that were negotiated entirely on WhatsApp and merely paid for online, unless you are treating the payment link as part of the site.
  2. Gross margin: revenue minus cost of goods. Use your real margin, not a target.
  3. Subtract variable selling costs that the site causes: payment gateway fees, packaging, delivery subsidy where you undercharge for shipping.
  4. Compare against total site cost for the same period, including build amortisation, hosting, maintenance and platform subscriptions.

Illustrative arithmetic: ₦48,000,000 of site revenue at 30% gross margin gives ₦14,400,000; deduct roughly ₦900,000 of gateway fees and ₦1,600,000 of delivery subsidy, leaving about ₦11,900,000. Against a total annual site cost of ₦4,100,000, ROI is roughly 190%.

If you also count advertising as a site cost, the same store with ₦6,000,000 of ad spend produces a very different and more conservative figure — around 18%. Choose one treatment and state it.

Example (hypothetical): a Lagos interior design firm's first year

Example (hypothetical): a six-person interior design firm in Lekki replaces an outdated site with a professional custom site built around project galleries, a detailed enquiry form and a tracked WhatsApp button.

Costs, year one

LineAmount
Design and build₦1,800,000
Photography and copywriting₦450,000
Domain and hosting₦95,000
Maintenance at ₦60,000 per month₦720,000
Internal time on content and approvals₦300,000
Total year-one cost₦3,365,000

Value, year one

  • 310 tracked enquiries, of which 186 were qualified after removing spam and supplier messages.
  • Sales records show 22 of those became projects, a lead-to-customer rate of about 11.8%.
  • Average project value ₦2,400,000 at an average gross margin of 32%, giving about ₦768,000 of gross profit per project.
  • Gross profit from website-sourced projects: about ₦16,900,000.
  • The firm judged that 30% of those enquiries would have arrived through referral anyway, so it attributed 70% to the site: about ₦11,830,000.

Result: ROI of roughly 250% in year one, with a payback period under five months. The firm also recorded two qualitative returns — a shorter sales cycle, because prospects arrived having already seen relevant work, and fewer time-wasting enquiries, because the site set out project scale clearly.

Note the discipline that made this possible: the WhatsApp button was tracked, the enquiry form asked how people found the firm, and every enquiry was logged against its outcome. This is an illustrative scenario, not a client account.

Attribution problems in Nigeria and how to handle them

Four attribution problems recur, and each has a practical workaround.

  • The conversation moves to WhatsApp. Track the WhatsApp click as a conversion event and use distinct pre-filled messages per page, so the enquiry arrives with a marker such as "I am enquiring about kitchen fittings" that tells you where it came from.
  • Payment arrives by bank transfer, outside the site. Reference numbers help. Issue an order or quote reference on the site and require it in the transfer narration or in the WhatsApp confirmation, then match records weekly.
  • The customer walks in. Ask "How did you hear about us?" as a required field on the enquiry form and as a standard question at the point of sale, and record the answer. Imperfect data collected consistently beats perfect data collected never.
  • Instagram discovery, website verification, offline close. This is the most common Nigerian buying path, and it means the site's role is trust rather than capture. Use last-touch tracking for the mechanical count, then apply a stated assisted-conversion allowance rather than pretending the site contributed nothing.

State whichever convention you adopt at the top of the calculation and keep it constant between periods. Comparability matters more than theoretical accuracy.

Returns that are real but do not appear in the formula

Record these separately rather than forcing a naira value on them:

  • Credibility. A serious site changes how prospects, banks, landlords and corporate buyers treat you, which affects close rates in ways that resist isolation.
  • Support deflection. Every question answered by a well-written page is a call your team did not take. Count deflected enquiries if you can; note them if you cannot.
  • Search visibility that compounds. Organic traffic from content typically builds over quarters, so a first-year figure understates a site that is being maintained.
  • Owned customer data. An email and phone list gathered through the site belongs to you, unlike a social following. Collect consent properly in line with the Nigeria Data Protection Act 2023 and check your obligations with the Nigeria Data Protection Commission.

Mistakes that distort website ROI

  • Not tracking WhatsApp clicks. In Nigeria this single omission can hide most of a site's conversions.
  • Counting raw form fills as leads. Spam and supplier enquiries inflate the numerator and ruin the rate.
  • Using revenue instead of gross profit. A high-revenue, low-margin business will badly overstate its return.
  • Claiming referral and repeat business. If they would have come anyway, they are not the site's contribution.
  • Charging the whole build to year one. Amortise it across the site's realistic life, typically two to four years.
  • Mixing ad spend in on one side only. Either include advertising cost and ad-driven revenue, or exclude both.
  • Judging at 60 days. Organic performance and content value build slowly; judge at six and twelve months.
  • Changing the definition between periods. Once you define a qualified lead, keep the definition.

Conclusion

Website ROI becomes a straightforward calculation once two decisions are made: what counts as a conversion, and how much of each sale the site is credited with. Total the site's real cost over a sensible horizon, establish value per lead from your own sales record, track WhatsApp and call clicks as conversions, subtract the business you would have won anyway, and state your attribution convention. Then recalculate every quarter using the same definitions. A site that pays back in months is common; a business that can prove it is not.

If your site sends enquiries into WhatsApp and nothing connects them back to revenue, Linestech can set up the conversion tracking, enquiry capture and reporting that make website ROI measurable — and build the site properly where the current one is the constraint.

Frequently asked questions

How long before a new website shows a measurable return?

Expect three to six months before the numbers mean anything, and twelve months for a fair assessment. Paid traffic produces signal within weeks, but organic search and content usually take one to two quarters to build. Judging a site at 60 days mainly measures how much traffic you paid for, not how well the site works.

What if my website generates no direct sales at all?

Then its value is in leads, support deflection and credibility, and you calculate accordingly. Count qualified enquiries and apply your lead-to-customer rate, count questions answered by the site that would otherwise be calls, and record the credibility effect qualitatively. A site with no e-commerce can still show a strong return; it just needs a different numerator.

Should advertising spend be part of website cost?

Pick one treatment and be consistent. Including ad spend gives you a combined view of your online acquisition engine, which is usually the more useful number. Excluding it isolates the website's own performance, which is useful when assessing a redesign. What you must not do is count ad-driven revenue while excluding ad cost.

How do I calculate ROI on a redesign rather than a new site?

Measure the change, not the total. Record baseline conversion rate, qualified leads per month and average order value on the old site for at least three months, then compare the same metrics after the new site has been live for three months. The value is the improvement multiplied by your value per lead, set against the redesign cost.

What conversion rate should a Nigerian business website achieve?

No single benchmark applies across sectors, traffic sources and price points, and figures quoted as universal standards should be treated cautiously. The useful comparison is your own site over time: whether this quarter's qualified-enquiry rate from organic traffic beats last quarter's. Improve against yourself rather than against an unverifiable industry average.

Can I calculate website ROI without paid analytics tools?

Yes. A free analytics tool with correctly configured conversion events, UTM parameters on your campaign links, a "how did you hear about us" field, and a simple spreadsheet logging enquiry outcomes will get you a defensible calculation. Paid tools add convenience and depth, not the ability to do the maths.

How do I handle the value of a customer who buys repeatedly?

Use a realistic relationship window rather than a lifetime. For most Nigerian SMEs, twelve or twenty-four months of expected margin from a customer is defensible; projecting five years is not. State the window you used in the calculation, and keep it the same when you recalculate, so periods remain comparable.

Sources and further reading

Figures, platform rules and regulations change. These are the primary references behind this article and the places to check before you act on it.