Internet Speed Calculator — Formula
## How Internet Speed Relates to Download Time
Internet speed is measured in megabits per second (Mbps), but file sizes are in megabytes (MB). There are 8 bits in a byte.
### Formula
**Speed (MB/s) = Speed (Mbps) / 8**
**Download Time (sec) = File Size (MB) / Speed (MB/s)**
Internet speed is measured in megabits per second (Mbps), but file sizes are in megabytes (MB). There are 8 bits in a byte.
### Formula
**Speed (MB/s) = Speed (Mbps) / 8**
**Download Time (sec) = File Size (MB) / Speed (MB/s)**
Exemplo Resolvido
Download a 5 GB file on a 100 Mbps connection.
- Speed in MB/s = 100 / 8 = 12.50 MB/s
- File size in MB = 5 x 1,024 = 5,120 MB
- Download time = 5,120 / 12.50 = 409.6 seconds
- In minutes = 409.6 / 60 = 6.8 minutes