TechKnowSurge
CompTIA Tech+ 1.5 CompTIA Tech+ 1.1
VideoComputeFree

Kilo, Mega, Giga, Tera, Peta

Digital storage and data transfer speeds are measured using standard unit prefixes — kilo, mega, giga, tera, and beyond — but two competing measurement systems, SI and binary, produce values that diverge significantly at higher scales. Understanding both systems is essential for accurately interpreting storage capacities and network speeds in real-world IT environments.

Complete this video to capture a CTF flag worth 1 point.

About this video

Digital data measurement relies on a set of unit prefixes — kilo, mega, giga, tera, and peta — applied to either bits or bytes to express storage capacity and transmission speed. Under the International System of Units (SI), each prefix represents a power of 1,000: a kilobyte is 1,000 bytes, a megabyte is 1,000,000 bytes, a gigabyte is 1,000,000,000 bytes, and so on. Storage is conventionally denoted with an uppercase B (e.g., TB for terabyte), while data transfer rates append bps — bits per second — to the appropriate prefix abbreviation, with a lowercase k used specifically for kilo in that context. A second measurement convention, the binary prefix system, uses powers of 1,024 rather than 1,000, reflecting how computer memory is physically organized. The difference between the two systems is minor at the kilobyte level — roughly 2.4% — but compounds at higher magnitudes, reaching approximately 12% at the petabyte scale. This divergence creates meaningful discrepancies when calculating storage capacity or evaluating hardware specifications, making it important to identify which system a given technology or vendor is using. To address widespread confusion, the International Electrotechnical Commission (IEC) proposed a standardized nomenclature in 1998, designating binary-based units as kibibyte (KiB), mebibyte (MiB), gibibyte (GiB), tebibyte (TiB), and so on — distinguished by the insertion of "bi" into the prefix. Despite this effort, adoption has been inconsistent, and many manufacturers and operating systems continue to use SI terminology while applying binary calculations. For most general purposes, SI units are sufficient, but precise technical work — particularly in storage provisioning, networking, and system administration — requires verifying which measurement standard applies.

What you'll learn

What's covered

Kilobytes & Megabytes Explained

Aligned to

CompTIA Tech+
1.5 Compare and contrast common units of measure.
1.1 Compare and contrast notational systems.

Key terms

SI (International System of Units)
SI
A standardized decimal-based measurement system that defines unit prefixes such as kilo, mega, and giga as powers of 1,000, used globally for measuring digital storage and data transmission rates.
Binary Prefix
A unit prefix system based on powers of 1,024 rather than 1,000, used to measure digital storage quantities such as kibibytes and gibibytes.
Bandwidth
The maximum rate of data transfer across a network path, typically measured in bits per second.
Kibibyte
KiB
A binary prefix unit of digital storage equal to 1,024 bytes, as defined by the IEC in 1998 to distinguish from the SI kilobyte of 1,000 bytes.
Management Information Base
MIB
A hierarchical database that defines the variables (objects) that a network device exposes for monitoring and management via SNMP. Each MIB object is uniquely identified by an OID and can represent device statistics, configuration settings, or status information.
Gibibyte
GiB
A binary prefix unit of digital storage equal to 1,024 mebibytes, distinguished from the SI gigabyte of 1,000,000,000 bytes.
Tebibyte
TiB
A binary prefix unit of digital storage equal to 1,024 gibibytes, distinguished from the SI terabyte of 1,000,000,000,000 bytes.

Topics

Data Storage Units Of Measurement Binary Prefixes Si Prefixes Data Transmission Storage Capacity

Transcript

What the prefixes mean

My guess is that many of you already know or have encountered what a kilobyte is or what a megabyte is, and have some general idea of the concept of them. But what is it specifically, and more importantly, is there any variation with this? The answer to that is yes.

A kilo stands for 1,000. So if I have a kilobit, that's 1,000 bits. If I have a kilobyte, it's 1,000 bytes. Same thing with mega: if I have a megabit, then it's a million bits; if I have a megabyte, then it's a million bytes. Same thing with giga, which stands for billion, and tera, which is trillion, and so on and so forth.

Here's another way to look at that. Let's say I had a terabyte of information. That would be a trillion bytes, or it would be a billion kilobytes, or it would be a million megabytes, or a thousand gigabytes.

How they are written

So how do we represent this? If we're talking about speeds, we just add a bps to the end of whatever letter it is. Notice the K is lower case and the rest of these are upper case, so mega, giga, tera and peta here. If it was storage, same thing, except it's just represented by a B rather than the bps over here. And it's usually big B because it's storage, so we're talking about bytes usually.

Let's actually apply this. What does this look like? For the first one here, what we have is 8 terabytes, so that would be 8 trillion. If I were to write this out, it'd be 8, and this would be thousand, this would be million, this would be billion, and then trillion. And it's a byte, so we're going to say byte right here. That's how we would come up with this.

I can do the next one as well: 64, and this would be thousand and this would be million, and this is a megabyte. So 64 million bytes is what this is.

What you can do is go and figure out the rest of these, and then we'll come together and see what we come up with. The answers to these are right here, so you can check your answers to see how close you got. Hopefully you caught that this was a little b, as well as all these transmission speeds. These are some of the transmission speeds and some of the data rates that you would actually see out there on a lot of our ethernet connections.

SI units versus binary prefixes

For the most part it really is just that simple, and for most of what we're doing, this is simple enough. However, if we're getting really granular on how we're measuring things, there is one concern that comes up, and that's that not everybody measures this all the same.

What I've just gone over is the international system of units, and that's pretty standard out there for measuring not just computer stuff but all sorts of things. So we use this system for measuring computer stuff as well. But it's not the only way that we measure things. There's also this binary prefix here, and we measure it in 1024 instead. So a kilo is. A giga is this number right here. A tera and a peta. We can see a difference with this, and that's because instead of using 1,000 to whatever power, we're using 1024 to whatever power.

Why this makes a difference is because on a small scale it really doesn't make much of a difference. If we're talking about kilos, 1,000 versus 1,024 is just a 2.4% difference. But as we work our way up, since we're using 1024 rather than 1,000, now we see at the peta range it's a 12% difference, and that's fairly significant.

The naming standard, and why it doesn't always help

There's a lot of confusion out there when it comes to these units, and a lot of misinformation that's out there as well. You'll see much of this measured in SI and much of it measured in binary prefixes. To help try to standardize this, in 1998 the IEC tried to say, okay, this is what you should do. If you're using the SI form of measuring this, you can call it kilobytes, megabytes, gigabytes, terabytes and so on and so forth, and you can use the standard measurement. However, if you're using the binary prefix form of this, we should call it a kibibyte, a megbibyte, a gigbibyte, a tebibyte. These are how you should specify it, with a little i slipped in there, so that people know the difference and can understand the difference.

However, a lot of people don't follow these rules, so even though they're using binary prefixes, they still represent their data as if it's an SI type of measurement here. So the biggest thing is that for the most part you're safe using the SI, but if you want to get really granular, then you'll have to look into the specific technology that you're using and make sure that you're calculating things correctly.

About TechKnowSurge

TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.

Explore free tools and programs →