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.
Inverse Poisson Calculator
Between 0 and 1. Values from 1 to 100 are read as percentages.
Shaded bars add up to the tail probability. Hover a bar to read P(X = k) and the running total.
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.
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!
- Mean and variance are both λ, so the standard deviation is √λ.
- The shape is skewed right for small λ and becomes bell-shaped as λ grows.
- The median is close to λ + 1/3 − 0.02/λ.
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.
- Start at zero: P(X = 0) = e−λ. For λ = 4, that is 0.0183.
- Use the recursion: P(X = k) = P(X = k − 1) × λ / k. Each new probability comes from the last one with a single multiplication.
- Keep a running total of the probabilities, which is the CDF.
- 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.
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.
Enter λ and p. Returns the smallest k with P(X ≤ k) ≥ p, the same as qpois(p, λ) in R.
Returns the smallest k with P(X ≥ k) ≤ p: the critical value for a one-sided test of "too many events."
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.50 | p = 0.90 | p = 0.95 | p = 0.99 | p = 0.999 |
|---|---|---|---|---|---|
| 0.5 | 0 | 1 | 2 | 3 | 4 |
| 1 | 1 | 2 | 3 | 4 | 5 |
| 2 | 2 | 4 | 5 | 6 | 8 |
| 3 | 3 | 5 | 6 | 8 | 10 |
| 4 | 4 | 7 | 8 | 9 | 11 |
| 5 | 5 | 8 | 9 | 11 | 13 |
| 8 | 8 | 12 | 13 | 15 | 18 |
| 10 | 10 | 14 | 15 | 18 | 21 |
| 15 | 15 | 20 | 22 | 25 | 28 |
| 20 | 20 | 26 | 28 | 31 | 35 |
| 30 | 30 | 37 | 39 | 43 | 48 |
| 50 | 50 | 59 | 62 | 67 | 73 |
| 100 | 100 | 113 | 117 | 124 | 132 |
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)².
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.
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.
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.
Turns F(s) back into f(t) with partial fractions, a pole-zero map, and a live time-response graph.
(3s+5)/(s²+3s+2) → 2e⁻ᵗ + e⁻²ᵗ Open calculator Finds a⁻¹ mod m with the extended Euclidean algorithm, a modular clock, and a congruence solver.
17⁻¹ mod 43 = 38 Open calculator Returns the x value or z-score for any area under a normal curve, with left, right, and central tails.
invNorm(0.975) = 1.9600 Open calculator Solves I₁d₁² = I₂d₂² for light, sound, gravity, and radiation, plus the reciprocal 1/x².
2× distance → 1/4 intensity Open calculator Finds f⁻¹(x) by swapping x and y and solving, with the y = x mirror graph and a domain check.
f(x) = 2x + 3 → (x − 3)/2 Open calculator Inverts 2×2 to 6×6 matrices by Gauss-Jordan elimination with exact fractions and every row step.
A · A⁻¹ = I Open calculator Takes the antilog in base 10, e, 2, or any base, with characteristic, mantissa, and a log ruler.
antilog(2.5) = 316.23 Open calculator Solves y = k/x, k/x², and k/xⁿ problems, finds k, and shows the constant-product curve.
x × y = k = 24 Open calculator 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.