tabacus

Welcome to tabacus!

Thanks for trying out our beta!

As a sign of our gratitude, we've given you free access to all Pro features for the duration of the beta, and you'll get an exclusive discount when the app is fully released.

Expect frequent updates and fixes. We're working hard to make the app as good as possible, so any feedback is highly appreciated!

By using tabacus you agree to the Terms of Service and Privacy Policy.

Send feedback

Your profile

A square crop is kept, 256 × 256.
Change password

Leave both blank to keep your password. You don't need your old one: choose a new password here and save. Never set one? This sets it.

Clear this sheet?

You can undo it for a few seconds afterward.

Delete your account?

This permanently deletes the account and everything saved to it: your synced sheets, equations, materials and constants, your profile and picture, saved files, and connected AI apps. It can't be undone.

The work open in this browser stays here.

Save document

Open a document

Draw a molecule

Click an atom to grow a chain, drag from it to draw a bond, click a bond to make it double or triple. Keys: C N O S, 1 2 3 for bonds, B for benzene, E to erase.

Export this tab


    

Hypergeometric distribution calculator

Use the hypergeometric distribution when you draw without replacement from a finite group, like cards from a deck. Tabacus counts each combination and solves for any variable.

Answer. P ≈ 0.0399, about a 4% chance of exactly 2 aces in a 5-card hand.

Worked solution

Hypergeometric: P(X = k) = C(K, k) · C(N − K, n − k) / C(N, n)
Given: deck N = 52 with K = 4 aces, draw n = 5 cards, want exactly k = 2 aces
Ways to pick 2 of the 4 aces: C(4, 2) = 6
Ways to pick the other 3 cards from 48 non-aces: C(48, 3) = 17,296
All 5-card hands: C(52, 5) = 2,598,960
P = 6 · 17,296 / 2,598,960 = 103,776 / 2,598,960 ≈ 0.0399

Frequently asked questions

Hypergeometric or binomial?

Binomial assumes each draw is independent (with replacement, or a huge population). Hypergeometric is exact when you draw without replacement.

What do N, K, n and k mean?

N is the population size, K how many successes it holds, n how many you draw, and k how many successes you want in the draw.

Related tools

All tabacus tools

The calculator above is already loaded with this problem, edit it or type your own.