Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Can someone please explain to me

If a 10 MB file is transferred over a 2 megabits per second connection, how many seconds it would take to transfer. using the nearest 0.1 second. Thank you

share|improve this question

closed as too broad by Ignacio Vazquez-Abrams, Dave Rook, Tog, Mokubai, Simon Sheehan Oct 16 '13 at 2:04

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

    
There are too many unknowns in this question as it stands. The answer will depend on the protocol in use, the capabilities of the devices at each end of the connection path, any routers that lie in the path, etc. –  Chenmunka Oct 14 '13 at 11:34
1  
hmm - phrased exactly like a homework question. hmmm. –  Ecnerwal Oct 14 '13 at 13:10

1 Answer 1

The only thing you'll need to know is that 8 bit is one byte.

It's not common to calculate file sizes using bits, but it is possible: a 10MB file is 80megabits.

You could also calculate the connection in bytes: 2 megabit is 2/8 = 0.25 megabyte/s.

Using bits

80megabits at 2megabits/s

80/2 = 40s

Using bytes

10megabytes at 0.25megabytes/s

10/.25 = 40s
share|improve this answer
1  
Of course this is only the theoretical speed, it will probably be slower due to the network conditions. –  Ineentho Oct 14 '13 at 11:36
    
Unless you need to factor start and stop bits into the transmission. –  Ignacio Vazquez-Abrams Oct 14 '13 at 11:36
    
True, but since the protocol isn't specified and the extra data negligible I left them out. –  Ineentho Oct 14 '13 at 11:39