Skip to content
ENExplore Calculators

Lambda Concurrency Calculator

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

About Lambda Concurrency Calculator

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.

Worked example

With the default values below, Lambda Concurrency Calculator returns Peak Concurrent Executions of 125. Change any input above and every figure here is recalculated in your browser.

Inputs used

Steady request rateminimum 0 req/s
200 req/s
Average durationaccepts 1–900,000 ms
250 ms
Peak-to-average ratioaccepts 1–20 x
2.5 x
Account concurrency limitminimum 1 executions
1,000 executions
Reserved concurrency for this functionminimum 0 executions
0 executions
Provisioned concurrency configuredminimum 0 executions
50 executions

Results

Peak Concurrent Executions
125
Steady Concurrent Executions
50
Limit Utilization at Peak
12.5%
Maximum Sustainable Rate
4,000 req/s
Peak Served Without a Cold Start
40%
Throttling Assessment
Comfortable — 875 executions spare at peak

Step by step

  1. 1Values used
  2. 2Lambda Concurrency
  3. 3Throughput ceiling
  4. 4Peak Concurrent Executions= 125
  5. 5Steady Concurrent Executions= 50
  6. 6Limit Utilization at Peak= 12.5
  7. 7Maximum Sustainable Rate= 4,000 req/s
  8. 8Peak Served Without a Cold Start= 40
  9. 9Throttling Assessment= Comfortable — 875 executions spare at peak

Assumptions and limits

  • The result is derived only from the 6 inputs listed above. Anything not among them is not part of the calculation.
  • In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
  • Figures are rounded for display to 1 decimal place, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.

How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.

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.

Lambda Concurrency Calculator | Calcrivo