There room 10,000 combine of four numbers once numbers are provided multiple times in a combination. And also there space 5,040 combine of 4 numbers when numbers are provided only once.

You are watching: Number of possible combinations of 4 digits

How so? Well, there are 10 choices, zero with nine, because that each number in the combination. Because there are four numbers in the combination, the total number of possible combinations is 10 selections for each of the four numbers. The is, the number of possible combine is 10*10*10*10 or 10^4, i m sorry is same to 10,000.

The binomial coefficient formula is a general method to calculation the variety of combinations. Here, the number of combinations the k aspects from a collection with n facets is n!/(k!*(n-k)!), in i m sorry the exclamation mark indicates a factorial. Need to go more in depth? We’ve gained you covered.

Number of combinations Formula

Finding the number of combinations that have the right to be make with 4 numbers have the right to be uncovered through a basic equation. Think of every number together a person and also each place in the combination as a seat. There deserve to only it is in one human in every seat, and there are just 10 human being that can sit in a seat. (There space 10 numbers because single-digit numbers go from 0-9.)

Photo Courtesy: Oscar Wong/Getty Images

In any type of given combination, any kind of one that the 10 numbers can take any type of of the 4 seats. Because that the very first seat, there are 10 choices in any given combination. Moreover, for the second seat, there space 10 alternatives in any type of given combination. The same additionally applies to the 3rd and fourth seats. To uncover the total choices for every one of the combinations, multiply the number of options because that the first seat through the variety of options because that the second seat by the number of options because that the third seat by the number of options for the 4th seat.

In various other words, you need to multiply 10 x 10 x 10 x 10. In the end, you’ll uncover that there room 10,000 possible combinations of four numbers.

Number of Combinations recipe for as soon as Numbers don’t Repeat

If friend say that there are 10,000 feasible combinations with 4 numbers, you would be both right and wrong. The is, the 10,000 answer account for allowing any of the 10 number to sit in any kind of of the four seats. Following this theory, one of the 10,000 combinations can be 1111, 0000, 2222, or 3333. Let"s throw a wrench right into the equation.


Photo Courtesy: Tetra Images/Getty Images

In the genuine world, four-digit combinations often do not have repeating numbers. In fact, countless companies carry out not allow people to set four-digit passwords the repeat the very same number over and over. So, just how many possible four-digit number combinations space there wherein numbers don"t repeat?

Forget the seats for a moment and turn come a handy-dandy mathematics formula referred to as the binomial coefficient formula. The formula is together follows:

n!/(k! x (n-k)!)

In case you didn"t know, every exclamation point represents a factorial. Return both the name and the formula look complicated, it"s in reality much easier in practice. Turns out, the principle of human being in seat will be helpful for this one too. "K" stands for the number of people that can sit in any kind of one of the seats, and "n" represents the number of seats any kind of of those world can sit in.

In the situation of trying to figure out the number of combinations of 4 numbers, k=10 and n=4. The equation looks prefer this:

4!/(10! x (4-10)!)

Without going into factorials, that breaks down to:

10 x 9 x 8 x 7 = 5,040

Do you notification a tendency here? In the very first seat, any one of the 10 numbers can sit down. Now, over there are only nine numbers left come sit in the second seat. Through one more down, over there are only eight much more that can sit in the 3rd seat, and finally, over there are just seven number who could possibly sit in the 4th seat.

See? The binomial coefficient is a whole lot simpler than that looks. Through the binomial coefficient, any number that’s liked for one seat is gotten rid of from the running for the various other seats. Roughly, this halves the total number of combinations.


Four-digit passwords can seem pretty straightforward since they are few of the shortest passwords you"re likely to use. However, they additionally tend to be few of the most important. You may use four-digit number combine to open up your call or to log in to specific apps an ext quickly, but where else carry out you use 4 number combinations? Most banks ask customers to choose a four-digit pin in order come authorize transactions and also use ATMs.

Hackers take benefit of the fact that four-digit number combinations are offered as passwords for points you probably care a many less around protecting than your bank card PIN. Civilization are not practically as inventive together they have to be when it comes to passwords. If someone can crack the password on her lock screen, it"s likely that they can also authorize a transaction on your debit map — ~ all, yes sir a horrible high opportunity that those numbers will be the same.

Banks don’t assist the problem either. Oftentimes, world have 10,000 options when it concerns PINs because many banks will enable for repeating numbers. If your financial institution is a little more security savvy, you"ll only have 5,040 combinations to choose from. Many world use four-digit combinations that space either repetitive or in sequential order. For example, 1234 is a an extremely common choice, and also other civilization combine the same number over and over, such as 1111 or 2222.

See more: Why Are R34 Skylines Illegal In The Us ? Is The Nissan Skyline R34 Legal In The Us

Don"t permit your knowledge of the binomial coefficient go to waste. There space literally hundreds of combinations of 4 numbers that you could choose from. Carry out not simply pick her birth year or her birth date. For the love that all that is good, you re welcome don"t pick 1234 either. If you desire to keep a particular someone"s prying eyes the end of her smartphone, you"re going to need to try way harder than that. Pick your passwords wisely and also keep your identification (and information) safe.