How do you measure ROI on AI? The formula and the three things it rests on
ROI, return on investment, is calculated as (benefit minus cost) divided by cost. If an AI solution costs 100 and gives a benefit of 150 over the same period, the net is 50, which is an ROI of 50 per cent. The formula is simple. What makes so many calculations go wrong is what gets counted as benefit and cost.
For a small or medium-sized company it works best to split the benefit into three parts: time saved, fewer errors and increased revenue. These can be measured without an analytics team, provided you measure the situation before you start. Time is measured in hours, errors in number or cost per error, and revenue in, for example, the number of booked meetings or the share of quotes that lead to orders.
This guide gives a five-step model, a worked example with invented figures that only shows how to calculate, and three traps that most often make the calculation too optimistic. It can all be done in a spreadsheet.
Steps 1 and 2: pick one flow and measure how it looks today
Measure one flow at a time, not “AI in the company”. Choose a concrete task, such as qualifying incoming enquiries, matching invoices or answering common customer questions. That makes both the build and the calculation manageable.
Then measure how the flow works today, for at least two to four weeks. This baseline is what all the ROI is calculated against. Without it you end up discussing whether the AI “felt” good, which does not hold up in a budget meeting.
- How many times the task is done per week.
- Time per occurrence, actually measured and not estimated. Ask two people to log a week.
- The number of errors or redos, and what an error costs (time, credit note, lost deal).
- Who does the task and what that person's time costs the company per hour, including employer contributions and other staff costs. Ask your finance manager for the figure.
Step 3: calculate the benefit in time, fewer errors and revenue
Time saved is calculated as the hours per month freed up multiplied by the hourly cost. Be careful here. Time that is saved but not used for anything else is not a cost saving, it is freed capacity. It is still valuable, but count it as that. If a person gets time to visit more customers, the revenue is what you should measure, not the hours.
Fewer errors is calculated as the number of avoided errors multiplied by what an error costs. It might be a wrong invoice that took an hour to sort out, a missed follow-up or a booking that ended up in the wrong place. The baseline is especially important here, since you need to know how many errors happened before.
Increased revenue is the hardest to link to AI and should be counted cautiously. One example is an AI phone assistant that takes calls that used to be lost. Measure the number of calls answered outside office hours, how many became bookings and what a booking is worth on average for you. Do not assume that all of them become customers.
Steps 4 and 5: count the cost in full and compare
The cost is more than the licence. It consists of one-off costs, such as the build, set-up, integrations with your systems and training, and running costs, such as licences, use of AI models, operation, monitoring and internal time for reviewing and improving. Do not forget the internal time: somebody has to check the results, especially in the first months.
Then compare benefit and cost over the same period, preferably twelve months. Also work out the payback period, meaning how many months it takes before the total benefits exceed the total costs. For a small company the payback period is often easier to grasp than an ROI percentage.
- One-off costs: build, set-up, integrations, training.
- Running costs: licences, use of the AI model, operation and hosting.
- Internal time: reviewing results, correcting errors, improvements.
- Cost of change: adjustments when your systems or routines are updated.
TipWrite three scenarios in the spreadsheet: cautious, likely and optimistic. If you decide on the cautious scenario and it still adds up, it is a safe decision.
Worked example: a fictional accounting firm and incoming invoices
This is an invented example, not a measurement from a real customer. The figures are chosen to be simple. Assume an accounting firm spends 40 hours a month reading and matching incoming supplier invoices, that the hourly cost is 500 kronor and that an agent can take over half of that work with a person reviewing.
Time saved then becomes 20 hours times 500 kronor, which is 10,000 kronor a month in freed capacity. Assume further that the number of errors needing correction falls so that it saves another 2,000 kronor a month. The benefit is 12,000 kronor a month, or 144,000 kronor over twelve months. Assume the one-off cost is 60,000 kronor and that operation, licences and internal time cost 3,000 kronor a month, which is 36,000 over twelve months.
Total cost in the first year is 96,000 kronor. The net is 144,000 minus 96,000, which is 48,000, and ROI is 50 per cent in the first year. The payback period is about seven months, since the one-off cost of 60,000 kronor is divided by the net benefit of 9,000 kronor a month. Change the figures to your own and also try halving the benefit, to see how sensitive the calculation is. The example shows the principle, it says nothing about what such a solution actually costs or delivers.
Three traps that make the ROI calculation too kind
Trap 1 is hidden costs. These are internal time for review, data clean-up, training staff, changes when your systems are updated and costs that grow with usage. Ask the supplier what is included and what is extra, and add a buffer.
Trap 2 is too short a time horizon. The first months go on adjustments and learning, and the benefit often comes only afterwards. Evaluate after twelve months, not after three. At the same time the opposite applies: if you cannot see any improvement after three months, look at why before you keep paying.
Trap 3 is the wrong baseline. Do not compare with an ideal picture of how the work should go, but with how it actually went before. And watch out for benefits that would have come anyway, for example demand rising for other reasons. If you can, compare with a similar flow that did not get AI in the same period.
How to follow up over time, and where Walldy can help
Set a monthly figure per flow: number of runs, time per run, number of errors reviewed and corrected by a person, and the cost. Set up alerts for deviations. A solution that worked in March can go wrong in October if your systems or rules have changed. Ongoing follow-up is part of what Walldy calls monitoring and optimisation, and is about making the solution hold up over time.
Walldy helps you map a flow, build the measurement from the start and decide whether an automation or an AI agent is the right tool. We also help train the people who will follow up, so that the calculation stays with you even when the supplier is not involved.
FAQ
How do you calculate the return on an AI investment?
Calculate ROI as (benefit minus cost) divided by cost, over the same period, preferably twelve months. The benefit is time saved, fewer errors and increased revenue that you have measured against a baseline. The cost should include the build, licences, operation and internal time.
What savings does AI give?
It depends entirely on which task and how it looks today. No general figure can be given. Measure how many hours the task takes now, what it costs in errors and redos and what an hour costs for you, and then work out how much can be automated with review.
How long does it take before an AI solution pays off?
It varies. Work out the payback period in your own calculation: the total costs divided by the benefit per month. Expect the first months to go on adjustment, and follow up after twelve months rather than after three.
How do you make a business case for AI?
Describe one limited flow, measure the current state, calculate benefit and full cost in three scenarios (cautious, likely, optimistic) and state how you will follow up. A business case for a small company fits on one page and one spreadsheet.


