Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuition

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labs

Reference

GlossaryBlogDiscoveries
Tools › Computer Science

File size and download time calculator

How long a file takes to download at a given internet speed.

5 min 28 s

  1. Size = 2 GB = 2,048 MB
  2. In megabits: 2,048 × 8 = 16,384 Mb
  3. Time = 16,384 ÷ 50 = 327.7 s
  4. Real downloads are usually 10–20% slower.

How it works

Internet speeds are in megabits per second (Mbps); file sizes are in megabytes (MB). One byte is 8 bits, so a 100 Mbps line moves about 12.5 MB a second at best.

Worked example

With File size = 2, Speed = 50:

  1. Size = 2 GB = 2,048 MB
  2. In megabits: 2,048 × 8 = 16,384 Mb
  3. Time = 16,384 ÷ 50 = 327.7 s
  4. Real downloads are usually 10–20% slower.

Answer: 5 min 28 s

Questions

Why is my 100 Mbps download only 12 MB/s?
Because 100 megabits is 12.5 megabytes: speeds are quoted in bits, files in bytes.

Learn the method properly

The chapter behind this tool, with animations, an experiment and an AI tutor who checks each step you write.

Open the chapter

More computer science tools

  • Binary, decimal and hex converter
  • Truth table generator
  • Password strength checker
  • Text to ASCII and binary converter