How much does Penetration Testing cost in the UK?

Navigating the complexities of Penetration Testing Cost can be challenging for businesses. This blog post dives deep into the factors which need to be considered when pricing a penetration test. How does the test perspective come into it? What are the differences in pricing a web, mobile, API, or Network Infrastructure Penetration test? Read on to find out.

Introduction

When it comes to strengthening your company’s cyber security, penetration testing is a crucial practice to protect against threats such as Advanced Persistent Threats and Insider Threats. But how much does Penetration Testing Cost? The answer isn’t as straightforward as you might think.

Pen tests can range anywhere from £700 to £50,000+. Different types of assessments targeting distinct areas such as web applications, APIs, mobile apps, internal networks, or external networks all come with their unique pricing structures. The number of IP Addresses, API endpoints, or user roles in a web application are all factors when calculating the total cost of a penetration test. In this guide, we’ll break down the factors that determine penetration testing costs to help you understand where your investment goes and why.

Prefer to watch a video instead? Why not check out our Spotify video on scoping factors? For an accurate figure, request a fixed-scope penetration testing quote based on your systems.

What goes into pricing a penetration test? What are the factors?

The pricing of penetration testing services is not a one-size-fits-all situation. It’s influenced by numerous variables, including the scope of the test, the complexity of the systems in question, and the tools and methods required. Other considerations include your business size and type, your industry, regulatory compliance needs, and specific reporting requirements.

Several key factors determine the cost of a penetration test. The expertise needed to conduct the testing is a significant aspect – more experienced and certified professionals familiar with techniques such as Fuzzing and Footprinting will nearly always command a higher rate. The scope of the test also has a significant impact, as it dictates the amount of time and resources required to thoroughly assess the systems. Additionally, the urgency of the test, whether it’s a standard or a highly specialised assessment, and the geographical location (Meaning on-site, remote or hybrid) where the testing will take place, all contribute to the penetration testing price.

A key list of penetration testing cost factors:

Scope and complexity

Scope is the number 1 pricing factor when assessing penetration testing cost. This speaks for itself. The more assets undergoing assessment, the more days are usually required. The complexity of the environment also influences the price of the assessment. A standard WordPress installation with 3 plugins and 20 pages is going to take considerably less time than a complex enterprise crypto trading application built with web sockets and so on. More assets = More time.

The image shows the text, more assets, more complexity, more support equates to more days assigned for the penetration test.

Skills, expertise and experience of the provider/consultant.

A business’ maturity can impact how clients perceive their consultants’ expertise. Buyers should be cautious when taking this approach. Just because a company has been around longer does not mean the tester conducting the assessment will be good. From the Client’s perspective (to get the most value), the main element is the skills and experience of the consultants conducting the assessment. Look for quality certifications, such as OSCP, CREST CPSA, CRT, CCT-APP, CCT-INF and so on. The company itself may also be a CREST-registered company and/or have relevant certifications related to their testing standards. These can also influence the cost; a CREST-registered company may command a higher day rate than one without the certification. You might find that companies without certifications come in at the low end, around £700 per day. Take this as a red flag.

The company should follow a defined methodology for each assessment. This ensures consistency in the company’s testing standards. Usually, this is an amalgamation of OWASP, NIST, PTES, or a less standard methodology. Some companies may also use their own methodology, which is almost certainly a spin-off or variant of a tester standard.

The image shows in the text that, skills, certifications and commercial experience equates to a higher day rate.

Test perspective

The test perspective (whether the assessment is a Black Box Penetration Testing, Grey Box Penetration Testing, or White Box Penetration Testing) can significantly influence pricing. Due to the time it takes the tester to parse the information provided. A white-box assessment of a web application, where the tester has full access to the codebase, will likely take longer because it is more in-depth.

The image shows a picture of some web computer code. The image states that a white box assessment on a web application will typically take more time than a different text perspective.

A white-box assessment is for an internal infrastructure environment, where the tester has full knowledge of all the systems tested. It takes less time because the tester won’t have to probe assets to determine their function within the environment.

Most penetration tests are conducted from a grey-box perspective. This strikes a balance between the two. Black-box assessment can be more interesting from the client’s perspective, as it reflects the primary perspective of a would-be attacker.

Commercial factors: Discounts, Bulk days, Additional Value

Most companies will have a unique value proposition to bring to the table. Some may offer a discount on the day rate for buying bulk days (For example, if the day rate is usually £1000, and you buy 30 days. You may get a discounted day rate of £800, giving an overall reduction of £6,000 to the total value. £800 * 30 = £24,000). Some companies may offer discounts to certain industries (if they specialise in this area, such as IoT or Industrial control systems), or even offer a discounted rate to registered charities like us at Sencode.

The image shows in the text that bulk buying penetration testing days, alongside valued customer discounts equates to a reduced price for the penetration test.

Don’t forget retest requirements when determining the penetration testing cost.

This is a huge factor to consider when determining the true cost of a security assessment. If you have paid for 20 days of penetration testing (10 internal network, 5 external network, and 5 days of web application penetration testing), then this could easily run into 3-5 days for retesting the environment (which would typically be £5000+ for most penetration testing companies). Always ask the company how they handle retesting on a project: is it something they offer for free (We do) or factored in at the proposal stage? Look for this on the statement of work or proposal. Usually, a company will specifically detail whether a retest is included with the service.

It’s always worth asking the company what unique elements they offer. Determining this at the project proposal stage could make or break a deal.

How does the type of assessment influence penetration testing cost?

The cost of a penetration test is invariably influenced by the nature of the assessment, which may encompass various domains such as web applications, mobile platforms, network systems, APIs, etc. Each domain demands a unique approach, which affects the project timeline. To better understand, let’s look at a typical scoping scenario for each service.

Web Application Penetration Testing

The image shows a graph detailing the pricing factors for web applications, such as complexity, user-roles and api-endpoints. The image shows elements that influence the penetration testing cost.

Web application testing often requires a blend of automated and manual testing techniques to ensure a comprehensive assessment. In most cases, the web application will be tested manually for most of the assessment; some fuzzing is also likely. This is because manually testing every vulnerability on each parameter can be incredibly time-consuming. Most staged attacks against the web application will be configured manually, with automation aiding payload insertion and detection of a given vulnerability.

Cost factors for web application testing

  • Complexity of the application.
    • How many unique pages (Dynamic and static).
    • Data input: does the application have dozens of parameters per request? (I.e. a POST request with lots of parameters), or is it primarily making GET calls? These factors will be considered when assessing the overall complexity of the web application.
    • Usage of WebSockets (Testing an application that implements real-time WebSockets is time-consuming and can influence the cost of the assessment)
  • User roles within the scope.
    • Testing vertical and horizontal access controls on a large enterprise application takes time. The more user roles (Guest, Standard, Admin, Company Admin, SuperAdmin, for example), the more days required. This is primarily because the tester will need to assess the access controls at all levels of the application, to ensure no oversights in the authorisation design are present on the system.
  • Inclusion of an API
    • Most modern web applications are built with a back-end API driving much of the functionality. If the application is relatively small, but has a 500+ endpoint API. This will increase the days required to test the web application considerably. Typically, most vendors test 20-30 endpoints per day.
Example scope and cost

A medium-sized e-commerce application. Includes dynamic and static pages (Less than 50), user authentication, and payment gateway integration. Multiple user roles (customer, admin, vendor). The application utilises WebSockets and a backend API of approximately 70 request methods.

Due to the complexity, this could require around 6-8 days of testing. Assuming a day rate of £1,000, the cost could range from £6,000 to £8,000.

API Penetration Testing

The image shows a graph detailing the pricing factors for API assessments, such as CRUD operations, user-roles and whether documentation is available. The image shows elements that influence the penetration testing cost.

API penetration testing focuses on the points of interaction where apps exchange data. Pricing reflects API complexity, including the number of endpoints to test, the extent of documented use cases, and the need to understand business logic for effective testing. Just like web application testing, API testing will be a combination of manual and automated testing. Rate limiting, for example, requires automation to verify how the application responds to any attempt to consume large amounts of compute resources.

Cost factors for API Penetration Testing

  • Complexity of the API.
    • The more endpoints or request methods (PUT, POST, PATCH, DEL, GET), the more days required to test the API.
    • An API made up of mostly GET requests will take less time than an API with mostly POST requests (this is because POST calls often have many more parameters than GET requests).
  • User roles within the scope
    • Just like with web applications. The more user roles in scope, the more time it will take to test the API instance. However, testing an API for access control issues can be simpler than testing a web application. This usually involves swapping out a token (such as a JWT) and replaying the request.
  • API Documentation
    • Great documentation helps the tester set up API calls. This reduces the time it takes to test the API. (Swagger, Postman documentation, and OpenAPI specifications are all examples of API documentation)
    • A poorly documented API takes longer to test. This is because the tester will have to configure calls and may require further guidance/assistance from the company.
Example scope and cost

Testing an API with a moderate number of endpoints (around 100). Includes various request methods (GET (50), POST (20), PUT (10), DELETE (20)). Some documentation available (e.g., Swagger or Postman).

This could require around 3-4 days of testing. Assuming a day rate of £1,000, the cost could range from £3,000 to £4,000.

Network Penetration Testing

The image shows a graph detailing the pricing factors for network assessments,, such as complexity, presence of active directory, and segementation controls. The image shows elements that influence the penetration testing cost.

Network penetration testing prices are driven by the size and complexity of the network under review, the number of devices and endpoints included in the scope, and the variety of devices in the network itself (I.e. volume of servers and desktop computers etc)

Cost factors for Network Penetration Testing

  • Network segmentation and overall complexity
    • Segmented networks increase the complexity of the test. Each segment may require different approaches and tools, significantly impacting the time and resources needed to test the environment. In some cases, a “pentest box” (a machine configured for penetration testing, usually sent by the provider) may need to be moved to separate segments, which can take more time.
  • Volume of devices
    • The more devices (servers, routers, switches, firewalls, etc.) on the network, the more extensive the testing required.
  • Premises
    • Whether the test will be conducted on-site (I.e. travelling to the client site, which includes paying for accommodation and general expenses) or off-site and remotely. The chosen vendor could also ship a “Pen Test Box,” usually a NUC or laptop, that can be connected to the network and operated remotely by the vendor. This is a popular option for many clients.
  • Presence of Active Directory (Very common, obviously)
    • Testing environments with complex Active Directory setups, including multiple domains or intricate trust relationships, requires more in-depth analysis to complete a comprehensive assessment, thereby increasing the effort and cost of the test.
  • Virtualisation and Cloud Services
    • Networks that rely heavily on virtualisation or cloud services may become more complex, especially when evaluations of cloud setups and virtual machine connections are required.
  • Presence of wireless networks
    • Including wireless security assessments (Wi-Fi, Bluetooth, etc.) adds another layer of complexity and requires additional time for testing and analysis. Extensive access point testing usually requires an additional day.
Example scope and cost

Internal network testing for a small business with 50 employees. Includes servers, desktops, routers, and firewalls. Presence of Active Directory and basic network segmentation.

Likely to require 4-6 days of testing. With a day rate of £1,000, the estimated cost could be £4,000 to £6,000.

Mobile Application Penetration Testing

The image shows pricing factors for mobile application assessments, such as data input, code, authentication, platforms (iOS and Android), or user-roles. The image shows elements that influence the penetration testing cost.

Mobile application penetration testing costs account for the unique app ecosystems of iOS and Android, as well as the multiple app versions that may require testing. User roles, APIs, and third-party integrations will all be considered.

Cost factors for Mobile Application Penetration Testing

  • Platform Diversity & Complexity
    • Testing applications across different platforms (iOS, Android etc) increases complexity, as each platform has unique security features and vulnerabilities. Scoping a mobile assessment usually involves testing each platform independently.
  • Overall complexity
    • Complex mobile applications with a plethora of features, functions etc require more extensive testing. This affects the overall cost.
  • Presence of an API (Very common)
    • If the mobile application utilises a backend API. This will likely need to be tested using normal API testing methods. When scoping a mobile application penetration test, the volume of API methods/endpoints will increase the time taken for the test.
  • Third-party libraries and SDKs
    • Mobile applications that make use of several third-party libraries or SDKS will need additional testing. This is because the security of the dependencies must be considered.
  • Use roles and authentication mechanisms
    • Just like with API and Web testing. The presence of multiple user roles will increase the access control testing requirements. Various authentication mechanisms may be utilised (OAuth etc). Which will increase the scope of the testing.
Example scope and cost

Testing for a cross-platform mobile application (iOS and Android). Includes user authentication, third-party integrations, and backend API testing (50 endpoints). Multiple versions of the app.

Due to the complexity, this could require around 6-8 days of testing, given the platform diversity and complexity. Assuming a day rate of £1,000, the cost could be in the range of £6,000 to £8,000.

Need a Penetration Test and want to understand the costs?

Contact a member of our team who can help scope your assessment and provide a free, no-obligation quote.
CREST Accredited
Expert Consultants
Tailored Security
Reliable Reporting
Free Retesting
Client Centric
Post Test Support
Remediation Support
Contact Us

How can the penetration test cost be reduced on a limited budget?

For organisations with budget constraints, there are ways to reduce penetration testing costs without compromising essential security needs. However, reducing the scope and depth of the test can come with its own security risks. This, in turn, can negate efforts to secure the environment.

  • Asset prioritisation
    • Identifying and focusing on critical infrastructure, assets and applications can reduce the days required for a penetration test. A targeted approach ensures only the most essential areas are thoroughly examined.
  • Preparing for the assessment
    • As discussed earlier. Proper documentation and test readiness can reduce scope and the number of days required. Conducting internal vulnerability scans and addressing the “low-hanging fruit” before the test begins can meaningfully reduce the attack surface and the number of vulnerabilities a tester would typically discover. Address this at the scoping stage of the assessment and detail it clearly to the chosen vendor.
  • Defining objectives and scope
    • Be clear on the assessment objectives and take meaningful steps to reduce scope creep. Give the testing company an exact scope and ensure it does not change throughout the test.
  • Negotiate on price
    • It’s not unreasonable to negotiate the price with chosen providers. The proposed quote is usually determined based on the scoping call prior to the assessment. Based on the factors discussed in this post. If the price is too high, or the scope is too broad. Discuss this with the providers.
  • Project phasing
    • It’s reasonable to assume that the most critical assets should take priority. Phasing the assessment and identifying the most critical assets to test first can help reduce the cost of security assessments. Prioritise the most critical assets in the initial phases, then plan subsequent assessments as your budget allows throughout the year.
  • Establishing vendor/customer relationships
    • It goes without saying that establishing a good relationship with a provider can reduce your costs in the long run. If the same provider is doing the work, the relationship is mutually beneficial, and costs will likely be reduced over time. The more a company sees your environment and its requirements, the more familiar it becomes.

Conclusion

Let’s wrap things up. Thank you for reading if you’ve made it this far. We have extensively discussed the numerous factors that can be factored into pricing an assessment. The primary determinants include the scope and complexity of the test, the testing perspective, and many commercial factors to consider.

Organisations should understand that while costs may vary based on these factors, the value of a thorough and expert penetration test is undeniable in safeguarding digital assets. Cybercrime is increasing, and the cost of an assessment can far outweigh the cost of a potential security breach.

Ultimately, a penetration test should be viewed as an investment for an organisation and a fundamental component of a modern digital business. Implementing robust security measures like Multi-Factor Authentication (MFA) and Defence in Depth strategies can significantly mitigate risks and protect against evolving cyber threats.

Contact us

Get a free, no obligation quote from one of our expert staff.