Parameter Inputs

n ≥ 0 • 0 ≤ p ≤ 1 • k ∈ {0, …, n}

Enter as decimal between 0 and 1.

Evaluates P(lower ≤ X ≤ upper) when both bounds valid.

Summary & Moments

Expected value E[X]
Variance Var[X]
Standard deviation
Mode (ties possible)

Probability Outputs

PMF P(X = k)
CDF P(X ≤ k)
P(lower ≤ X ≤ upper)
Upper tail P(X ≥ k0)
Lower tail P(X ≤ k0)
Quantile k for target p

Random Sample Generator

Simulates draws using inverse transform; limited to 1000 samples.


                        

How to Use

  1. Provide the number of Bernoulli trials n and success probability p. For fair processes, p = 0.5.
  2. Enter the outcome count k to evaluate exact PMF and CDF values instantly.
  3. Use the bounds or tail sections to examine ranges such as “at least k successes” or “between a and b successes”.
  4. Supply a probability 0 < p < 1 to find the minimum k where P(X ≤ k) ≥ p (inverse CDF/quantile).
  5. Generate random samples to approximate the distribution empirically; results appear comma-separated for quick copy/paste.

Formula References

Continue Exploring