Skip to content
D DocNectar

Free Combination With Repetition Calculator

Calculate the number of ways to choose items from a set when repetition is allowed.

100% Free No Signup Works on all devices

Built and fact-checked by the DocNectar team — see our editorial standards

Thanks for rating!

Key Features

Instant Calculation

Get accurate results in real time with our optimized algorithm.

Mobile Friendly

Fully responsive design. Works on all devices & screen sizes.

Privacy Focused

Your data stays on your device. We don't store any inputs.

100% Free

No hidden costs. This tool is completely free forever.

Standard combinations assume you can't pick the same item twice — but many real situations (like choosing scoops of ice cream flavors, where repeats are fine) need a different formula.

This calculator finds the number of combinations when repetition of the same type is allowed.

How it works

Enter n (the number of types available) and r (how many items you'll choose, with repeats allowed). The calculator applies the combinations-with-repetition formula, which reduces to a standard combination calculation on a larger, adjusted pair of numbers.

  1. Enter n (number of types available).
  2. Enter r (items to choose, repetition allowed).
  3. Click Calculate to see your results.

Examples

5 flavors, choose 3 scoops

Choosing 3 scoops from 5 ice cream flavors, where repeating a flavor is allowed, gives 35 possible combinations.

Who should use it

  • Checking combinatorics or probability coursework involving repetition.
  • Counting possible combinations for recipes, toppings, or configurations where repeats are allowed.

Industry applications

  • Combinatorics and discrete mathematics education
  • Probability and statistics coursework

Advantages

  • Directly applies the stars-and-bars combinatorial technique without requiring you to derive it yourself.
  • Shows the equivalent standard combination calculation the formula reduces to.

Limitations

  • Only counts combinations (order doesn't matter) — for repetition-allowed problems where order matters, a different formula (n^r) applies.

Common mistakes to avoid

  • Using the standard nCr formula (which assumes no repeats) when repetition is actually allowed in the problem.
  • Mixing up n (types available) with r (items chosen) when entering values.

Best practices

  • Confirm whether your specific problem actually allows repeated choices before picking this calculator over the standard combination calculator.

Tips

  • If order matters and repetition is allowed (unlike this calculator's scope), the count is simply n^r — much simpler than the combination formula used here.

Frequently asked questions

Yes, with no signup and no limit on how many calculations you run.
That calculator assumes each item can only be chosen once (no repeats); this calculator specifically allows the same type to be chosen multiple times, which uses a different (larger) formula.
Choosing toppings for a dish where you can pick the same topping more than once, or selecting stars-and-bars style distributions in combinatorics and probability problems.
Allowing repetition effectively adds r-1 "extra slots" to the counting problem, which is the classic "stars and bars" combinatorial technique — this transforms the repetition-allowed problem into an equivalent no-repetition combination problem on a larger set.

Get new calculators and guides in your inbox

No spam — just new tools like Combination With Repetition Calculator and practical guides.

Favorites