How to calculate the ROI of a website or campaign

Before investing in a site or a campaign, know how much you need to earn for it to be worth it.

Updated 15 October 2026 · 4 min read

The ROI formula

ROI % = (attributed revenue − costs) ÷ costs × 100

Use margin or profit, not just revenue, otherwise you overestimate the result.

An example

You spend €1,000 on a campaign and get 20 leads. You close 5 with a margin of €600 each: €3,000 of margin. ROI = (3,000 − 1,000) ÷ 1,000 × 100 = 200%.

Related metrics

  • Cost per lead: 1,000 ÷ 20 = €50.
  • Close rate: 5 ÷ 20 = 25%.
  • Customer acquisition cost: 1,000 ÷ 5 = €200.

The ROI of a website

Add up build, hosting and maintenance costs and compare them with the margin from customers who came through the site. You need reliable data: set up lead tracking as explained in KPIs for small businesses.

Mistakes to avoid

  • Measuring too early: SEO and content take months.
  • Ignoring internal time costs.
  • Not tracking where customers come from.

Frequently asked questions

What is a good ROI?

It depends on the sector and margins; what matters is that it is positive and higher than alternative investments.

Does ROI apply to SEO too?

Yes, but the effect is gradual: evaluate it over 6-12 months.

How do I calculate ROI for social media?

Attribute the leads and sales generated by social and compare them with the time and budget spent.

Need a hand?

Tell us about your project: free quote, reply within 24 hours.

Request a quote

Related service: Data analysis, dashboards and automatic reports for SMEs

WhatsApp
CallWhatsAppFree quote