Inverse Poisson Calculator

Between 0 and 1. Values from 1 to 100 are read as percentages.

Result
Calculated
smallest k with P(X ≤ k) ≥ 0.95, λ = 10
k = 15
P(X ≤ k)
—
P(X ≤ k − 1)
—
P(X = k)
—
Mean, SD
—
Copy answer
—
Probability Bars

Shaded bars add up to the tail probability. Hover a bar to read P(X = k) and the running total.

Staircase CDF Read Backwards

Go across from p until you hit a step of the staircase, then drop down. Because of the steps, the answer is the first k at or above p.

The inverse Poisson calculator works the Poisson distribution backwards. Instead of asking for the probability of a count, you give a probability and get the count: the smallest k with P(X ≤ k) ≥ p, or the upper-tail critical value where P(X ≥ k) drops below p. A second mode solves for the rate λ that produces a target probability, which is how exact confidence limits and maximum allowed defect rates are found. Results are exact, use log-space arithmetic so they work for λ up to 100,000, and come with bar and staircase charts.

What is the Inverse Poisson Distribution?

The inverse Poisson distribution, or Poisson quantile function, turns a cumulative probability back into a count. If X counts random events with mean λ, the quantile Q(p) is the smallest k such that P(X ≤ k) ≥ p.

The Poisson distribution models events that happen independently at a steady average rate: calls per hour, typos per page, radioactive decays per second, or goals per match. Its probabilities are

P(X = k) = e−λ·λk / k!

  1. Mean and variance are both λ, so the standard deviation is √λ.
  2. The shape is skewed right for small λ and becomes bell-shaped as λ grows.
  3. The median is close to λ + 1/3 − 0.02/λ.
Interactive: Change λ, Watch the Shape

Small rates pile up near zero. Large rates spread out into a bell. The green bar marks the 90th percentile.

How to Calculate the Inverse Poisson by Hand?

Add Poisson probabilities for k = 0, 1, 2, … and stop at the first k where the running total reaches p.

  1. Start at zero: P(X = 0) = e−λ. For λ = 4, that is 0.0183.
  2. Use the recursion: P(X = k) = P(X = k − 1) × λ / k. Each new probability comes from the last one with a single multiplication.
  3. Keep a running total of the probabilities, which is the CDF.
  4. Stop at the first k where the total is ≥ p. For λ = 4 and p = 0.9, the total passes 0.9 at k = 7 (0.9489).

For an upper-tail critical value, find the smallest k with 1 − P(X ≤ k − 1) ≤ p instead.

Interactive: Running Total Table

Rows fill in until the cumulative column reaches p. The green row is the answer.

How to Use This Inverse Poisson Calculator?

Choose a mode, enter the known values, and press calculate.

1
Find k, left tail

Enter λ and p. Returns the smallest k with P(X ≤ k) ≥ p, the same as qpois(p, λ) in R.

2
Find k, right tail

Returns the smallest k with P(X ≥ k) ≤ p: the critical value for a one-sided test of "too many events."

3
Find λ

Enter k and p. Returns the rate λ that makes P(X ≤ k) (or P(X ≥ k)) exactly equal to p.

The result panel always shows the probability just below and at the answer, so you can see how the step in the CDF brackets your p.

Poisson Quantile Table

Smallest k with P(X ≤ k) ≥ p. Click any row to load it with p = 0.95.

λp = 0.50p = 0.90p = 0.95p = 0.99p = 0.999
0.501234
112345
224568
3356810
4478911
55891113
8812131518
101014151821
151520222528
202026283135
303037394348
505059626773
100100113117124132

Exact Quantile vs Normal Approximation

For large λ the Poisson distribution looks like a normal curve with mean λ and standard deviation √λ, so k ≈ λ + z·√λ − 0.5. The −0.5 is a continuity correction that accounts for whole-number counts.

The approximation is poor for small λ because the Poisson shape is skewed: for λ = 2 and p = 0.95 it suggests k ≈ 3.8, but the exact answer is 5. By λ = 50 the two usually agree to within one count.

A more accurate shortcut uses the square-root transform: √X is close to normal with mean √λ and standard deviation ½, so k ≈ (√λ + z/2)².

Interactive: Bars vs Bell

Increase λ and watch the normal curve hug the bars. The marks compare the exact and approximate 95th percentiles.

Exact Confidence Interval for a Poisson Rate

Inverting the Poisson CDF in λ gives an exact confidence interval for the true rate from one observed count. This is the Garwood interval, and it is what inverse Poisson calculations are most often used for in medicine, reliability, and physics.

  • Lower limit: the λ where P(X ≥ k) = α/2. Below it, seeing k or more would be too unlikely.
  • Upper limit: the λ where P(X ≤ k) = α/2. Above it, seeing k or fewer would be too unlikely.
  • Zero events: the lower limit is 0 and the one-sided 95% upper limit is −ln(0.05) ≈ 3.0.

Divide both limits by the exposure (person-years, hours, square metres) to turn them into a rate interval.

Interactive: Garwood Interval Finder

Enter an observed count and pick a confidence level. Both limits are found by solving the Poisson CDF for λ.

Using the Poisson Quantile for Staffing and Stock Levels

When demand arrives randomly at an average rate λ, the p-quantile is the capacity that covers a fraction p of periods.

  • Inventory: a shop sells 6 units of an item per day on average. To avoid running out on 95% of days it must start each day with qpois(0.95, 6) = 10 units.
  • Call centers: staffing for the 90th percentile of hourly calls keeps queues short most of the time.
  • Hospital beds and ICU capacity are planned from the quantiles of daily admissions.
  • Quality control: the upper critical value sets the alarm threshold for defect counts.

Raising the service level from 95% to 99% often costs only two or three extra units, which the simulation lets you see.

Interactive: 60-Day Stock Simulation

Each bar is one simulated day of random demand. Bars above the stock line are stock-outs.

Other Inverse Calculators

Related tools that solve problems in reverse.

Frequently Asked Questions

Answers to common questions about Poisson quantiles and rates

It is the Poisson quantile function: given a mean λ and a probability p, it returns the smallest whole number k with P(X ≤ k) ≥ p. For λ = 10 and p = 0.95 the answer is 15, because P(X ≤ 14) = 0.9165 is still below 0.95 but P(X ≤ 15) = 0.9513 reaches it.

Because a Poisson variable only takes whole-number values, its CDF jumps in steps. Most probabilities fall inside a step, so the calculator returns the first k whose cumulative probability reaches or passes p, and it shows the exact probability achieved.

In R use qpois(p, lambda). In Python use scipy.stats.poisson.ppf(p, mu). Excel has no direct inverse, so you add POISSON.DIST(k, λ, TRUE) for k = 0, 1, 2, … until the result reaches p, or use =CRITBINOM with a large n as an approximation.

Use the Poisson quantile of the average arrival rate at your chosen service level. If an hour averages 20 calls and you want to cover 95% of hours, plan for qpois(0.95, 20) = 28 calls. Only about 3.4% of hours will exceed that.

Solve P(X ≤ k; λ) = p for λ numerically, since the CDF falls steadily as λ grows. For example, if you want at most 2 defects with probability 0.9, λ must be no more than 1.102. The calculator's "Find λ" mode does this with bisection.

For an observed count k, the exact (Garwood) interval runs from the λ with P(X ≥ k) = 0.025 to the λ with P(X ≤ k) = 0.025. For k = 10 that is about 4.80 to 18.39. With zero events the one-sided 95% upper limit is 3.0, the "rule of three."

When λ is about 20 or more, k ≈ λ + z·√λ − 0.5 is usually within one count of the exact quantile. For λ = 100 and p = 0.95 the approximation gives 100 + 1.645 × 10 ≈ 116.4, while the exact answer is 117.