What Is a Byte? Bits, KB, MB, GB and TB Explained
What Is a Byte?
A byte is a unit of digital information equal to 8 bits, and it’s the basic building block used to measure file sizes, storage capacity, and data transfer. A single byte can represent one character of text, like a letter or number, which is why byte-based units scale up to describe everything from a short text message to an entire hard drive.
For background on the unit itself, see the byte entry on Wikipedia.
Data Storage Units Chart

| Unit | Equal To | Real-World Example |
|---|---|---|
| 1 bit | Smallest unit (0 or 1) | A single on/off value |
| 1 byte | 8 bits | One text character |
| 1 kilobyte (KB) | 1,024 bytes | A short email |
| 1 megabyte (MB) | 1,024 KB | A few photos, or a short song (compressed) |
| 1 gigabyte (GB) | 1,024 MB | About 200-300 songs, or a long HD movie |
| 1 terabyte (TB) | 1,024 GB | Roughly 250,000 photos, or a large external hard drive |
Why 1,024 Instead of 1,000?
Computers work in binary (base 2), so storage units traditionally scale by powers of 2 rather than powers of 10 – 1,024 (which is 2 to the 10th power) is the binary equivalent of “one thousand.” This is why a “1 TB” hard drive sometimes appears smaller than expected in an operating system: drive manufacturers often use the decimal definition (1 TB = 1,000,000,000,000 bytes) while operating systems report storage using the binary definition, creating a visible gap between the advertised and displayed capacity.
Bits vs. Bytes: Why the Distinction Matters
Internet speeds are typically advertised in megabits per second (Mbps), using a lowercase “b” for bits, while file sizes are measured in megabytes (MB), using an uppercase “B” for bytes. Since 1 byte equals 8 bits, a “100 Mbps” internet connection downloads at a theoretical maximum of about 12.5 MB per second (100 ÷ 8), a distinction that trips up a lot of people comparing an internet plan’s advertised speed to an actual download time.

Converting Between Storage Units
next unit up = current unit ÷ 1,024
To convert any storage unit up one level (bytes to KB, KB to MB, and so on), divide by 1,024. To convert down a level, multiply by 1,024. A 2,500 MB file, for example, is 2,500 ÷ 1,024 ≈ 2.44 GB.
File Size Examples
| File Type | Typical Size |
|---|---|
| Text document (a few pages) | 20-100 KB |
| Smartphone photo | 2-5 MB |
| MP3 song (3-4 minutes) | 3-8 MB |
| HD movie (1-2 hours) | 1-4 GB |
| 4K movie | 15-25 GB |
Beyond Terabytes: Petabytes and Exabytes
| Unit | Equal To | Context |
|---|---|---|
| Petabyte (PB) | 1,024 TB | Large corporate data centers |
| Exabyte (EB) | 1,024 PB | Major cloud providers’ total storage |
These larger units rarely come up in everyday computing, but they’re increasingly relevant as cloud storage, streaming services, and large-scale data analytics push total global data volume into the petabyte and exabyte range – some estimates put total global data creation well into the zettabyte range (1,024 exabytes) per year.

Related Conversions
See also mph to kph conversion chart and knots to mph conversion chart for other everyday reference conversions.
Frequently Asked Questions
How many bytes are in a kilobyte?
1 kilobyte equals 1,024 bytes in the traditional binary definition, though some contexts use 1,000 bytes instead.
Why does my hard drive show less storage than advertised?
Manufacturers typically use decimal units (1 TB = 1 trillion bytes) while operating systems report storage using binary units (1 TB = 1,024 GB in binary terms), creating a visible gap between the two figures.
How many megabytes are in a gigabyte?
1 gigabyte equals 1,024 megabytes.
What is the difference between Mbps and MB?
Mbps (megabits per second) measures internet speed in bits, while MB (megabytes) measures file size in bytes – there are 8 bits in a byte, so the two units aren’t directly interchangeable without dividing or multiplying by 8.
How many bits are in a byte?
8 bits make up 1 byte.