When to use this
Use this formula when the question matches this rule set
PINs, room codes, shirt-pants-hat combinations, or symbol sequences where repetition is allowed.
What this result means
Interpret the output, not just the number
Each ordered string is counted separately, and the same symbol can appear more than once.
Formula: n^r
Calculator inputs
Know what to enter in each field
Match the wording in the question to these fields before you interpret the result.
n - choices per position
This is how many options each slot can use.
What to enter: Enter the number of allowed symbols, colors, or items for each position.
How to use it: Use the same n for every slot when repetition is allowed.
Example: A code that can use 10 digits means enter 10.
r - positions to fill
This is the number of ordered slots.
What to enter: Enter how many positions the sequence or code has.
How to use it: Count every slot because each position multiplies the total.
Example: A 4-digit code means enter 4.
Does order matter on this page?
This page keeps the order rule fixed in the background so the calculator stays in the same formula family.
How this page works: Yes.
How to use it: Use the combination pages when only the final group matters. Use the permutation pages when changing the order creates a different result.
Example: A podium uses yes, but a committee uses no.
Are repeated items allowed?
This is the one mode control on the dedicated page. It switches between the repeat and no-repeat version of the same formula family.
How this page opens: Yes.
How to use it: Choose yes when reuse is allowed. Choose no when each available item can be used at most once.
Example: Three scoops from five flavors uses yes, but four different fruits uses no.
Worked examples
Quick checks with realistic inputs
Room codes
Build a 4-character code using 6 allowed symbols with repeats.
6 choices for 4 ordered positions gives 1,296.
Load this example into the calculatorFlag patterns
Choose colors for 5 ordered stripe positions from 3 colors, repeats allowed.
3 choices for 5 ordered positions gives 243.
Load this example into the calculator