The forumula could be: Amount downloaded so far/ total to download * 100