First Blockreward was 50 BTC per Block. during This period 50 % of the total supply of BTC got mined. in the second period the Blockreward decreased top 25, which is 25 % of the total supply. Same goes on and on and on...
All this adds to a total of 21 million BTC.