A website has positive ROI when the gross profit it can reasonably be credited with exceeds its total cost. The difficult part is not the formula. It is defining a meaningful conversion, connecting that conversion to a customer record, and separating revenue from profit.
The website ROI formula
A useful starting point is:
Website ROI = (attributable gross profit − website cost) ÷ website cost × 100
Use gross profit rather than top-line revenue whenever possible. A website that produces $50,000 in sales has not produced $50,000 in value if inventory, labour, fulfilment, advertising, or commissions consume most of that amount.
“Website cost” should include the build, essential software and hosting, content production, maintenance, and the internal time required to operate it. “Attributable gross profit” should include only business you can connect to the website with a reasonable method—not every sale that happened after launch.
Begin with the decision the website should create
Different businesses need different measurements. Before installing more analytics, name the most valuable action the website should help a visitor take.
- Professional or local service: a qualified inquiry, booked consultation, or phone call from the right type of customer.
- Ecommerce: a completed order, repeat purchase, or email signup that later produces an order.
- Application or platform: a qualified demo request, account activation, completed onboarding, or paid subscription.
- Non-profit: a donation, membership, event registration, volunteer application, or partner inquiry.
- Recruitment: a completed application from a qualified candidate.
A visit, scroll, or button click may help diagnose behaviour, but it is not automatically a business result.
Build a measurement chain you can audit
A practical lead-generation chain looks like this:
- Discovery: impressions and clicks from Google Search Console, referrals, campaigns, direct traffic, and other channels.
- Intent: visits to important service, case-study, pricing, or contact pages.
- Conversion: a submitted form, qualified call, booking, purchase, or account activation.
- Qualification: a real prospect who fits the service, geography, timing, and budget.
- Commercial result: a signed agreement, collected payment, and estimated gross profit.
Search Console is especially useful for understanding search visibility, clicks, impressions, and click-through rate. Google recommends looking at changes and trends rather than treating one average ranking number as the whole story. Analytics can record important actions, but your CRM, invoicing, or order system should remain the source of truth for qualified leads and revenue.
A clearly labelled example
The following numbers are hypothetical; they are not an AP Works client claim.
Suppose a redesigned website costs $6,000 in its first year, including the build and essential operating costs. During that year it produces 48 trackable inquiries. Twenty are qualified, eight become customers, and each customer contributes an average of $1,500 in gross profit.
- Attributable gross profit: 8 × $1,500 = $12,000
- Net return after website cost: $12,000 − $6,000 = $6,000
- Website ROI: $6,000 ÷ $6,000 × 100 = 100%
This calculation is useful because every assumption can be checked. If the close rate or gross profit estimate is uncertain, calculate a conservative, expected, and optimistic case rather than presenting one guess as a fact.
How to calculate ecommerce website ROI
For ecommerce, connect orders to contribution margin rather than revenue alone:
Attributable contribution = revenue − product cost − fulfilment − payment fees − returns − directly attributable advertising
Then subtract website costs. Also examine repeat purchase rate and customer acquisition cost by channel. A redesign that raises first-order conversion but increases returns or attracts unprofitable orders may not improve the business.
Measure the redesign, not just the new website
Before launch, save a baseline for the previous 90 days and, when seasonality matters, the same period from the prior year. Record:
- organic impressions, clicks, and click-through rate for important queries;
- qualified inquiries and their source;
- form completion, booking, or checkout completion rate;
- close rate and average gross profit per new customer;
- important technical measures such as Core Web Vitals and error rates.
Review at 30, 60, and 90 days, but do not force every channel into the same timeline. A conversion improvement can appear quickly; meaningful organic-search growth usually needs more time and enough data to distinguish a trend from normal variation.
Common measurement mistakes
- Using generic conversion benchmarks as a promise. Intent, traffic quality, offer, price, and business model vary too much.
- Counting every form submission. Spam and poor-fit leads do not have the same value as qualified opportunities.
- Crediting the last click with everything. A buyer may discover the business elsewhere and use search only to return.
- Ignoring the baseline. Without a before-and-after view, normal demand can be mistaken for a redesign result.
- Reporting revenue without margin. Growth that loses money is not positive ROI.
- Measuring only traffic. More visitors can coexist with fewer qualified customers.
What a conversion-focused website should make easier
A strong website does not merely look current. It helps the right visitor understand the offer, trust the business, find evidence, resolve objections, and take the next step with less friction. That may require clearer positioning, better case studies, faster pages, a shorter form, stronger mobile layouts, or a more useful connection to the business’s CRM—not decoration for its own sake.
When we scope a custom website, we can define the measurement plan alongside the content and build. If the website must connect to a portal, operational workflow, or internal data, the project may be better treated as a custom application.