Cost of a hacked website: a worked example from practice
A webshop with an outdated plugin gets hacked. What does that really cost? A worked example with a model you fill in with your own figures, and what prevention would have cost.
Team Netslim 24 Nov 2026 6 min read
A small webshop makes an average of € 600 in revenue per day. On Friday evening nothing seems wrong. On Monday morning a customer reports that Google says the site is dangerous, and that something strange happens at checkout. Hardly anyone knows in advance what that ultimately costs. This article works it out.
The example below is made up, but the situation is not: a WordPress webshop with a plugin that did not get an update for months. The amounts are assumptions, which I state clearly. You can fill in the model at the bottom with your own figures. The costs of a hacked website rarely sit in the specialist's invoice. That is often the smallest part.
The example: a webshop with an old plugin
The situation is simple. The webshop runs on WordPress with WooCommerce. A plugin for a product slider was last updated a year ago. It contains a known vulnerability. An automated script from an attacker finds that vulnerability, without anyone specifically choosing your shop. That is how most hacks happen: not personal, but effective.
The assumptions for the calculation:
- Average revenue: € 600 per day, gross margin 35 percent.
- A third of that (€ 180 per day) comes from Google, the rest from mailings, advertisements and returning customers.
- An advertising budget of € 40 per day is running.
- There is a silent period from Friday evening through Tuesday: the shop is unreliable or offline for five days.
- You value your own hour at € 50. That is an assumption, so fill in your own rate later.
What the hack costs in euros
1. Lost revenue and profit during the outage
Five days times € 600 is € 3,000 in revenue. Some of those customers come back later, but to be conservative, assume a lost profit of 35 percent of the total: € 1,050. Note that you count profit, not revenue. Otherwise you also count the purchasing costs you did not have to make.

2. Advertisements that disappear into nothing
Your advertisements keep running while visitors encounter a warning. Five days times € 40 is € 200 that you pay for clicks with no chance of an order.
3. Cleaning up with a specialist
Cleaning up is more than removing one file. The infected files must be found, the backdoors too, the plugin must be replaced, passwords must be changed, and you must check whether users were added who should not be there. In this example, allow 8 hours of work at € 95 per hour: € 760. With a larger shop or a poorer backup, that adds up quickly.
4. Your own hours
This is the cost everyone forgets. You call your hosting provider, find out what is going on, talk to the specialist, answer customer questions, adjust orders by hand and check everything again. 15 hours is not an exaggeration. At € 50 per hour that is € 750. It is not money that leaves your account, but it is time you do not spend on sales.
5. The Google warning and recovery
If Google marks your site as dangerous, visitors from search results drop considerably. After cleaning up, you have to have the site re-reviewed, and that does not happen on command. Assume organic traffic is halved for three weeks. That is 21 days times € 180, halved, with 35 percent margin: roughly € 660. This is an estimate, which differs greatly per site. How to keep an eye on this in advance is explained in the article about a website not secure notice.
6. Lost trust
This is the hardest number, because you cannot measure it until it is too late. Assume 40 returning customers stop ordering, because they saw a warning or received an email about a possible data breach. If such a customer generates an average of € 30 profit per year, that costs € 1,200. Perhaps it is half, perhaps double. Anyone who sets it at zero is fooling themselves.
If customer data was taken, a data breach notification obligation may apply. Check that, and do it quickly. What to do in the first hours is described in website hacked: what to do in the first 24 hours.
The total
| Item | Amount in the example |
|---|---|
| Lost profit during the outage | € 1.050 |
| Wasted advertising budget | € 200 |
| Cleaning up with a specialist | € 760 |
| Your own hours | € 750 |
| Falling traffic due to the Google warning | € 660 |
| Customers who left | € 1.200 |
| Total | € 4.620 |
Of that € 4,620, € 760 goes to a specialist. The rest is lost profit and your own time. That is why entrepreneurs are usually shocked by the total, while the cleaner's invoice turned out to be less than expected.
What prevention would have cost
The vulnerability was in a plugin without an update. That is the kind of problem you largely prevent with a few fixed habits. A fair calculation for one year:
- Good WordPress hosting with automatic updates and daily backups: WP Pro costs € 12.95 per month excl. VAT, so € 155.40 per year.
- Extra protection such as Security Shield: € 14.95 per month excl. VAT, so € 179.40 per year.
- One hour per month of your own time to check which plugins you still use and which can go: 12 hours times € 50 is € 600.
Together that is roughly € 935 per year, including your own time. The example cost € 4,620. One hack in about five years means prevention already equals repairing afterwards. To be honest, that is a cautious comparison, because I have not included that some hacks turn out much worse than this example.
One caveat: it reduces the chance, it does not make it zero. That is why you need a recovery plan. A recent backup that you have actually tested saves you hours. How often you should make one and where you store it is explained in how to make a website backup: how often and where to store it.
The calculation model to fill in yourself
Take a notepad or spreadsheet and fill in these lines for your situation.
- Daily revenue times gross margin times days offline or until you are warned. Be honest: how quickly do you notice it, and how quickly can your host or specialist help? Also think about a weekend.
- Advertising budget per day times those same days.
- Hours to clean up times hourly rate. Ask in advance what your specialist charges, and whether that includes checks and aftercare.
- Your own hours times your own hourly value. Start at 10 to 15 hours.
- Days of reduced search traffic times daily organic traffic times the share that drops away, times margin.
- Number of customers you lose times their annual profit. Use a cautious estimate here and round down if you are in doubt.
- Add up. Place the total next to what prevention costs per year.
Not sure where you stand? A quick free website check shows how things stand with SSL, security headers and other basic settings. It does not tell you whether your plugins are up to date, but it does show whether the basics are right.
What to do now
Start with an inventory. Open your WordPress admin and check under Plugins which ones you use, which have not received an update for a long time, and which you no longer really need. Remove what you do not need. Every plugin that stays is a possible gap.
Then get three things in order: automatic updates, a backup that you have restored in a test environment, and two-step verification on your admin account. The last one is explained in setting up two-step verification for WordPress and email. This takes an afternoon and can save you a large part of the amount in the example.
If you want this included automatically, you can look at our WordPress hosting, with automatic updates, daily backups and free SSL. Moving is free, so you do not need to rebuild your current site.
Frequently asked questions
Do I need to report a hacked website as a data breach?
That depends on whether customer personal data was taken or viewed. If it was, or you cannot rule it out, a reporting obligation may apply. Record what happened and ask for advice, because the deadline is short.
How long does it take for Google to remove the warning?
That varies by case. First the site must be demonstrably clean and all infected pages must be removed. Then you request a review, which can take anywhere from a few days to longer. A half-hearted cleanup slows the process, because a new rejection will follow.
Is a hacked website insured?
Sometimes, but that is separate from your regular business insurance. A cyber insurance policy can cover cleanup costs or loss of revenue, depending on the policy terms. Ask your insurer in advance what is covered and which security requirements apply.
How do I know if my website has been hacked?
Signs include warnings in the browser or in Google, unusual redirects, new administrators you do not recognise and spam in your search results. A sudden slowdown or an email from your host can also point to an infection. If you see one of these, check your files and users immediately.
Read also
All blogs →
Security7 min read
Website beveiligen: basismaatregelen die echt werken
More security tools will not automatically make your site safer. Five boring basic measures do most of the work. When extra protection is worth it, you can read about it here.
Security6 min read
Microsoft Entra Connect Health vulnerability: what to do now
Microsoft confirmed a vulnerability in Entra Connect Health: technical data and administrator email addresses could be viewed. These are the three checks for your Microsoft 365.
Security6 min read
AI finds leaks in minutes: this is how you stay ahead of hackers
AI finds leaks in websites in hours or minutes, and AI chatbots cause data leaks themselves. What is changing and seven measures you can take now.