Kahibaro
Discord Login Register

2.5 Data Units (Kbps, Mbps, Gbps)

Understanding Data Units in Networking

When people talk about network speed, they usually mention values like 10 Mbps, 100 Mbps, or 1 Gbps. These numbers describe how fast data can move across the network. In this chapter you will focus on what these units actually mean and how to interpret them correctly.

You already know what bits and bytes are from the earlier chapter. Here you will build on that and apply it to real network speeds and file transfers.


Bits per Second vs Bytes per Second

Network speeds are almost always described in bits per second, not bytes per second. This is important because it affects how you read and compare numbers.

If you see:

So:

This difference matters when you compare your internet subscription speed with what you see while downloading a file. ISPs typically advertise in bits per second, but operating systems and browsers often show download speeds in bytes per second.

To convert between bits per second and bytes per second, use the basic relation between bits and bytes.

Key relation
$1 \text{ Byte} = 8 \text{ bits}$
Therefore:
$1 \text{ B/s} = 8 \text{ bps}$
$1 \text{ bps} = \dfrac{1}{8} \text{ B/s}$

So if your internet connection is 80 Mbps, the maximum theoretical download speed in megabytes per second is:

$$\dfrac{80 \text{ Mbps}}{8} = 10 \text{ MB/s}$$

This is why, even if you pay for 100 Mbps, you will not see 100 MB/s in your download window. The units are different.


Kilo, Mega, Giga: The Prefixes

In networking, you often see speeds and capacities written using metric prefixes such as kilo, mega, and giga. These are based on powers of ten.

In data transfer rates, these prefixes are usually interpreted using decimal values:

PrefixSymbolValueMeaning
kilok or K$10^3 = 1{,}000$thousand
megaM$10^6 = 1{,}000{,}000$million
gigaG$10^9 = 1{,}000{,}000{,}000$billion

So for network speeds:

This decimal system is what you will see in most networking specifications, such as Ethernet, Wi Fi, and ISP plans.

Some storage contexts may use binary prefixes (like kibibyte, mebibyte) based on powers of two, but for network data rates, think in thousands, millions, and billions.


Kbps, Mbps, Gbps: What They Mean

Now you can combine bits per second with the prefixes.

UnitFull NameIn Bits per Second
kbpskilobits per second$1{,}000$ bps
Mbpsmegabits per second$1{,}000{,}000$ bps
Gbpsgigabits per second$1{,}000{,}000{,}000$ bps

You may also see:

All of these describe how much data can be transmitted every second across a link.

Here is a comparison table with equivalent values in bytes per second, because that is what your download manager often shows.

Network RateIn bits per secondIn bytes per second (approx)
1 kbps1,000 bps125 B/s
1 Mbps1,000,000 bps125,000 B/s ≈ 122 kB/s
10 Mbps10,000,000 bps1,250,000 B/s ≈ 1.25 MB/s
100 Mbps100,000,000 bps12,500,000 B/s ≈ 12.5 MB/s
1 Gbps1,000,000,000 bps125,000,000 B/s ≈ 125 MB/s

These values assume the decimal interpretation of prefixes and the simple division by 8 to move from bits to bytes. In practice, actual speeds are lower because of overhead and other factors, which you will see in later chapters.


Converting Between Units

You often need to convert values between Kbps, Mbps, and Gbps, or between bits per second and bytes per second. The conversions are straightforward if you remember the factors of 1,000 and 8.

Prefix conversion rules
$1 \text{ kbps} = 1{,}000 \text{ bps}$
$1 \text{ Mbps} = 1{,}000 \text{ kbps} = 1{,}000{,}000 \text{ bps}$
$1 \text{ Gbps} = 1{,}000 \text{ Mbps} = 1{,}000{,}000{,}000 \text{ bps}$
Bit to byte conversion
Divide by 8 to go from bits per second to bytes per second.
Multiply by 8 to go from bytes per second to bits per second.

Here are typical conversions you may perform.

  1. Mbps to kbps:

$$10 \text{ Mbps} = 10 \times 1{,}000 = 10{,}000 \text{ kbps}$$

  1. Gbps to Mbps:

$$1 \text{ Gbps} = 1 \times 1{,}000 = 1{,}000 \text{ Mbps}$$

  1. Mbps to MB/s:

First convert megabits to bits, then to bytes.

$$25 \text{ Mbps} = 25 \times 1{,}000{,}000 \text{ bps} = 25{,}000{,}000 \text{ bps}$$

Now divide by 8 to get bytes per second.

$$\dfrac{25{,}000{,}000 \text{ bps}}{8} = 3{,}125{,}000 \text{ B/s} \approx 3.125 \text{ MB/s}$$

You can often shortcut this by dividing Mbps directly by 8 to get MB/s, which is usually precise enough for everyday use.


Relating Link Speed to Transfer Time

Knowing the units allows you to estimate how long it will take to transfer a file over a given link. This is a practical way to see what numbers like 100 Mbps or 1 Gbps really mean.

The basic idea is:

  1. Convert file size to bits.
  2. Divide by link speed in bits per second.

Transfer time formula
For a given file size and link speed:
$$\text{Time (seconds)} = \dfrac{\text{File size (bits)}}{\text{Link speed (bits per second)}}$$
Use $1 \text{ Byte} = 8 \text{ bits}$ to convert file size if needed.

Here are some example calculations, ignoring overhead and real world inefficiencies.

Suppose you are downloading a 100 MB file over a 100 Mbps link.

  1. Convert file size to bits:

$$100 \text{ MB} = 100 \times 8 \text{ Mb} = 800 \text{ Mb}$$

  1. Link speed is 100 Mbps.
  2. Time:

$$\text{Time} = \dfrac{800 \text{ Mb}}{100 \text{ Mbps}} = 8 \text{ seconds}$$

Now consider the same 100 MB file over a 10 Mbps link:

$$\text{Time} = \dfrac{800 \text{ Mb}}{10 \text{ Mbps}} = 80 \text{ seconds}$$

If you upgrade from 10 Mbps to 100 Mbps, your ideal transfer time for the same file becomes ten times shorter.

These estimates will not match reality exactly because of protocol overheads and other factors. However, they give a useful first approximation and help you understand the scale of differences between Kbps, Mbps, and Gbps.


Typical Real World Speeds

To give the units some context, here are some common link speeds you may encounter.

TechnologyTypical SpeedUnit
Very old modem connections56 kbpskilobits/s
3G mobile networks (approx)1 to 7 Mbpsmegabits/s
Older home DSL connections5 to 20 Mbpsmegabits/s
Modern home broadband50 to 1,000 Mbps (1 Gbps)megabits/s
Fast Ethernet100 Mbpsmegabits/s
Gigabit Ethernet1 Gbpsgigabits/s
10 Gigabit Ethernet10 Gbpsgigabits/s

Understanding Kbps, Mbps, and Gbps helps you compare these technologies. For example, 1 Gbps Ethernet is ten times faster than 100 Mbps Fast Ethernet, and 100 times faster than 10 Mbps Ethernet.

You will see how these speeds interact with concepts like throughput, latency, and encapsulation in later chapters. For now, focus on recognizing the units, converting between them, and relating them to practical transfer times.

Views: 47

Comments

Please login to add a comment.

Don't have an account? Register now!