Binomial Distribution

The full distribution of X ~ B(n, p) drawn as a live bar chart with exact probabilities. Change n or p and it updates instantly.
Distribution (n = 8, p = 1/2)
k=0
1/256
k=1
1/32
k=2
7/64
7/64
k=3
7/32
7/32
k=4
35/128
35/128
k=5
7/32
7/32
k=6
7/64
7/64
k=7
1/32
k=8
1/256

Each bar is the exact probability for that value of k. Switch between PMF (P(X = k)) and CDF (P(X ≤ k)).