On this page
You send the same brief to three firms. The first quote arrives the next morning, low enough to sign without asking finance. The second is several times higher. The third firm will not give you a number at all until it has asked about user roles, API endpoints and test accounts.
Most buyers choose between the first two. The third is usually the only firm that knows what it is pricing.
Penetration testing cost is not random, and it is not a secret. Almost every quote is the same sum: the tester-days the job needs, multiplied by a day rate, plus reporting and a retest. Nine factors decide how many days that is. This guide explains each one, shows you how to compare two quotes fairly and how to lower the bill without hollowing out the test.
Key takeaways
- A pentest quote is effort (tester-days) multiplied by a rate. Ask every vendor for the days, not just the total.
- Scope, user roles and testing approach move the price more than anything else.
- A very cheap “pentest” is often an automated scan with a new cover page.
- Grey-box access, ready test accounts and a clean scanner baseline cut cost without cutting depth.
- Retests, delays and findings that never close are the costs the first quote does not show.
Why no honest article can give you one price
Online price ranges average jobs that have nothing in common: a short external check of a few IP addresses, and a multi-week test of a SaaS platform with ten user roles, a mobile app and a partner API. That average tells you nothing about your test. What you can know is how the price is built, and which of your decisions move it.
How a penetration testing quote is built
Under the headline number, most quotes have four parts:
- Testing effort: recon, manual testing, exploitation and verifying each finding, in tester-days.
- Reporting: each finding written up with a proof of concept, a CVSS 3.1 score and a specific fix, plus an executive summary.
- Retest: checking your fixes and updating the report.
- Overheads: scoping calls, project management and, for some internal tests, travel.
The UK’s National Cyber Security Centre recommends that scoping ends with a plan covering technical boundaries, test types and timeframe, with effort usually expressed in “resource days” (NCSC penetration testing guidance). That is the number to ask for. The day rate reflects seniority and location, and the days come from the nine factors below. When two quotes are far apart, the gap is almost always in the days.
1. Scope: what gets counted
Scope is the biggest driver of penetration testing cost. Vendors count it differently, which makes quotes hard to compare.
- Web applications: count user roles, workflows and forms, not pages. A 500-page marketing site can need less testing than a 12-screen billing portal.
- APIs: count endpoints, authentication methods and versions. A GraphQL API with a single endpoint can hide hundreds of operations.
- Networks: count live hosts and exposed services, not the size of the IP range. A large range with six live hosts is a small job.
- Mobile apps: count platforms (Android, iOS or both) and the backend API the app calls, which is usually where the serious bugs sit.
Not sure what is live? Find out before anyone prices the test. Forgotten staging servers are the kind of exposure our research team looks for while monitoring the internet for new vulnerabilities and exposures every single day, and reports privately through responsible disclosure. Attack surface discovery gives you that list for your own domains.
2. Target type
Each target needs different skills and time. Here is what testers size each one by, and what quietly adds days.
| Target | Sized by | What adds days | How to keep it lean |
|---|---|---|---|
| Web application | Roles, workflows, integrations | Multi-tenant data, payment flows, file uploads, SSO | Accounts for every role and a staging copy |
| API (REST or GraphQL) | Endpoints, auth schemes, versions | Undocumented endpoints, many object types, partner keys | Share an OpenAPI spec or a request collection |
| Mobile app | Platforms, features, backend API | Both platforms, certificate pinning, local storage, deep links | Test builds and accounts for both platforms |
| External network | Live hosts, exposed services | VPNs, remote access portals, legacy services | Run discovery first and drop dead ranges |
| Internal network and Active Directory | Sites, segments, domain size | Several domains, segmentation checks, onsite access | Provide remote access to a test machine |
Not sure which network test you need? See internal vs external network penetration testing.
3. Complexity and user roles
Two apps with the same number of screens can differ widely in effort. What matters is how many ways data can leak between users.
Broken access control is number one in the OWASP Top 10:2025. Testing it properly means checking what each role can reach as every other role, and what one tenant can see of another. An app with four roles already has twelve role-to-role combinations to check on every sensitive action, before you add a second tenant.
On SaaS tests, the most serious finding is often an ordinary user changing an ID in a request and reading another customer’s invoice. Scanners rarely flag it, because the response looks perfectly normal. Finding it takes a human, and that is where the days go.
4. Testing approach: black, grey or white box
- Black box: the tester starts with nothing but a URL or IP range, like an outsider would.
- Grey box: the tester gets test accounts and some documentation, like a logged-in user or partner.
- White box: the tester also gets source code or architecture details.
Black box sounds cheaper because you hand over less. It often costs more per useful finding, because paid days go on rediscovering things you could have shared in an email. For SaaS, APIs and mobile apps, grey-box testing is usually the best value. White box adds days for code review but reaches complex logic faster. See our comparison of black-box, white-box and grey-box testing.
5. Depth: scan, VAPT, pentest or red team
The deeper the work, the more human days it needs:
- Vulnerability scan: automated, broad, cheap per asset.
- VAPT: a scan of the full scope plus manual testing of the riskiest parts. See VAPT vs penetration testing.
- Manual penetration test: testers exploit and chain issues to prove impact.
- Red team: objective-driven attack simulation, usually over weeks.
A quote that looks too cheap for manual work usually is. Ask what share of the days is hands-on testing, and ask for a sample report. A scanner export lists plugin names. A pentest report shows proof-of-concept steps and impact. More in penetration testing vs vulnerability scanning.
6. Environment and rules of engagement
Constraints cost time. Common ones:
- Testing in production, where testers must work slowly around fragile systems.
- Out-of-hours testing windows, which NCSC suggests flagging during scoping.
- A WAF or rate limits that block testers until someone allowlists them.
- Internal tests that need someone onsite.
If testers spend their first morning waiting for a VPN account, you pay for that morning. A staging environment with production-like data and the security controls in place removes most of these costs.
7. Compliance and reporting requirements
When a standard such as PCI DSS drives the test, the standard decides parts of the scope and how often you test. Customers may also want specific report sections or a summary letter, which adds writing time.
Ask the vendor which methodology they follow. Common references are the OWASP Web Security Testing Guide for web apps and NIST SP 800-115 for planning and running technical security tests. A vendor who cannot name one is pricing guesswork.
8. Retesting
A pentest without a retest tells you what was broken, not whether your fixes worked. Some vendors include one retest. Others bill it as extra days, or as a whole new engagement.
Ask three questions: how many retests are included, how long after the test they can happen, and whether the report is updated to show each fix as verified.
9. Who tests, and how much is automated
Senior testers cost more per day but often need fewer days, and they find the chained, business-logic issues juniors miss. Ask who will do the work and whether any of it is subcontracted.
Automation changes the math too. Recon, scanning, de-duplicating noise and writing first drafts are repetitive work. When software handles them, more paid days go to work humans do best: access control, logic flaws and chaining small issues into a serious one. See AI penetration testing for where AI helps and where it still needs a human.
The hidden costs that never appear on the quote
- Delays: test accounts not ready or an environment down. NCSC advises keeping a technical contact available at short notice throughout.
- Scope creep: new hosts discovered mid-test that nobody priced.
- Report rework: rewriting the report for a customer or a board.
- Your team’s time: triage, fixes and coordinating the retest.
- Findings that never close: paying next year to find the same bug again. Vulnerability management that tracks each finding to a verified fix stops that. See why a yearly pentest won’t save your company.
How to compare two pentest quotes
Put the quotes side by side and check:
- Tester-days per target. If one vendor will not say, that is an answer.
- Manual share. How many days are hands-on testing rather than scanning?
- Methodology. Named frameworks, such as OWASP WSTG, PTES or NIST SP 800-115.
- Report quality. Proof of concept, CVSS 3.1 vector and a specific fix for every finding. Compare against our sample pentest report (PDF), and read how a defensible score is built in CVSS 3.1 scoring explained.
- Retest terms. Included, how many, and whether the report is updated.
- Critical findings. Reported to you during the test, not held for the final report.
- Delivery. A PDF alone, or findings your developers can discuss and track to a fix.
How to lower penetration testing cost without weakening the test
- Fix what a scanner can find first. NCSC’s view is that a pentest should mostly confirm issues you already know about. Paying testers to rediscover missing patches is the most expensive scan you can buy.
- Choose grey box for applications, and hand over documentation.
- Prepare before day one: accounts for every role, an API spec, staging data and a named contact.
- Combine targets. A web app, its API and the mobile app that calls it share recon and backend work, so one engagement costs less than three.
- Scope by risk. Test the payment flow and admin API deeply, and the marketing site lightly.
- Scan between tests. In the US, CISA’s Cyber Hygiene services offer free vulnerability scanning to eligible government and critical infrastructure organizations. It is not a pentest, but it keeps the basics clean.
Is a penetration test worth the cost?
Compare a scoped, known cost with an unscoped one. IBM’s Cost of a Data Breach Report 2025 put the global average cost of a breach at $4.44 million, and the US average at a record $10.22 million.
A pentest does not make you breach-proof. What it gives you is evidence: which flaws are real, how bad they are and whether your fixes hold. That evidence is worth most when you act on it.
Where AI-powered pentesting fits
WhyXpose is an AI-powered pentesting platform built to put more of your budget into the work that finds serious bugs:
- AI-guided recon and scanning. AI agents plan and run recon and scan pipelines and choose next steps, so fewer paid hours go on repetitive discovery.
- AI triage. Findings are filtered for false positives and ranked by risk before experts look at them.
- AI-drafted reports and fixes, with write-ups, proof-of-concept steps and remediation reviewed by experts.
- Human verification. Certified penetration testers and CVE holders verify every finding with a reproducible proof of concept and a CVSS 3.1 score, then retest after you fix.
WhyXpose is verified under the Cyber Verification Programs for Anthropic Claude and OpenAI Codex, and also runs self-hosted open-source AI models. Findings are tracked to the fix in the WhyXpose platform, with one-click PDF reports when you need the formal deliverable. We have secured 1,000+ companies to date, with one-time pentests, combined multi-target engagements or ongoing monthly programs. See our penetration testing services for every target we test.
Frequently asked questions
How much does a penetration test cost for a small business?
It depends on scope, not company size. A small business with one web app and a few internet-facing hosts has a small scope and a modest quote. Start with the asset that holds customer data or takes payments, test it grey box, and ask for quotes in tester-days.
Why are some penetration tests so cheap?
Usually because most of the work is automated. A scan has real value, but it will not find broken access control or business logic flaws. Ask for the manual share of the days and a sample report before you sign.
How long does a penetration test take?
It follows the tester-days in the scope. A narrow test of one application or a few hosts takes days of testing, while a multi-target engagement can take several weeks. Add time for reporting, your fixes and the retest.
Can a free vulnerability scan replace a penetration test?
No. Free scanning, such as CISA’s Cyber Hygiene services for eligible US organizations, catches known vulnerabilities and misconfigurations. It does not log in as each user role, chain issues together or prove impact, which is what a penetration test is for.
Want a quote built on tester-days instead of guesswork? Talk to a pentester about your scope, or get a demo of how WhyXpose finds, verifies and tracks every finding to a fix.
Put this guide into practice
Web, API, mobile and network pentests by certified testers, with a verified proof of concept for every finding.
Explore pentest services