Web application penetration testing cost depends on scope, not on how many pages your site has: how many user roles, APIs, integrations and environments a tester must cover, how much access you give them, and whether a retest is included. Fix those inputs first and quotes from different providers become comparable.

A provider who quotes a number after hearing only "we have a web app" is guessing, or selling a scan. Below is a sequence that turns a vague request into a scope sheet any competent tester can price.

What drives web application penetration testing cost?

Tester time drives the price. A pentest is billed in effort, and effort grows with the number of roles, API endpoints, business workflows, integrations and environments to be tested, plus the depth of access you grant and whether a retest is included. Page count barely matters.

Scope decisionHow it changes effort
User roles (anonymous, customer, staff, admin)Every role adds its own authorization checks, and every pair of roles adds cross-role tests
APIs and mobile backendsEach endpoint family needs its own input and access testing, often more than the web front end
Integrations (payment, SSO, e-invoice, email)Tested on your side of the boundary; more integrations mean more trust relationships to probe
EnvironmentsA single staging copy is cheaper to test than staging plus production plus a tenant-specific setup
Box type (black, grey, white)Less access means more time spent on discovery; more access means deeper but longer analysis
RetestSmall compared with the first round, but it must be agreed in advance

Two applications with the same number of screens can differ several times over in effort. A brochure site with a contact form and a multi-tenant billing portal are not the same job.

Most providers turn that effort into a price as tester days multiplied by a day rate. They then quote either a fixed price for the scope written on the sheet, or time-and-materials. A fixed price gives you a ceiling, but only for the scope on paper: if the scope grows mid-test, expect a change request. Time-and-materials suits a scope that is still fuzzy, but insist on a cap and a weekly effort report.

Seven steps to a scope you can get comparable quotes for

1. Decide why you need the test

Write the reason in one sentence, because it sets depth, timing and who reads the report.

  • Compliance or audit: ask the auditor which standard, which evidence and which report format they accept. Do not guess.
  • Customer questionnaire: find out whether the customer wants the full report, a summary letter, or only a statement that a test was done. Some customers accept a summary letter instead of the full report, so ask which they need before you request a quote.
  • Pre-launch: the date matters. Findings need fix time, so book the test weeks before go-live, not the week of.
  • After an incident or a specific worry: a narrow, focused test on the affected area is usually better than a broad one.

2. Inventory what is in scope

List every role, and prepare one test account per role. List every API (an OpenAPI file or a Postman collection saves the tester hours), every integration, every environment and the technology stack. Also list what is explicitly out of scope, such as a third-party SaaS you do not own.

A hypothetical example: a B2B portal with customer, accountant and admin roles, three tenants and a payment gateway. The costly question is not the screen count. It is whether tenant A can see tenant B's invoices by changing an ID, and whether an accountant can reach admin functions. That is where the hours go, and the scope sheet should say so.

3. Choose black-box, grey-box or white-box

Black-box means the tester starts with nothing but the URL, like an outsider. It looks realistic, but much of the budget goes on discovery. Grey-box gives test accounts and documentation. White-box adds source code and architecture access, which finds the most but takes the longest.

Grey-box is usually the sensible default for a first test of any application with logins, because broken access control sits at the top of the OWASP Top 10 and cannot be tested properly without an account for each role. Choose black-box when you specifically want to measure what an anonymous attacker sees. Choose white-box when the application handles money or health data, or when you will change the architecture soon.

4. Decide between a vulnerability assessment and a full penetration test

A vulnerability assessment looks for known weaknesses, mostly with scanners and a human who filters false positives. A penetration test goes further: a person tries to chain weaknesses together, abuse business logic and prove what an attacker could actually reach. If you want the longer background, our plain-language guide to web application security testing covers both.

An assessment is enough for a static corporate site with no logins, for a routine check between pentests, and for confirming that a patch round worked. A pentest is the right choice once you have logins, payments, personal data or a contractual requirement that names it. Vulnerability assessment vs penetration test is not a quality ladder. They answer different questions, and the assessment costs less because it uses less human time.

5. Agree authorisation, rules of engagement and the test window

Start with paper. A signed authorisation letter from the system owner, naming the targets, the dates and the tester's source addresses, protects both sides. If the application runs on a cloud or hosting platform, check the provider's own testing rules first, and get written consent from any third party that operates a component you want tested, such as a payment page or an SSO service. Say explicitly whether denial-of-service testing and social engineering (phishing your staff, for example) are in or out. Both are usually excluded unless you ask for them, and both carry risks that deserve a separate conversation.

Then put the technical rules in writing before any traffic is sent:

  • Which environment is tested. Staging is safer, but only if it matches production. A staging database that is a month old, or a staging server without the production proxy, gives you a test of something you do not run.
  • Test window and source IP addresses, so your monitoring team can tell the test from a real attack.
  • Whether the WAF stays on. Leave it on if you want to know how production behaves; allow-list the testers if you want the application itself examined.
  • Stop conditions and an emergency contact on both sides, for example if the tester sees real customer data or the site slows down.
  • Data handling: no bulk download of real personal data, evidence stored encrypted, deletion after a stated period, and a confidentiality clause. The clauses in a software support agreement show how confidentiality and responsibility wording works in plain language.

Take a fresh backup before the window opens. A good tester rarely breaks anything, but input fuzzing against a fragile form can fill a table with junk.

6. Ask for the right quote contents

Send the scope sheet from steps 1 to 5 to each provider and ask them to answer the same questions. Use this pentest quote checklist when you compare providers:

  1. Methodology: which framework they follow (the OWASP Web Security Testing Guide and OWASP Top 10 are the common references) and how much is manual versus automated.
  2. Effort: the number of tester days, and the seniority of the person doing the work.
  3. Deliverables: executive summary, technical findings, evidence, and a debrief call.
  4. A sample report, with client details removed.
  5. Retest: included or not, how long it stays open, and how many rounds.
  6. Pricing model: fixed or time-and-materials, assumptions and exclusions, and what happens when scope changes mid-test.
  7. Data handling, storage location and deletion of evidence.

When you ask different web application penetration testing services the same seven questions, the differences between them show up in the answers rather than in a single total.

7. Compare quotes and spot red flags

Put the quotes side by side on your own sheet, with tester days as the first row. A price without stated effort cannot be compared. If one quote is far below the others, the usual reason is fewer hours or a scanner doing the work.

The clearest red flag is the sample report. If it looks like a scanner export with a branded cover page, long blocks of generic CVE text and no sign of manual testing, you are being sold a vulnerability assessment under a pentest label. A fixed price that arrives without a single question about roles, APIs or environments points the same way, because nobody can estimate effort without them.

Watch the retest line too. No retest means you cannot prove your fixes worked. A retest priced like a new test usually means the first report is hard to reproduce, so the tester must start over. Severity given only as a CVSS number, with no reasoning about your business, tells you the author did not look at what your application does. And any promise that the application will be "fully secure" is a reason to walk away; no honest tester says that.

What a useful report looks like and what to do with it

Every finding should be reproducible: the affected URL or endpoint, the role used, the exact steps, and the request and response as evidence. Severity should come with reasoning, such as "any logged-in customer can read other customers' invoices, so impact is high", rather than a bare label. Fix guidance should be specific to your stack, not a link to a generic article.

Expect also a short executive summary written for non-engineers, a statement of what was and was not tested, and the dates. That last part matters when an auditor or customer reads the report a year later.

When the report arrives, triage in a meeting with the tester and your developers on the call. Fix the high-severity items first; our guide to what to fix first after a scan shows a practical way to order the work. Then run the retest, because a fix that changes one validation rule often breaks another. Keep the original report, the retest letter and your fix tickets together. That bundle is your evidence for audits and customer reviews.

A pentest is a snapshot, and new code ships the week after it ends. Regular OWASP Top 10 checks as part of ongoing development work, like those in the IT Developer plan on our IT outsourcing page, keep the gap between snapshots from growing unchecked.

Penetration testing in Vietnam: working with a Vietnam-based provider

The practical differences are time zone and communication, not capability. Vietnam is UTC+7, so European business mornings overlap with the Vietnamese afternoon, and teams in the US usually need an agreed handover window. Settle the channel (email plus a shared chat), the language of the report, and who approves a pause if something looks wrong.

Testing is remote by nature, so agree on fixed source IP addresses and a VPN or allow-list rather than ad hoc access. Ask where evidence is stored and when it is deleted. If you operate in Vietnam, on-site debriefs in Ho Chi Minh City or Hanoi are easier to arrange with a local provider.

Microads service hours are 08:00 to 19:00 Vietnam time, and out-of-hours work is agreed in advance. Confirm the equivalent for any provider you consider, including who answers if production slows down during the window.

How Microads approaches penetration testing

We build software, so security sits inside delivery: our security-by-design practice means a security review and a pentest before go-live, not after the first incident. The same company offers penetration testing services, vulnerability assessment, WAF and threat monitoring, described on our services overview.

The first consultation is free, and a quotation follows within 24 hours once the requirements are clear. Your next step today: fill in a one-page scope sheet with your goal, roles, APIs, integrations, environments and preferred box type, then send it through the contact form. You can also write to us directly. Email: sales@microads.vn