Skip to content
Calcrivo

Lambda Concurrency Calculator

Apply Little's law to size Lambda concurrency against the 1000-per-region account limit, with reserved and provisioned capacity.

Inputs

req/s
ms
x
executions

The default per-region unreserved limit is 1000.

executions

Leave at 0 to size against the shared account pool.

executions

Peak Concurrent Executions

125

Steady Concurrent Executions

50

Limit Utilization at Peak

12.5%

Maximum Sustainable Rate

4,000req/s

Peak Served Without a Cold Start

40%

Throttling Assessment

Comfortable — 875 executions spare at peak

Step by step

  1. Values used

    Steady request rate = 200 req/s; Average duration = 250 ms; Peak-to-average ratio = 2.50 x; Account concurrency limit = 1,000 executions; Reserved concurrency for this function = 0 executions; Provisioned concurrency configured = 50 executions

  2. Lambda Concurrency

    concurrency = requests per second × average duration in seconds (Little's law); peak concurrency = steady concurrency × peak-to-average ratio.

  3. Throughput ceiling

    maximum sustainable rate = effective concurrency limit ÷ average duration in seconds.

  4. Peak Concurrent Executions

    = 125

  5. Steady Concurrent Executions

    = 50

  6. Limit Utilization at Peak

    = 12.5

  7. Maximum Sustainable Rate

    = 4,000 req/s

  8. Peak Served Without a Cold Start

    = 40

  9. Throttling Assessment

    = Comfortable — 875 executions spare at peak

How it works

Concurrency is not a rate — it is the number of environments in flight, which Little's law gives as arrival rate multiplied by service time. A 100 ms function at 500 req/s needs only 50 environments, while a 5-second function at the same rate needs 2,500 and will be throttled by the default 1,000 account limit. Reserved concurrency both guarantees and caps a function, so setting it too low turns a shared-pool problem into a hard ceiling. Throttles surface as HTTP 429 and TooManyRequestsException rather than as latency, so a function that looks healthy in its duration metrics can be silently dropping a slice of traffic once concurrency crosses the limit.

Formulas

Lambda Concurrency

concurrency = requests per second × average duration in seconds (Little's law); peak concurrency = steady concurrency × peak-to-average ratio.

concurrency
Number of execution environments running at the same instant
peak-to-average ratio
How much spikier your busiest second is than the mean
effective limit
Reserved concurrency if set, otherwise the account limit

Throughput ceiling

maximum sustainable rate = effective concurrency limit ÷ average duration in seconds.

Frequently Asked Questions

How is Lambda Concurrency calculated?

concurrency = requests per second × average duration in seconds (Little's law); peak concurrency = steady concurrency × peak-to-average ratio. Concurrency is not a rate — it is the number of environments in flight, which Little's law gives as arrival rate multiplied by service time. A 100 ms function at 500 req/s needs only 50 environments, while a 5-second function at the same rate needs 2,500 and will be throttled by the default 1,000 account limit. Reserved concurrency both guarantees and caps a function, so setting it too low turns a shared-pool problem into a hard ceiling.

Why does Lambda Concurrency matter?

Throttles surface as HTTP 429 and TooManyRequestsException rather than as latency, so a function that looks healthy in its duration metrics can be silently dropping a slice of traffic once concurrency crosses the limit.

What values do I need to enter?

This calculator takes 6 inputs: Steady request rate, Average duration, Peak-to-average ratio, Account concurrency limit, Reserved concurrency for this function, Provisioned concurrency configured. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.

How do reserved and provisioned concurrency differ?

Reserved concurrency carves a guaranteed slice out of the account pool and simultaneously caps the function at that number — it costs nothing. Provisioned concurrency pre-initializes a set number of environments so requests skip the cold start, and it is billed per second for as long as it is configured.

You might also need