TPS Calculator

Free Tool

Measure the actual throughput of your test by calculating how many transactions are processed per second over the test duration.

Performance Testing

User load.

Time to complete one iteration.

Get this value from the performance test script.

Delay between two iterations.

Sum of all the think times used in the script.

* Required fields. Results update automatically as you type.

Results

Enter your values to see the result.


What is the TPS Calculator?

The TPS Calculator estimates the transactions per second (TPS) and transactions per hour (TPH) your load test will generate. TPS is the most common way to express throughput in performance testing, so this calculator is useful both before a test, to check that your script and user count will hit the target, and after a test, to sanity-check the throughput you saw.

How it works

Each user completes one iteration every (response time + pacing + think time) seconds, and produces a fixed number of transactions per iteration. Multiplying users by transactions and dividing by the time per iteration gives the sustained transaction rate.

Formula to calculate TPS and TPH

TPS = (Users × Transactions per Iteration) ÷ (Response Time + Pacing + Think Time) TPH = TPS × 3600

Where:

  • UsersNumber of concurrent virtual users (threads).
  • Transactions per IterationTransactions the script executes in one iteration.
  • Response TimeEnd-to-end time to complete one iteration, in seconds.
  • PacingDelay between two iterations, in seconds (0 if none).
  • Think TimeSum of all think times in the script, in seconds (0 if none).

Example of TPS calculation

A banking script logs in, checks the balance, views a statement, makes a transfer and logs out: 5 transactions per iteration.

Inputs

  • Users = 100
  • Response Time = 4 seconds
  • Transactions per Iteration = 5
  • Pacing = 4 seconds
  • Think Time = 2 seconds

Step-by-step

  1. Time per iteration = 4 + 4 + 2 = 10 seconds
  2. TPS = (100 × 5) ÷ 10 = 50
  3. TPH = 50 × 3600 = 180,000

Result: The test produces about 50 TPS, or 180,000 transactions per hour.

Common mistakes to avoid

  • Counting "iterations per second" when the script actually runs multiple transactions per iteration — use the transactions field to get real TPS.

  • Leaving pacing and think time both at 0 when your script genuinely has delays, which overstates achievable TPS.

  • Comparing TPS across scripts with different transaction counts per iteration without normalizing first.


Need advanced performance testing?

Run this scenario at real scale with Baseline11's distributed load testing platform.

Explore Baseline11