• Foundation
  • About 13 min
  • 5 practice questions

How data travels: packets, bandwidth and transfer time

Describe how data is broken into packets, tell bits from bytes, and find the time to transfer a file at a given speed.

If something looks wrong, please tell us.

When you send a photo or open a video, data moves across the network from one place to another. This lesson explains how it is cut up, how its speed is measured and how to calculate a transfer time. The sums are simple once you remember that speeds are usually quoted in bits and files in bytes.

Packets

Large files are not sent as one lump. The sender cuts the data into small pieces called packets. Each packet carries part of the data and a label with the addresses of the sender and receiver and a number showing its place in the sequence. The packets may travel by different routes and arrive in a different order, and the receiving computer puts them together again using the numbers. If a packet is lost, only that packet is sent again. This is the same idea as posting a big parcel as several small ones, each marked 1 of 5, 2 of 5 and so on.

Speed words

  • Bit (b): one binary digit. Byte (B): 8 bits.
  • Bandwidth: how much data a connection can carry each second, usually in bits per second (bps), thousands (kbps), millions (Mbps) or thousands of millions (Gbps).
  • Latency: how long a small message takes to arrive. Low latency feels quick when you play a game or hold a video call.
  • Download and upload: data coming to you and data going from you.

Capital B means byte. Small b means bit. One byte is eight bits.

The transfer time sum

Time = size in bits divided by speed in bits per second. If the file size is in bytes, multiply by 8 first. If the speed is in bytes per second, divide the size in bytes directly. Always check that the units match before dividing.

Worked examples

Example 1. A 60 MB file is downloaded at 16 megabits per second. How long does it take? Change bytes to bits: 60 × 8 = 480 megabits. Then 480 divided by 16 = 30 seconds.

Example 2. A video of 90 MB is downloaded on a connection of 12 megabits per second. 90 × 8 = 720 megabits, and 720 divided by 12 = 60 seconds, which is 1 minute.

Example 3. A file of 1200 MB is downloaded at 8 megabytes per second. Both are in bytes, so no change is needed: 1200 divided by 8 = 150 seconds, which is 2 minutes 30 seconds.

Example 4. A message of 1 MB is sent in packets of 1 KB each. How many packets? 1 MB = 1024 KB, so 1024 packets are needed. All of the numbers in this lesson are illustrative; real connections vary.

Why real speed is lower. The speed on the label is the best case. Packet labels, sharing the connection with other users, weak wireless signals and busy servers all slow the real speed down. So a calculated time is the least time the transfer can take.

Key takeaways. Data travels in numbered packets that are reassembled at the end. Bandwidth is measured in bits per second and file sizes in bytes. Multiply bytes by 8 to get bits before dividing by a speed in bits per second.

Check your understanding

  1. 1. Large files on a network are sent as small units called:

    1. Packets
    2. Folders
    3. Ports
    4. Cables
    Show answer

    Answer: A. Data is cut into packets, each labelled so that it can be put back in order.

  2. 2. How many bits are there in one byte?

    1. 4
    2. 16
    3. 8
    4. 10
    Show answer

    Answer: C. A byte is a group of eight bits.

  3. 3. A 60 MB file is downloaded at 16 megabits per second. How long does it take?

    1. 30 seconds
    2. 3.75 seconds
    3. 60 seconds
    4. 15 seconds
    Show answer

    Answer: A. 60 MB = 480 megabits. 480 divided by 16 = 30 seconds.

  4. 4. A 1200 MB file downloads at 8 megabytes per second. How many seconds?

    1. 96
    2. 1200
    3. 8
    4. 150
    Show answer

    Answer: D. Units match (bytes), so 1200 divided by 8 = 150 seconds.

  5. 5. Which term means the amount of data a connection can carry each second?

    1. Latency
    2. Bandwidth
    3. Header
    4. Packet
    Show answer

    Answer: B. Bandwidth is the capacity of a connection. Latency is the delay.

Privacy · Terms · Refunds · Delivery