Link to home
Start Free TrialLog in
Avatar of smartine
smartine

asked on

What is the actual formula for converting download times to bps?

I figured it'd be pretty straightforward:

Get total bits by converting bytes to bits
Convert download time to seconds
Divide file size by time to get bps

So I went to this website:

http://www.bluemax.net/techtips/networking/Cable_Modems/Speed/cblmdmdwnload.htm

I entered my numbers in the "reverse DL" section to get the results and it differed from what I calculated.

Here's what I did for a 20MB file:

20MB * 1024 = 20480000000 bits
5:20 = 230 seconds

20480000000 / 230 = 89Kbps / sec

The website says it's actually 729Kbps per sec...

I need more coffee... missing something simple, I'm sure...

Thanks!

-Samson
Avatar of ngravatt
ngravatt
Flag of United States of America image



Mb = MegaBYTES
8 bits = 1 byte

1 Mb = 1024 Kb and 1Kb = 1024 bytes

so 20Mb = 20480 Kb = 20,971,520 bytes = 167,772,160 bits

167,772,160 bits / 230 secs = 729,444 bits/sec

ASKER CERTIFIED SOLUTION
Avatar of fixnix
fixnix

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of _anom_
_anom_

ngravatt corrected you on the conversion from MB->bits, however 5:20 is 320 seconds, not 230 seconds :)


Cheers
Ah, someone got it as i typed it in, lol.

Cheers
Avatar of smartine

ASKER

Like I said... needed more coffee... :)

Many thanks!

-Samson