# Math Help - General Math Question

1. ## General Math Question

Hi Guys,

I simply wanted to ask, I have a large file that I want to
download the size of 4,375,272 at the speed of 160kb/sec. How can i find out how
long it will take in HH:MM:SS?

I have tried the following:
$a = 4,375,272$b = 160kb/sec

$totalsecs =$a * $b = 700043520$totalmins =$totalsecs / 60 = 11667392 ... not sure where to go from here? Can somebody help me find a way for me to find out how long it will tak to download? 2. ## Re: General Math Question I take it kb/sec stands for kilobit/second and that the file size is given in bytes? When you have both the file size and data rate in the same units, you get the time it takes to download the whole file in seconds:$download_time = $file_size /$data_rate

$hours = floor($download_time / 3600)
$remainder =$download_time - $hours * 3600$minutes = floor($remainder / 60)$seconds = $remainder -$minutes * 60

3. ## Re: General Math Question

Hi, can you explain your method or give reason why you have chose 3600 hrs? as it is essentially 150 days.

4. ## Re: General Math Question

3600 seconds = 1 hour