There are a total of 10,000 possible 4-digit code combinations using the numbers 0-9. To calculate this, you simply multiply the number of available digits (10) by itself four times (since there are four slots to fill):
10 x 10 x 10 x 10 = 10,000
So the possible 4-digit code combinations are:
0000, 0001, 0002, 0003, ..., 9999