- penetration-testing
- security
- pentest-cost
- scoping
- startup
How Much Does a Penetration Test Cost? What Drives It

Penetration testing cost is not a fixed number you can look up. It is the result of a scope: how many applications, APIs and user roles the tester has to cover, how deep the testing goes, and what you need delivered afterwards. Two quotes with the same headline can describe very different amounts of work, and two very different quotes can describe the same work.
This guide explains what drives the cost, how to compare quotes like for like, and what is usually not included. It does not quote prices on purpose: any figure published without knowing your scope would be a guess. It is a practical overview, not procurement or compliance advice.
Why there is no standard price
A penetration test is a time-boxed assessment, and the main input is tester time. Time depends on how much there is to test and how carefully it is tested. A marketing site with a contact form and a multi-tenant SaaS platform with payments, roles and an API are both "a web app", yet they are not the same job.
That is why a serious provider asks questions before quoting. If someone quotes without asking what the application does, who uses it and what sits behind the login, the quote is either padded or the test will be shallow.
What drives the cost of a penetration test
The table lists the scope drivers that most change the effort. The direction is qualitative on purpose.
| Cost driver | What it means | Effect on effort |
|---|---|---|
| Number of applications | Web app, admin panel, customer portal, mobile app: each one is a separate target | More targets, more testing time |
| Size of the app | Number of screens, features and distinct workflows | Larger surface means more to cover |
| APIs and endpoints | REST or GraphQL endpoints, webhooks, third-party integrations | Every endpoint needs authorization and input checks |
| User roles | Visitor, customer, staff, admin, tenant owner | Each role adds access-control checks between roles |
| Test type | Black box, gray box or white box (see our comparison) | White box adds code review, black box adds discovery |
| Depth | Broad automated-plus-manual coverage versus deep manual work on critical flows | Deeper testing takes more tester time |
| Environment | Staging that mirrors production versus production only | Poor staging slows testing and limits what is safe to try |
| Business logic | Payments, credits, coupons, approvals, multi-step flows | Logic flaws need manual thinking, not just tools |
| Reporting and retest | Report detail, a debrief call, verification of fixes | More deliverables mean more effort |
| Timeline | Urgent start dates or tight testing windows | Less flexibility on scheduling can change the setup |
The two drivers founders most often underestimate are roles and APIs. A single-role app with a handful of endpoints is a small job. The same app with three roles and a public API multiplies the access-control questions the tester has to answer.
How to compare penetration test quotes
Price alone is a poor comparison, because the quotes may not describe the same work. Put the quotes side by side and check each of these points.
- Scope in writing. Are the targets listed precisely: domains, apps, API base URLs, roles? A vague scope hides what is excluded.
- Test type. Is it black box, gray box or white box, and does that match your question?
- Manual versus automated. A scanner run with a report attached is a vulnerability scan, not a penetration test. Ask what is tested by hand, such as access control and business logic.
- Methodology. Testers usually reference public standards such as the OWASP Web Security Testing Guide and the OWASP Top 10. Ask which one applies to your target.
- Report content. Does each finding come with evidence, impact, a severity rating method and a specific fix? Ask for a sample report with client data removed.
- Retest. Is verification of your fixes included, and how many rounds? Without it, you have a list of problems and no confirmation they are closed.
- Who does the work. Ask who will actually test your application and whether you can talk to them before the start.
- Assumptions. Look for lines such as "up to N endpoints" or "one role". They set the point where extra work is billed separately.
- Testing rules. Is there a written authorization, a testing window and an agreed way to stop if something breaks?
If two quotes differ a lot, the gap is usually in points 1, 3 and 6.
What is usually not included
Quotes tend to list what you get. These are the items to confirm, because they are often outside the base scope:
- Fixing the findings. A penetration test finds and documents problems. Writing the code that fixes them is a separate piece of work, with your team or with a development partner.
- Retesting. Sometimes one verification round is included, sometimes it is optional.
- Third-party systems. Payment providers, cloud platforms and SaaS tools you integrate with need their own permission and are normally out of scope.
- Denial-of-service and heavy load testing. Usually excluded because it can disrupt production.
- Social engineering and physical testing. Phishing your staff or entering an office is a different engagement.
- Source code review. Only part of white box work; a black box or gray box test does not include it.
- Compliance paperwork. A report supports a security review, but a penetration test does not give you a certification, and a questionnaire may ask for more than a report.
- Ongoing monitoring. A test is a snapshot. What happens after it, such as monitoring and patching, is separate.
A penetration test shows the problems found within the agreed scope. It does not prove that none exist, so it works best as one stage in a loop of assess, fix, retest and monitor.
How to prepare so the quote is accurate
Scoping is faster and the quote is more reliable when you can answer these before the call:
- What are the applications and their URLs, and which are in scope?
- Which user roles exist, and can the tester get an account for each?
- Is there an API, and is there documentation such as an OpenAPI file?
- What does the application handle: payments, personal data, health or financial records?
- Is there a staging environment that mirrors production?
- Why now: a launch, a customer security review, an incident, or an inherited codebase?
For API-heavy products, our API security best practices guide lists the controls a tester will check first. If part of your product was built with AI tools, the production-readiness checklist for vibe-coded apps shows where to look before a test.
FAQ
How much does a penetration test cost? It depends on scope, so there is no honest single figure. The main drivers are the number of applications, APIs and user roles, the test type and depth, and whether the quote includes a retest. A written scope is what turns those factors into a quote.
Why do penetration test quotes differ so much? Because they often cover different work. One quote may include manual testing of access control and a retest, another may be a scanner run with a report. Compare scope, test type, manual effort, report content and retest before comparing totals.
Is a vulnerability scan the same as a penetration test? No. A vulnerability scan is mostly automated and lists known issues. A penetration test adds manual work by a tester who tries to chain issues and abuse business logic, and reports what is actually exploitable.
Talk to us about scope
The fastest way to get an accurate quote is to describe your application, roles and the reason for the test. We offer black box, gray box and white box testing within a written scope, with evidence for each finding and a retest after fixes. See how we work on web and API penetration testing and request a scoping conversation there.
Have a project idea?
Get a rough estimate in 5 minutes with our Project Scoper.
Scope Your ProjectReady to discuss?
30 minutes. No pitch deck. Just an honest conversation about your project.
Book a Free Call





