Binomial probability of exactly k successes

Use the inputs below to calculate «Binomial probability of exactly k successes»: Selected items or successes, Total items or trials, Probability of success (%). Use consistent units and check the assumptions.

My calculators

Changes number formatting only, not currency, units or country-specific rules.

Result34.56 %

Compare scenarios

Save up to four scenarios temporarily on this page. Inputs are not stored or sent to the server by this feature. The comparison disappears when you reload or leave the page.

Use the browser print dialog to save the current result and comparisons as PDF if supported. No file is uploaded.

How to use this calculator

Enter the following values:

The result updates automatically as you change the inputs. Use the example below to check the calculation.

Practical considerations

Assumes a fixed number of independent trials with the same probability of success. The number of successes must not exceed the trial count. This implementation accepts at most 50 trials; zero trials and probabilities of 0% or 100% are handled explicitly by the formula.

Formula

(((choose(maxVal, minVal) × ((p ÷ 100) ^ minVal)) × ((1 − (p ÷ 100)) ^ (maxVal − minVal))) × 100)

Use the units shown; monetary values use the same currency throughout.

Worked example

Selected items or successes
2
Total items or trials
5
Probability of success (%)
40

Result: 34.56 %

Results are estimates; verify assumptions before making decisions.

Share and embed

The link and embed code contain no calculation inputs. The widget runs in the browser without ads or analytics.

Related calculators