Practical guide · Budget and quote

What a pentest costs
and why there is no list price

A penetration test is paid for by a specialist’s effort, and the effort depends on what has to be tested. What increases it, how long each type of test usually takes and how to compare two quotes that seem to say the same thing.

Updated 7 min read 5 cited sources
Contents
  1. The unit of measure: the testing day
  2. The six factors that decide the effort
  3. Estimate the effort
  4. Order of magnitude, by test type
  5. Black, grey or white box: which costs more
  6. How to compare two quotes
  7. How to cut cost without cutting value
  8. How often to repeat it, and what it means for the budget
  9. Frequently asked questions
  10. Sources

In 30 seconds

  • The unit of measure is the testing day (person-day): a quote without a number of days cannot be compared with anything.
  • Six factors decide the effort: scope, complexity, roles, the information given to the tester, the compliance requirement and execution constraints.
  • A test without information risks leaving vulnerabilities undiscovered in the time allocated — NCSC guidance says so too 1.
  • The report must say how to resolve each issue 1, and the retest confirms the fixes — PCI DSS requires it explicitly 5.
  • The second cycle usually costs less: the scope is already mapped.
Unit
testing person-day
Complex web
8–20 days
Retest
required by PCI 5
PCI frequency
every 12 months 5

The unit of measure: the testing day

The question “how much does a pentest cost?” almost always gets the answer “it depends”. It is not an evasion: a penetration test is paid for by a specialist’s effort. Serious quotes are all built the same way — estimate the number of testing person-days, add reporting and the retest, and multiply by the supplier’s day rate. That is why two very different quotes can both be right: one estimated five days, the other fifteen, because they understood the scope differently.

Scope is fixed before price. NCSC guidance says the scoping exercise should end in a document stating, among other things, the technical boundaries of the test 1; NIST’s technical testing guide also puts planning ahead of the testing itself 2.

The six factors that decide the effort

  1. Scope size

    How many IP addresses, applications, domains and subdomains, mobile apps.

  2. Functional complexity

    An app with three screens and one with eighty are not tested in the same time, even on the same server.

  3. Roles and flows

    Every user role multiplies the authorisation tests: who can see and change what.

  4. Information given to the tester

    Black, grey or white box: with documentation and access, time moves from discovery to real testing.

  5. Compliance requirement

    A test for PCI DSS, ISO 27001 or DORA needs structure, evidence and a documented retest — extra reporting time.

  6. Execution constraints

    Testing only outside working hours, sensitive production, agreements with cloud providers.

Estimate the effort

Estimate the effort for your scope

Indicative, based on our typical projects. The result is in person-days, not money: that is how two quotes are compared fairly.

What are we testing?
How large is the scope?
How much information does the tester get?
Do you need a report for an audit (PCI DSS, ISO 27001, DORA…)?
Do we include the retest after remediation?

Order of magnitude, by test type

The ranges below come from our typical projects: they are testing effort, not prices. Use them as a sanity check on any quote: if someone promises a full test of a complex web application in two days, you are not comparing prices but different depths.

Test typeTypical testing effortWhat most often increases it
Small web application (site, simple portal)3–5 daysMany forgotten subdomains in scope
Complex web application (SaaS, banking, multi-role)8–20 daysNumber of roles and business logic
External infrastructure3–8 daysNumber of live hosts, not allocated addresses
Internal infrastructure / Active Directory5–15 daysNumber of domains, trusts, branches
Mobile application (one platform)5–10 daysThe backend API, if it has not been tested before
Cloud environment (configuration and identities)4–10 daysNumber of accounts, regions and services used
Social engineering / phishing3–8 daysNumber of scenarios and tailored pretexts

Black, grey or white box: which costs more

Counter-intuitively, black box usually costs more for the same result. Without information, part of the paid days go on discovery — mapping what you already know. NCSC says it plainly: lack of information can leave some vulnerabilities undiscovered in the time allocated for testing 1.

Grey box — test accounts for each role and basic documentation — is the usual choice for web applications: the OWASP testing guide (WSTG, stable version 4.2) has whole chapters of authorisation and business logic tests that need accounts 3. Black box makes sense when you want exactly the view of an outside attacker with no inside knowledge.

How to compare two quotes

Price differences between suppliers rarely come from the day rate; they come from what is delivered. A one-day “pentest” of a complex application is almost always an automated scan with the report exported. NCSC describes a penetration test as a way of gaining assurance, not as the primary method for finding vulnerabilities 1 — and assurance comes from manual work.

  • Manual testing of business logic — scanners do not cover it.
  • Retest included or billed separately — without it, the real cost is higher than quoted.
  • Who writes the report: a tool-generated report and one written by the tester look completely different; the report must say how to resolve each issue 1.
  • Report structure for audits: scope, methodology, limitations, findings and a separate retest report with both test dates 4.
  • Severity justified in context, not just by the CVSS score.

How to cut cost without cutting value

  • Give access and documentation. Every hour the tester spends guessing the architecture is an hour paid for discovery, not testing.
  • Narrow the scope to what matters: the systems that hold data and revenue, not the whole inventory.
  • Run your own scan first and fix what it finds. Do not pay a specialist to find a missing patch.
  • Plan recurring testing: the effort drops in the second cycle because the scope is already known.

How often to repeat it, and what it means for the budget

PCI DSS requires internal and external penetration tests at least every 12 months and after any significant change, plus repeating the test to confirm the fixes 5. Outside regulation, NCSC notes it is not uncommon for a year or more to pass between tests 1. Our recommendation: yearly and after major changes — and a recurring programme makes use of the shorter second cycle.

Frequently asked questions

How much does a penetration test cost on average?
There is no useful average, because the price is based on effort. From our projects, a small web application usually means 3–5 testing days, a complex one 8–20, an internal infrastructure 5–15. Days multiplied by the supplier’s day rate give the order of magnitude and, above all, let you compare two quotes fairly.
Why do suppliers not publish fixed prices?
Because a fixed price would mean a fixed scope. Two applications on the same type of server can need four times different effort if one has three screens and the other eighty, with five roles. A single price either quietly limits what is tested or comes with a supplement once the supplier sees the real scope.
Black box or white box — which is more expensive?
Usually black box, for the same result: part of the days go on discovery, and lack of information can leave vulnerabilities undiscovered in the allocated time 1. White box moves that time into actual testing.
Is the retest after remediation paid separately?
It depends on the supplier — ask before signing. The retest checks the vulnerabilities were really closed and produces the document auditors ask for; PCI DSS explicitly requires repeating the test after fixes 5. If it is not included, the real cost is higher than quoted.
How often should the test be repeated?
At least yearly and after any significant change — that is what PCI DSS requires for the card environment 5, and it is a good rule outside it too. The second cycle usually costs less because the scope is already mapped.
What do I get for the days I pay for?
Manually confirmed findings, each with severity, evidence and how to resolve it 1, a summary for management and, for audits, a report in the structure assessors recognise, with a separate retest report 4.

Sources

Every statement about a law or standard links to its official source. Consulted on the date shown.

  1. NCSC — Penetration testing (guidance)ncsc.gov.uk · accessed 23 October 2026
  2. NIST SP 800-115 — Technical Guide to Information Security Testing and Assessment (2008)csrc.nist.gov · accessed 23 October 2026
  3. OWASP Web Security Testing Guide (WSTG)owasp.org · accessed 23 October 2026
  4. PCI SSC — Penetration Testing Guidance v1.1 (2017)pcisecuritystandards.org · accessed 23 October 2026
  5. PCI DSS v4.0.1 — SAQ D for Service Providers, r2 (text of requirement 11.4)pcisecuritystandards.org · accessed 23 October 2026

About the authors

The guides are written by the team that does the testing, not a marketing department. We update them when the law, the standard or what we see in testing changes.

The Pentest.md teamSecurity engineers holding CEH, CISSP, CISA and CISM certifications

Related guides

Want an estimate for your scope?

Receive a quote with testing days, deliverables and retest, point by point.