Understand the subject
What does a Bell number count?
A Bell number counts every way to partition labelled objects into one or more nonempty unlabeled groups, allowing any number of groups.
Use it when the grouping structure matters but the number of groups is not fixed.
See the structure
Add every allowed group count
1 group2 groups3 groups4 groupsB(4) = 15
Worked example
Check the rule with a small case
All partitions of 4 labelled objects total B(4) = 15.
Interpret with care
Choose the right counting model
A Bell number is not for labelled groups or a fixed group count.
Use the Permutation & Combination Generator when a small case needs to be inspected rather than only counted.
Quick guide
How to use this calculator
- Enter the number of labeled objects.
- All possible non-empty group counts are included.
- Read the exact Bell number B(n).
Calculation method
Sum the set partitions over every group count
B(n) is the sum of S(n,k) from k=0 through n.
Worked example
Group four labeled objects
Across one, two, three, or four groups, there are fifteen set partitions.
B(4) = 15
Supported inputs
Precision and limits
Discrete domain
Inputs are whole counts. Negative, fractional, grouped, and scientific-notation inputs are rejected.
Exact integers
Results use arbitrary-precision integers and are never rounded. Inputs and output size are bounded to keep the page responsive.
Maximum n
n is limited to 300 for responsive exact evaluation.