Hot topics

Trying to make sense of your data plan? Bytes and bits explained

glossary 6 bit byte
© nextpit

How much free space do you have on your smartphone? How much data can you use through your mobile carrier? How many files can that USB stick hold? What are the download speeds in that fiber optic cable? All these relatively simple questions are answered in measurements of bytes of bits (and their multiples), depending on the context. But what do all these measures mean in everyday use? Let’s try to make sense of these units for measuring computer units.

What’s a bit?

The word bit comes from the phrase “binary digit” and literally means a single “0” or “1”. That means each bit can only have one distinct value: either a zero or one. A bit is represented with the letter “b” and is always lowercase. Bits are the fundamental unit of measurement for informatics and, obviously, you’ll need many bits to represent different kinds of information.

The states 1 and 0 are known as logical states and are used by modern computers and PCs. Since each bit can assume two states, the combination of n bits can assume 2^n different states (2 raised to the nth power). For example, 3 bits can represent 2^3 = 8 different logical states, as shown in the following table:

Possible logical states with 3 bits

Logical state Numerical equivalent
000 0
001 1
010 2
011 3
100 4
101 5
110 6
111 7
Interestingly: the powers of 2 (1,2,4,8,16,32,64) in binary digits are represented by the number 1 followed by a certain number of 0s. To count the number of 0s to be added, just look at the exponent. For example: 2^8 = 256 in binary is written as 100000000

What is a byte?

A byte is nothing more than the merging of 8 sequential bits, where the information is stored or transported by sending multiple bytes at the same time. The more complex the information, the more bytes are needed to represent it. Bytes are indicated with the letter “B”, which is always capitalized.

Thanks to this simple rule, we know that bits and Bytes have this simple relationship:

  • Value in bits = Value in Bytes x 8
  • Value in Bytes = Value in bits / 8
byte waifu2x photo noise1 scale tta 1
Simple, isn't it? / © YouMath.it

Multiples of bits and bytes

Since nowadays millions (if not even billions) of bits or bytes are needed to represent information, specific prefixes have been created to reduce the number of unnecessary digits. Think of the unit of measurement for weight, the gram: to define weights thousands of times greater than the gram, there are other terms we use: such as the hectogram, kilogram, quintal or ton. It’s the same when it comes to informatics.

Initially, differentiation was carried out using binary digits as a reference. A different prefix was assigned for each 2^10 value. Since the conversion wasn’t as clear as what we’re used to, as we think on the basis of 10s and not on the basis of 2s, the prefix was changed from 1024 to 1000 for the international system.

scala byte
It doesn't sound like it, but the difference in size between the prefixes is huge! /  © YouMath.it

This introduced some error at every level of conversion, but it’s still usable in everyday use. You just have to keep an on the difference between the actual measurement used by PCs and those used “commercially” in the international system.

Bit multiples

Name (international system) Unit of measurement Multiple Name (binary prefixes) Unit of measurement Multiple
Kilobit kb 10^3 Kibibit Kib 2^10
Megabit Mb 10^6 Mebibit Mib 2^20
Gigabit Gb 10^9 Gibibit Gib 2^30
Terabit Tb 10^12 Tebibit Tib 2^40
Petabit Pb 10^15 Pebibit Pib 2^50
Exabit Eb 10^18 Exbibit Eib 2^60
Zettabit Zb 10^21 Zebibit Zib 2^70
Yottabit Yb 10^24 Yebibit Yib 2^80

Byte multiples

Name (international system) Unit of measurement Multiple Name (binary prefixes) Unit of measurement Multiple
KiloByte kB 10^3 KibiByte KiB 2^10
MegaByte MB 10^6 MebiByte MiB 2^20
GigaByte GB 10^9 GibiByte GiB 2^30
TeraByte TB 10^12 TebiByte TiB 2^40
PetaByte PB 10^15 PebiByte PiB 2^50
ExaByte EB 10^18 ExbiByte EiB 2^60
ZettaByte ZB 10^21 ZebiByte ZiB 2^70
YottaByte YB 10^24 YebiByte YiB 2^80

Some practical examples

To understand how these units of measurement affect our daily lives on computers, it’s enough to think of memory as enormous buckets that are filled with bits/Bytes that are represented by a volume of water: a 128-liter bucket is 1000 times larger than a 128-millimeter container. The same ratio applies for GB and MB and so on.

If you have 10GB of data traffic available from your mobile carrier, you can physically generate a traffic volume of 10GB. There’s no maximum connection time, as it depends solely on the volume occupied by what you see. Logically, images and videos carry a greater weight than text, which is why too much social media will drain your monthly plan.

When we talk about bits and bytes, we speak of certain volumes, so it’s easy to understand why the same units of measurement are used to indicate speeds - usually bits for internet connections and bytes for reading or writing data.

When we talk about pipes, we use liters per second to indicate the speed with which water can flow through them. It’s the same for data connections (wired or wireless): bits per second indicates the rate at which information can be transferred. Warning: many retailers play on the relationship between bits and bytes and exploit users who don’t understand the difference. If you’ve been promised download speeds of 20 megabits per seconds, that’s “only” 2.5 megabytes per second.

SanDisk 3547666963 capacity chart mobile fullhd IT 1
An indicative table of the "weight" of the most common files. / © SanDisk

When indicating connection speeds, the measurement units in bits or bytes are followed by the suffix “ps”, which means “per second”. 4G connections can reach transmission rates of up to 1.2 Gbps (gigabits per second) and common SSDs transfer data at speeds of several hundred MBps (MegaBytes per second).

 The best smartphones under $400

  Editorial tip Price tip 3rd place 4th place 5th place
Product
Image Google Pixel 6a Product Image Apple iPhone SE (2022) Product Image Samsung Galaxy A53 Product Image OnePlus Nord N20 Product Image Motorola Moto G Stylus 5G (2023) Product Image
Review
Review: Google Pixel 6a
Review: Apple iPhone SE (2022)
Review: Samsung Galaxy A53
Not yet tested
Not yet tested
Price (MSRP)
  • $449.00
  • $429.00
  • $449.99
  • $299.00
  • $399.00
Offer*
Go to comment (2)
Liked this article? Share now!
Recommended articles
Latest articles
Push notification Next article
2 comments
Write new comment:
All changes will be saved. No drafts are saved when editing
Write new comment:
All changes will be saved. No drafts are saved when editing

  • Rusty H. 33
    Rusty H. Aug 14, 2018 Link to comment

    A bit is how much food I can stuff in my face at one time. A byte is how much will go down my throat without choking LOL.
    I always loved when you picked up a box of floppy disk that said "2.0 megabits" but in SMALL print it said format capacity 1.44 megabits.


  • Albin Foro 30
    Albin Foro Aug 10, 2018 Link to comment

    Good article. Rarely a problem because most commercial consumer-facing labeling and advertising is in bytes (GB. MB) for both storage and transfer speeds. That creates miscommunication when grinning telecom regulators (FCC, Canada's CRTC) and politicians pitch their work in bits (Gb, Mb) that inflate the byte numbers by a factor of 8. Great headlines when the FCC noisily defined "broadband" as 25Mbps down and 3Mbps up, confusing a lot of citizens who thought such stern and forceful action would lead to better than 15 year old DSL internet.