Combinations with Replacement
Calculate the number of ways to select items from a set where each item can be chosen more than once.
Σ The Formula
Real World Examples
# About This Calculator
Combinations with Replacement (also known as Multiset Coefficients or "Stars and Bars") count the ways to pick $r$ elements from $n$ categories where you can pick the same category multiple times.
Unlike standard combinations, the pool of items doesn't shrink after a selection. This is common in probability problems involving rolling multiple dice or selecting items from a stock that is replenished.
How To Use
- Enter the **Total Categories (n)** available to pick from.
- Enter the **Number of Selections (r)** you want to make.
- The tool calculates the total unique sets possible, ignoring the order of selection.
Frequently Asked Questions
What is 'Replacement'?+
Why is it called Stars and Bars?+
Is Combinations with Replacement free to use?+
How accurate is Combinations with Replacement?+
Can I use Combinations with Replacement on my phone?+
Do you save my data?+
About
Combinations with Replacement (also known as Multiset Coefficients or "Stars and Bars") count the ways to pick $r$ elements from $n$ categories where you can pick the same category multiple times.
Unlike standard combinations, the pool of items doesn't shrink after a selection. This is common in probability problems involving rolling multiple dice or selecting items from a stock that is replenished.