Why was 21 million of bitcoins created?
Here's a mathematical explanation:
Calculate the number of blocks per 4 year cycle:
Sum all the block reward sizes:
Multiply the two:
Economically, because the currency is effectively infinitely divisible, then the precise amount doesn't matter, as long as the limit remains fixed.