If you mean digits can be repeated in the four digit number and all digits from 0 to 9 are available, then numbers can range from 0000 to 9999, that's 10,000 different numbers. If different digits must make up the numbers and permutations are significant, in other words, the order of the digits is important, then after picking the first digit we have 9 digits left to choose from; after picking the second digit we have 8 left to choose from, and so on. Therefore, the calculation is 10*9*8*7=5040 for 4-digit numbers.