Skip to content

How to Calculate the Return on a Software Project Before You Commission It

A simple spreadsheet formula: hourly cost with employer charges, hours saved, errors avoided and sales recovered, with a full worked example and payback.

Pedro Santos
Pedro Santos
Principal Software Architect
9 min read
How to Calculate the Return on a Software Project Before You Commission It
In this article
  1. Short answer
  2. Step 1: hourly cost, including employer charges
  3. Step 2: hours saved per week
  4. Step 3: errors that stop happening
  5. Step 4: sales you stop losing
  6. The full example
  7. What not to count
  8. Why customer-facing work takes longer to pay off
  9. What numbers to expect
  10. If you already have a prototype, the sum improves twice
  11. How we do it

Before asking for a software quote, there is a simple question a business owner should be able to answer: how much will this put in my pocket, and how quickly? Without that answer, every proposal feels expensive or cheap by instinct, and instinct gets it wrong in both directions.

This article shows a way to do the sum in a spreadsheet, with numbers you already have or can estimate in an afternoon, and a full example so you can see the method at work.

Short answer

The return on a software project comes down to four numbers: the hourly cost, including employer charges, of whoever does the work today; the hours saved per week; the cost of the errors that stop happening; and the margin on the sales you stop losing. Add up the monthly gains, subtract the system's monthly costs and apply:

Payback (months) = investment / net monthly gain

In the illustrative example below, a €24,000 project that saves 15 hours a week and prevents invoicing and stock errors pays for itself in about 15 months, without counting any extra sales.

Step 1: hourly cost, including employer charges

The most common mistake is to use net salary, or monthly gross divided by 160 hours. The real cost to the company is much higher. A reasonable estimate for Portugal:

  1. Monthly gross salary x 14 (12 months plus the holiday and Christmas allowances that are standard in Portugal).
  2. Plus 23.75% TSU, the rate paid by the employer under the general Social Security scheme, on that total.
  3. Plus workplace accident insurance, which is mandatory. It varies by sector and insurer; 1% of payroll is a prudent estimate for office work.
  4. Divided by working hours per year. A year has about 261 working days; take away 22 days of holiday, public holidays and some absence and you are left with close to 220 days, or roughly 1,760 hours.

If you pay a meal allowance, you can add that too. It is left out of the example to keep the sum simple.

ComponentCalculationAnnual amount
Gross salary€1,800 x 14€25,200
Employer TSU€25,200 x 23.75%€5,985
Workplace accident insurance€25,200 x 1% (estimate)€252
Total annual cost€31,437
Cost per hour€31,437 / 1,760 habout €18

This is also why we say that half of one employee's time costs, with employer charges, well over €15,000 a year in Portugal.

Step 2: hours saved per week

Pick a specific process and ask the people who do it how much time it takes in a normal week. The usual candidates are the same in almost every company: keying orders from emails into the system, copying data between spreadsheets and invoicing, building reports by hand, answering "where is my order" requests.

Measure for a week or two rather than guessing. People tend to underestimate repetitive tasks, because they do them in bits throughout the day.

To get a monthly figure: hours per week x 52 / 12. Fifteen hours a week is 65 hours a month.

Step 3: errors that stop happening

Errors carry a direct cost, and it is the gain people forget most often. Typical examples:

  • Wrong invoices: a price or discount applied incorrectly, a credit note, a new invoice, a phone call to the customer and sometimes a late payment.
  • Broken stock: selling something that is no longer there because stock lives in another spreadsheet, followed by a cancelled order or a partial delivery and double shipping costs.
  • Duplicate or forgotten orders: the request sat in an email nobody saw.

Count how many cases there were in the last three months and estimate the cost of each. Be careful not to count twice: if the time spent fixing the invoice is already in the hours from step 2, only the non-time cost goes here (shipping, discounts given to make up for it, lost margin).

Step 4: sales you stop losing

A system that answers quote requests faster, or that never lets an enquiry get forgotten, recovers sales. The gain to count is the margin on those sales, not the amount invoiced. If today you lose two or three requests a month because the reply took too long, and each sale leaves €300 of margin, that is your number.

This is the most uncertain of the four gains, and we come back to it below. If you want to see how it works in practice, the article on AI chatbots that qualify leads 24 hours a day shows the kind of system involved.

The full example

An illustrative distributor, with three people keying orders from email and phone into spreadsheets and from there into invoicing. The project is the order module with an invoicing integration we used as the example in what a custom software quote should include: €24,000, fixed price. All figures are illustrative.

ItemAssumptionPer month
Hours saved3 people x 5 h/week = 65 h/month x €18€1,170
Wrong invoices avoided5 a month x €40 (credit notes, resending)€200
Broken stock avoided2 a month x €150 (lost margin, shipping)€300
Back-office gain€1,670
HostingEstimate-€100
Net monthly gain€1,570
Recovered sales (bonus)1 sale a month x €300 margin+€300

With these numbers:

  • Payback from the back office alone: €24,000 / €1,570 = about 15 months.
  • Payback including recovered sales: €24,000 / €1,870 = about 13 months.
  • Net gain over three years, back office only: €1,570 x 36 - €24,000 = €32,520, meaning each euro invested returns about €2.35.

If the project does not include maintenance after the support period, add that monthly cost to the hosting line. And allow for one or two months of adjustment in which the gain is not yet complete.

What not to count

The easiest way to fool the spreadsheet is to count gains that will never show up in the company's accounts:

  • "Freed-up" hours nobody will reuse. If the three people in the example keep the same working hours and the 65 hours dissolve into longer breaks and tasks they were already doing, the gain in money is zero. Only count hours that will replace overtime, avoid a planned hire or go into specific work that currently goes undone. In the example, if only half the hours end up there, the net gain drops to €985 and payback moves to about 24 months. Still worth it, but a different decision.
  • The same gain twice, such as the hours spent fixing invoices counted in step 2 and again in step 3.
  • Sales growth "because the company looks more professional". It may be true, but it cannot be measured. Leave it out of the sum.
  • Licences you will stop paying for when you will still need them.

And on the cost side, do not forget your own team's time during the project: discovery conversations, screen reviews, testing and training.

Why customer-facing work takes longer to pay off

Back-office gains are certain. If someone stops spending 5 hours a week copying orders, those 5 hours show up in the first month and every month after. So do the errors avoided: if the system will not let you sell without stock, sales without stock stop happening.

Customer-facing gains depend on someone else: the customer. A faster reply raises the odds of closing the sale, but does not guarantee it, and the effect varies from month to month. It takes time to gather enough data to know whether the system made a difference, and some of the sales you "recovered" might have happened anyway.

That is why our rule is to calculate payback from the back office alone and treat recovered sales as a bonus. If the project only pays for itself with them, the risk is higher and it makes sense to start smaller. It is the same conclusion we reached in how much it costs to implement AI in a company in Portugal: back-office automations usually recover the investment in under a year, customer-facing ones almost never do.

What numbers to expect

To compare your result with market figures:

Project typeTypical investment
Automating a first process€7,500 to €15,000
First module of custom management software€15,000 to €30,000
Management system with several modules€30,000 to €60,000
First production version of an AI-built prototype€7,500 to €15,000

For custom management software, the point where the investment pays for itself typically falls between 12 and 24 months. If your sum comes out above three years, the problem is rarely the price: it is usually the scope. Start with the process that takes the most hours and leave the rest for a later phase. Below €5,000 of investment, a custom project rarely pays off, and a ready-made tool will do the job. The custom software cost guide has the ranges for other project types.

If you already have a prototype, the sum improves twice

Many companies already have a version of the idea working, built by someone on the team in ChatGPT, Claude or Gemini. That moves both sides of the formula.

On the investment side, discovery and design get shorter, because the screens, data and rules are already visible, and some of them are reused. You mostly pay for what the prototype lacks: user accounts, real data, the ERP connection, backups and testing. We show where that difference appears, line by line, in the article on what a custom software quote should include.

On the gain side, the prototype gives you measured numbers instead of estimates. If the team has used it for a few weeks, you know how long a task took before and how long it takes now, and step 2 stops being a guess. With a smaller investment and a more reliable gain, the payback comes sooner. We explain what a prototype needs to reach production.

How we do it

In the diagnosis we do this sum with you. In a 30-minute conversation we pick the process, estimate the hours and errors, and see whether the return justifies going ahead. If it does, within 1 to 2 weeks you receive a proposal with the scope, timeline and fixed price, and you can put that number into your spreadsheet. If the numbers do not add up, we tell you during the conversation.

The diagnosis is free and does not commit you to anything. Request yours here.

Frequently asked questions

How do I calculate the ROI of a software investment for my company?

Add up the monthly gains (hours saved x hourly cost including employer charges, plus the cost of errors avoided, plus the margin on sales you stop losing), subtract the system's monthly costs (hosting, licences, maintenance) and divide the investment by that net gain. The result is the number of months until the investment is recovered.

How much does an employee cost per hour in Portugal, including employer charges?

A simple estimate: monthly gross salary x 14, plus the 23.75% TSU paid by the employer, plus around 1% for workplace accident insurance (it varies by sector and insurer), divided by roughly 1,760 working hours a year. A gross salary of €1,800 comes to about €31,400 a year and close to €18 an hour.

What is a reasonable payback period for a custom software project?

For custom management software, the point where the investment pays for itself typically falls between 12 and 24 months. Well-chosen back-office automations can pay for themselves in under a year. If your numbers point to more than three years, it is worth reducing the scope or picking a different process to start with.

Should I count hours saved if I am not reducing headcount?

Only those that will be reused in a concrete way: overtime no longer paid, a hire that is no longer needed or valuable work that currently goes undone. Freed-up hours that dissolve into the working day never show up in the company's accounts and should not go into the calculation.

Why does automating customer service take longer to pay off?

Because the gain depends on customers buying more or dropping off less, which varies from month to month and is hard to attribute to the system. In the back office, the hours and errors saved are certain and show up straight away. That is why it makes sense to calculate payback from the back office alone and treat recovered sales as a bonus.

Does having an AI-built prototype change the ROI calculation?

It changes both sides of the sum. The investment comes down, because discovery and design are shorter and some screens and rules are reused. And the gain becomes more reliable, because the hours saved can be measured in real use of the prototype rather than estimated. With less investment and a measured gain, the payback comes sooner.

Ready to implement in your company?

We develop custom software that solves exactly the problems described in this article. Free diagnosis, no commitment.