Ever wondered how gems are calculated in clash of clans? How many gems are required to finish up a certain building? How many gems are required to buy certain amount of elixir, gold or dark elixir? In this article, I shall explain the formula that supercell has set to calculate the amount of gems needed to complete certain time-taking upgrade or filling out storages.