In brief
The cost of a penetration test depends mainly on the number of days an engineer works, and that number is set by the scope: how many applications, user roles, API endpoints and business processes need checking. A mobile app, infrastructure, out-of-hours work and regulatory requirements push the price up. Compare quotes on scope, methodology, days of manual work, retest and a sample report, not on the total alone. The cheapest quote is often an automated scan labeled "pentest".
What you are actually paying for
A penetration test is the work of an engineer who spends several days, sometimes a few weeks, trying to do things in your system that should be impossible: see someone else's data, bypass authorization, change an amount or take over an account. Tools speed up part of that work, but flaws in business logic are found by a person. That is why almost every quote comes down to the number of person-days multiplied by a day rate.
The person-days cover:
- preparation: agreeing the scope and rules of engagement, test accounts, a short threat modeling session,
- manual and tool-assisted testing of every item in scope,
- the report: each vulnerability described with evidence, a risk rating and a fix,
- the retest: checking your team's fixes, often a few weeks later.
If a quote gives a total without the number of days, ask for a breakdown. Without it you cannot compare two offers, because you do not know how much work sits behind each.
Factors that change the quote
| Factor | What adds days | What removes days |
|---|---|---|
| Application size | many modules, forms, wizards | one simple portal |
| User roles | customer, advisor, administrator, partner, each with different rights | a single role |
| API | dozens of endpoints, several versions, partner APIs | a few endpoints with an OpenAPI file |
| High-risk processes | payments, bank account changes, account recovery | no financial operations |
| Test mode | black box, no accounts or documentation | gray box with accounts and an API description |
| Channels | iOS and Android apps, infrastructure, cloud | the web application only |
| Working conditions | nights, weekends, production | a test environment during business hours |
| Formal requirements | a report for an auditor, a DORA test | a report for the team |
Gray box testing usually gives more findings for the same money. The engineer does not spend days guessing how the application is built and goes straight to checking authorization between roles. Black box makes sense when the goal is exactly that: to see what an outsider with no knowledge can reach.
Threat-led penetration testing (TLPT) is a separate category. DORA, the EU Digital Operational Resilience Act, requires it from some financial entities at least every three years under Article 26. It is a different scale of work from testing one application: it covers critical functions in production and needs a separate team that prepares threat scenarios.
How to compare quotes step by step
- Send every vendor the same scope description: the list of applications with URLs, the number of roles, the number of API endpoints (ideally the OpenAPI file), high-risk processes, the environment and the time window.
- Ask for a breakdown by days: preparation, testing of each item, report, retest.
- Check the methodology. For web applications the reference is the OWASP Web Security Testing Guide, for APIs the OWASP API Security Top 10, for mobile apps OWASP MASVS. NIST SP 800-115 describes the general flow of a test: planning, discovery, attack, reporting.
- Ask for an anonymized sample report. A good report has a summary for management and a technical part, and every finding has steps to reproduce, evidence, a CVSS rating and a specific recommendation.
- Ask about the retest: is it included, how long after the report can you order it, does it cover all findings.
- Ask about the people: who will test, what experience they have with similar systems, and whether the vendor subcontracts the work.
- Put the rules of engagement in writing: scope, tester IP addresses, prohibited actions, an emergency contact and how the report will be delivered.
Warning signs in a quote
- A price with no number of days and no named methodology.
- Very little time for a large scope, for example two days for a portal with five roles and an API.
- A sample report where most items are scanner output (missing headers, server version) and there is not a single logic flaw.
- No retest, or a retest priced like the whole test.
- No questions about roles, processes or the environment. A vendor who asks nothing is usually planning a scan.
A vulnerability scan has value too and costs less, but it answers a different question. The differences are covered in Penetration testing vs vulnerability scanning.
How to lower the cost without losing quality
- Prepare accounts and test data for every role before the start. A tester's day spent waiting for access is a day paid for nothing.
- Share the API documentation and an architecture diagram. Gray box shortens reconnaissance.
- Remove from scope what was tested recently and has not changed since.
- Fix the obvious first: scanner findings, outdated libraries flagged by dependency analysis. These tools are described in SAST, DAST and SCA.
- Schedule the test before a release, not after it, so fixes fit into the plan and the retest covers the code that goes to production.
What the test itself looks like and what belongs in the report is covered in Web application penetration testing. At B2Bnetwork we run security testing based on OWASP, with a report for management and the team and a retest of fixes, as in the case study on testing a SaaS platform before a corporate customer's audit.
Questions and answers
Why do quotes for the same test differ several times over?
Because they usually do not describe the same test. One quote assumes a few days of tool runs, another two weeks of manual checking of roles, APIs and payment processes. Send everyone the same scope description and ask for a breakdown by days, the methodology and a sample report. Only then does the difference in price tell you something about price rather than scope.
How many days does a penetration test take?
It depends on the scope. A simple portal with one role takes a few days; an application with many roles, a partner API and a mobile app takes a few weeks for one or two engineers. The report and the retest come on top. The vendor should give the number of days for each item.
Should the retest be included in the price?
It is worth insisting on. A report without a check of the fixes does not tell you whether the gaps were closed, and that is usually exactly what an auditor asks. Agree in the quote how long after the report you can order the retest and whether it covers all findings or only critical ones.
How often do you need to pay for a penetration test?
Good practice is at least once a year and after every significant change, such as a new API, a new login flow or a new payment process. Some financial entities have additional obligations under DORA. Between tests, cheaper automation does the work: scanners in CI and dependency analysis.
Sources
- NIST SP 800-115, Technical Guide to Information Security Testing and Assessment
- OWASP Web Security Testing Guide
- OWASP API Security Project (API Security Top 10 2023)
- OWASP Mobile Application Security (MASVS, MASTG)
- FIRST, Common Vulnerability Scoring System v4.0: Specification Document
- Regulation (EU) 2022/2554 (DORA), EUR-Lex