How much does a penetration test cost in 2026?
A web app penetration test usually costs $5,000–$30,000 in 2026, driven by scope, user roles and API size. See price ranges, cost drivers and what to ask for.
A penetration test for a typical SaaS web app and its API costs roughly $5,000 to $30,000 in 2026. A focused test of one app with a few user roles sits at the low end; several apps, complex permissions, mobile clients or a cloud review push it higher. The scope you sign, not the vendor’s brand, is what decides the number.
In short
- A quick external security review: roughly $1,500–$4,000.
- One web app and API, a few roles: roughly $5,000–$10,000.
- Several apps, many roles, or app plus cloud: roughly $10,000–$30,000 or more.
- The biggest price drivers are user roles, API endpoints, integrations and whether retesting is included.
- Ask whether fixes and a retest are in the price. Often they are not.
What does a penetration test actually cost by type?
The ranges below are typical market prices for small and mid-sized SaaS products tested by independent specialists and boutique firms. They are not quotes. Large consultancies often sit above these ranges, and automated-only services sit below them.
| Type of test | Typical scope | Typical duration | Typical price range |
|---|---|---|---|
| Quick security review | External checks, headers, auth hygiene, exposed services | 3–5 days | $1,500–$4,000 |
| Web app and API test | One app, 2–4 user roles, one API | 1–2 weeks | $5,000–$10,000 |
| Multi-app or complex test | Several apps, many roles, partner APIs | 2–4 weeks | $10,000–$30,000 |
| Cloud configuration review | One or two cloud accounts | 1–2 weeks | $3,000–$12,000 |
| AI or LLM feature test | Prompt injection, data leakage, tool use | 1–2 weeks | $4,000–$20,000 |
| Secure code review | Auth, payments and data-access code | 1–2 weeks | $3,500–$15,000 |
If your buyer only needs proof that someone independent has tested the product recently, a focused web app and API test is usually enough. If you are about to handle payments, health data or other regulated data, expect a broader scope.
What makes a penetration test more expensive?
Pentest pricing is effort pricing. Vendors estimate how many tester-days the scope needs and multiply by a day rate. These are the factors that change the number of days.
How many user roles does your app have?
Access control is where SaaS apps break most often: one customer seeing another customer’s data, a regular user reaching an admin action, or an invited guest keeping access after removal. Each role has to be tested against every other role. An app with “admin” and “member” is much quicker to test than one with owners, admins, billing managers, read-only users and API tokens.
How large is the API?
A tester has to understand and attack each endpoint. Twenty endpoints and two hundred endpoints are very different jobs. Sharing an OpenAPI specification or a Postman collection saves time and money, because the tester does not have to map the API by hand.
Is it a black-box or white-box test?
In a black-box test the tester gets only a URL and a login. In a white-box test they also get documentation and sometimes source code. White-box testing finds more in the same number of days, so it is usually better value even if the day rate is the same.
Does the price include a retest and fix help?
Some firms quote a low number and then charge again to verify your fixes. Others include one retest within 30 days. A few, Ironward among them, ship fixes as pull requests. Compare like with like before you compare prices.
Where is the test environment?
Testing a staging copy is safer and faster. Testing production needs agreed time windows, rate limits and an emergency contact, which adds coordination time. Either way, a legitimate tester only works on systems you own or are authorised to test, under a written scope.
Penetration test vs vulnerability scan: which do you need?
Both have a place. A scanner is cheap, runs every day and catches known patterns. A manual test is expensive, runs a few times a year and catches the flaws that cause real breaches in SaaS products.
| Automated vulnerability scan | Manual penetration test | |
|---|---|---|
| Typical cost | Free to a few hundred dollars a month | $5,000–$30,000 per test |
| Finds outdated libraries and missing headers | Yes | Yes |
| Finds broken access control between customers | Rarely | Yes |
| Finds business-logic abuse (coupons, limits, workflows) | No | Yes |
| Accepted by enterprise buyers as a “pentest” | Usually not | Yes |
| How often | Every build or every day | Once a year and after major changes |
The sensible setup for a startup is scanning in CI on every pull request, plus a manual test at least once a year. If you have not set up scanning yet, our guide to DevSecOps pipelines explains what to add first.
How do you get an accurate penetration test quote?
You get a tighter quote, and a better test, when you send the tester the right information up front.
- List what is in scope. Domains, apps, APIs and any mobile clients. Say clearly what is out of scope, such as third-party services you do not control.
- List the user roles. Include every role a customer can hold, plus internal admin roles.
- Share the API definition. An OpenAPI file or Postman collection cuts mapping time.
- Say why you need the test. “A buyer’s questionnaire asks for a test in the last 12 months” leads to a different scope than “we want to find everything before launch”.
- Give the deadline. If the report has to reach a buyer by a certain date, say so. Rushed tests cost more.
A good vendor turns this into a written scope with rules of engagement, test windows, contacts and a fixed price. Do not let anyone start testing without that document.
What should a penetration test report include?
A useful report is short enough to act on. At minimum, it should contain:
- An executive summary a non-technical buyer can read in two minutes.
- The exact scope and dates of testing.
- Each finding with a severity, a plain-words impact, reproduction steps and evidence.
- Specific fix guidance, not just a link to a generic advisory.
- Retest results showing which findings are now fixed.
Many buyers are also happy with a one-page letter confirming the dates, scope and that critical and high findings were fixed. That letter is often what ends up attached to a security questionnaire.
Worked example: what would a typical startup pay?
Consider a B2B SaaS product with one web app, a REST API of about 60 endpoints, three customer roles and one internal admin role, hosted on a single cloud account. The founder needs a test report for a first enterprise deal in six weeks.
- Scope: web app, API, all four roles, plus a light check of the cloud perimeter.
- Effort: about five to eight tester-days, plus reporting and a retest.
- Likely price range: about $5,000–$10,000 from an independent specialist or boutique firm.
- Timeline: one week to scope and schedule, one to two weeks of testing, a few days to fix, then a retest.
If the same company also has an AI assistant that reads customer documents, add LLM testing for prompt injection and cross-customer data leakage. That typically adds several days. Our practical guide to the OWASP Top 10 for LLM apps covers what that testing looks for.
Is a cheap penetration test worth it?
Sometimes. A low price is fine if the scope is small and the tester is doing real manual work. It is a problem when a “pentest” is really an automated scan with a branded cover page. Ask these questions before you buy:
- Who will do the testing, and what have they built or published?
- How many tester-days are in the quote?
- Will they test access control between every pair of roles?
- Is a retest included, and is fix help included?
- Can they show a sample report with the client details removed?
If the answers are vague, the price is not a bargain.
How to budget for security after the first test
The first test is rarely the last. A realistic yearly budget for a growing SaaS company includes one full test, scanning in CI, a few smaller reviews when big features ship, and time to answer questionnaires. Some teams buy those as separate projects; others prefer a monthly retainer so a security engineer is on call.
You can see fixed starting prices for each of these on our pricing page, and what a full web app and API test includes on the penetration testing page.
Get a fixed quote for your test
Ironward is priced well below these market ranges: a quick external scan starts at $100, a manual web app test at $500, and a web, API and cloud test at $1,200, each for a fixed scope; see our pricing page. Send us your scope, user roles and deadline, and we will reply within one business day with a written scope and a fixed price. All testing is authorised and limited to the systems you list. Start here.
Quick answers
How long does a penetration test take?
A focused test of one web app and its API usually takes one to two weeks of testing, plus a few days for reporting. Larger scopes with several apps, many roles or a cloud review can take three to six weeks.
Is an automated vulnerability scan the same as a penetration test?
No. A scan checks for known patterns such as outdated libraries or missing headers. A penetration test is a person trying to break your access control, business logic and authentication, which scanners rarely catch.
How often should a SaaS company get a penetration test?
At least once a year, and after any major change such as a new authentication system, a new public API or a large AI feature. Many enterprise buyers ask for a test dated within the last 12 months.
Does the price of a penetration test include fixing the issues?
Usually not. Most firms report findings and leave the fixes to you, sometimes with a paid retest. Ask in writing whether remediation help and a retest are included before you sign.