Database connection pool capacity calculator

A steady-state average model: one transaction holds one connection for the measured time.

Your inputs

Use the units shown.

Offered concurrent transactions
5
Ideal existing capacity (transactions/s)
200
Existing offered utilization (%)
50
Connections at target utilization
8

Your calculation
How is this calculated?

Arrival rate × held time in seconds.

Connections ÷ held time in seconds.

Offered concurrency ÷ existing connections × 100.

Round up offered concurrency ÷ target utilization fraction.

A steady-state average model: one transaction holds one connection for the measured time. It estimates offered load, not latency percentiles or safe production sizing. Values above 100% existing utilization indicate overload under these assumptions.

OpenStax: percentages and proportions ↗

Try an example

Worked example

Offered concurrent transactions: 5

Inputs
  • Arrival rate (transactions/s): 100
  • Measured connection-held time (ms): 50
  • Existing connections: 10
  • Target utilization (%): 70

Compare inputs

Offered concurrent transactions: 4

Inputs
  • Arrival rate (transactions/s): 40
  • Measured connection-held time (ms): 100
  • Existing connections: 5
  • Target utilization (%): 80
Share this page
Share this calculator

Leave unchecked to share the page without your entered values.