Load Test Calculator: Virtual Users, Pacing and Throughput

Platform

This load test calculator answers the three questions you face before every performance test: how many virtual users you need for a target load, what pacing gives you a required number of business transactions per hour, and how many requests per second a given number of virtual users will produce. All three come from one formula, Little's law:

N = X × (R + Z)

where N is the number of concurrent virtual users, X is the throughput in iterations per second, R is the total response time of one iteration (k × r: the number of requests in the iteration times the response time of one request) and Z is the think time per iteration. An iteration is one pass of the virtual user through its script, for example search, open a product and add it to the cart. The calculators are a quick tool that runs in your browser and sends no data anywhere: fill in the fields and the result updates as you type, with no button to press. Each field starts with the default values of the worked example below it, and below each calculator you will find the formula, so you can check the numbers by hand.

Terms the Calculator Uses

TermSymbolUnitWhat it means in a load test
Virtual users (VUs)NusersLoad threads that run the script at the same time
ThroughputXiterations per secondHow many passes of the script the system receives per second
Requests per secondRPSrequests per secondk × X: how many requests the system receives per second
Requests per iterationkrequestsHTTP requests that one pass of the script sends
Response time per requestrmsAverage time the system needs to answer one request
Think timeZseconds per iterationPauses the script makes between requests, the sum for one iteration
Iteration durationDsecondsk × r + Z: how long one pass takes without pacing
PacingPsecondsTime from the start of one iteration to the start of the next for the same VU

For details on how virtual users relate to real visitors, see our article on concurrent and simultaneous users, and the glossary entries on think time and throughput.

1. How Many Virtual Users Do I Need for a Target RPS?

Base the target on data rather than a guess: the busiest hour in the analytics of your site, or the peak the business expects. Enter the target requests per second, the number of requests in one iteration, the average response time and the think time per iteration. To calculate the answer, the calculator converts requests per second to iterations per second and applies Little's law:

  • Iteration duration: D = k × r + Z (r converted to seconds)
  • Iterations per second: X = RPS ÷ k
  • Virtual users: N = X × D, rounded up

Worked example. You need 100 requests per second. One iteration sends 10 requests, the average response time is 500 ms and the script pauses 20 seconds in total. One iteration lasts 10 × 0.5 + 20 = 25 seconds. You need 100 ÷ 10 = 10 iterations per second, so N = 10 × 25 = 250 virtual users.

Think time changes the answer more than anything else. Remove the 20 seconds of think time from the same example and 50 virtual users produce the same 100 RPS, because each of them sends requests five times as often. A test with few VUs and no pauses can reach the target RPS, but it opens far fewer connections and sessions than real visitors would, so it may miss problems with connection pools, sessions and caches.

2. Pacing Calculator for Performance Testing

Business requirements usually come as volumes: 3,600 orders per hour, 20,000 logins per hour. Pacing turns that volume into a schedule for each virtual user: it determines how often each VU starts the script. Enter the number of VUs, the target number of iterations per hour and the measured duration of one iteration without pacing (response times plus think time). The requests per iteration field is optional: fill it in and the calculator also shows the RPS.

  • Pacing: P = N × 3,600 ÷ iterations per hour (seconds)
  • Wait added by pacing: P − D
  • If P is shorter than D, the VUs cannot reach the target, because an iteration cannot start before the previous one ends. The minimum number of VUs is then N = iterations per second × D, rounded up.

Worked example. The target is 3,600 orders per hour, which is one order per second. You plan 50 VUs and one checkout iteration takes 30 seconds. Pacing is 50 × 3,600 ÷ 3,600 = 50 seconds: each VU starts a new checkout every 50 seconds and waits 20 seconds after each one. With 20 VUs the pacing would be 20 seconds, shorter than the 30-second iteration, so the target is out of reach; you need at least 30 VUs.

Pacing keeps the rate of iterations stable while the response time moves, as long as the iteration stays shorter than the pacing. In Apache JMeter the usual way to hold a rate is a timer such as the Constant Throughput Timer or the Precise Throughput Timer (JMeter component reference).

3. Throughput Calculator: RPS From a Number of Virtual Users

The reverse question: you have a number of VUs, for example the size of your current test, and want to know the load it creates. Enter the VUs, requests per iteration, response time, think time and, if you use it, pacing (leave the value at 0 for no pacing):

  • Cycle per VU: C = max(D, P), where D = k × r + Z and P = 0 if you use no pacing
  • Iterations per second: X = N ÷ C
  • Requests per second: RPS = k × X

Worked example. 200 VUs run a script with 8 requests, 400 ms average response time and 12 seconds of think time. One iteration lasts 8 × 0.4 + 12 = 15.2 seconds, so the VUs complete 200 ÷ 15.2 = 13.16 iterations per second, which is 105.3 requests per second or about 47,400 iterations per hour. Add a pacing of 20 seconds and the same 200 VUs produce 10 iterations per second, 80 requests per second.

Worked Examples for Common Load Tests

The table repeats the calculation for typical scripts. The inputs are examples, not benchmarks: use values based on the response times and think times of your own system.

ScenarioTarget RPSRequests per iterationResponse timeThink time per iterationIteration durationVirtual users
API endpoint, no pauses2001200 ms0 s0.2 s40
Login and dashboard504300 ms10 s11.2 s140
Browse a catalog10010500 ms20 s25 s250
Checkout208800 ms30 s36.4 s91
Pacing scenarioTarget per hourVirtual usersIteration durationPacingWait per iteration
Orders3,6005030 s50 s20 s
Orders, too few VUs3,6002030 s20 snot reachable: needs 30 VUs

When Little's Law Gives the Wrong Answer

Little's law is exact for averages over a steady period, but the inputs of a load test are not steady. Check these limits before you trust the numbers.

  • The response time grows under load. The calculator uses the response time you enter, usually measured at low load. At the target load the system may answer slower, and then the same VUs send fewer requests. Run the test, take the response time at the target load and calculate again.
  • Closed and open workload models behave differently. Virtual users that wait for a response before the next request form a closed model: when the system slows down, they slow down with it and the arrival rate drops. The Grafana k6 documentation describes this effect as coordinated omission (k6, open and closed models). An open model starts new iterations at a set rate, whatever the response time, for example with the k6 constant-arrival-rate executor (k6 docs), the Gatling open injection profiles (Gatling docs) or the JMeter Open Model Thread Group. Internet traffic from many independent visitors is closer to the open model; a fixed set of employees working in a back-office system is closer to the closed one.
  • Ramp-up and ramp-down are not steady. The law holds for the period when all VUs are running. Read the throughput from that period, not from the whole test. Our article on the JMeter ramp-up period explains how to set it.
  • Fast errors inflate the throughput. A server that rejects requests in 5 ms lets the VUs send far more requests than a healthy one. Check the error rate before you read the RPS.
  • Averages hide the tail. Little's law works with average response time and gives no information about the 95th percentile, which is what users notice; set a separate goal for it.
  • The load generator has limits too. If the machine that runs the VUs runs out of CPU or connections, the response time it measures grows although the system under test is fine.

Set This Profile in PFLB Platform

PFLB Platform describes load in the same terms as the calculator: virtual users, timers and response time. In the documentation of the Load profile step, the Number of VUsers field is defined as "the number of load threads. The intensity of the load depends on the number of virtual users, timers and response time of the testing system" (PFLB docs, create a test). That sentence is Little's law. What the documentation describes, step by step:

  1. Think time as timers. A default timer is enabled for all requests of a test. You can turn it off or select its type: Constant, with a duration in seconds, or Random, with a range in seconds (PFLB docs, default settings). Because the timer adds a delay before each request, the think time per iteration is about k × the timer delay. For the catalog example above, 20 seconds over 10 requests is a constant timer of 2 seconds. A timer in a settings set overrides the timer of the test (PFLB docs, settings sets).
  2. Virtual users in the Load profile step. Choose the Percent mode, where you split VUs between use cases in percent, or the Users mode, where you design the load for each use case separately. For a Stable test you enter the Duration, the Ramp-up time, the Number of VUsers and the Ramp-down time, all times in minutes (PFLB docs, create a test). Put the number of VUs from the calculator into the Number of VUsers field.
  3. Steps to find where the response time starts to grow. A Scalability test raises the load step by step: you set the Number of steps, the Step VUsers increment, the Step duration and the Duration at max load. For the catalog example, five steps of 50 VUs reach 250 VUs, and you see on which step the response time leaves the value you entered in the calculator.
  4. The target as an SLA. In the SLA step you can add a test-level SLA on Request per second, Average response time, Error rate or Percentile 95, and a transaction-level SLA on Transaction per second (PFLB docs, create a test). Enter the target RPS from the calculator, and the test run shows whether the VUs actually reached it.
  5. JMeter scripts. If you import a JMX file, you edit the load profile of jp@gc - Ultimate Thread Group steps in the platform: Start delay, Duration, Ramp-up time, Number of VUsers and Ramp-down time (PFLB docs, import from JMX). Timer values and the number of users in the script must be explicit numbers, not ${paramname} parameters (PFLB docs, FAQ).

The documentation does not describe a separate pacing setting. To get close to a pacing P with the default timer, set the delay per request to (P − k × r) ÷ k; it drifts when the response time changes, so check the iteration rate in the test results. We checked the PFLB facts on 17 November 2026 against the PFLB documentation.

Sign Up

Not sure your load model matches real traffic? PFLB's performance engineers design the load model, run the performance tests and explain where the bottleneck is.

Contact Us