Data storage is a rather young issue, of ever-increasing importance in the modern world: with our byte converter, you will learn how we measure data storage, and how to convert between the most common units.
Keep reading to find out:
- What is computer memory;
- What is a bit, and why it is so important;
- The multiples of the bit: how to convert the bit from decimal to binary multiples and vice versa;
- What is a byte;
- The multiples of the byte, and how to calculate the bytes in storage.
If you're already satisfied with our byte converter, then you can visit the other tool that quickly finds what day of the week is it based on the specific date you provide.
What is a bit? The smallest unit of information
What's the smallest thing a human can remember? That's a good question, but it's easier to answer when we talk about computers.
Generally speaking, the smallest thing a computer can memorize is a single binary digit: a bit. A bit has either value or . Bits represent binary logical states. Apart from and , we can use them to represent other quantities, such as:
- True and False;
- On and Off;
- and .
The diverging ways of information: the multiples of the bit
Information can either move or get stored somewhere, even on your computer. The first situation usually refers to data transfer and transmission, while the other refers to data storage: their scopes are fairly different. Let's analyze them in detail.
Bit rate: how fast you can download that movie
The speed at which information is transferred from one place to another is measured in bits per second. Since this quantity is not easily controlled by the architecture of the device, computer scientists use a metric approach. The multiples of the bit per second are powers of .
The amount of information that we can transfer in a second is then:
- A kilobit: ;
- A megabit: ;
- A gigabit: ;
- A terabit: .
The list goes on; however, your internet connection will rarely be higher than a few gigabits per second. The following multiples are the petabit, the exabit, the zettabit, and the yottabit.
Check our transfer speed calculator in case you want to transfer data between two different devices.
🙋 Researchers in Japan broke the world record for the fastest internet speed with . A speed of one petabit per second was recorded during an experiment, but without practical applications.
Memory storage: why 1024?
As you've seen, computers are closely related to the number . To measure the memory of a device, we need to take this into account. Imagine having a device able to store a single bit of memory (a flip-flop, maybe): it can save two states. Now pair it with a copy of itself: we can memorize four states.
What about three flip-flops? The answer is that we can store .
This is a core concept in computer architecture: the memory scales with powers of 2, and not of 10. To take into account this different base, we need to introduce binary prefixes. Let's discover them while analyzing the storage multiples of the bit.
- The kibibit: ;
- The mebibit: ;
- The gibibit: ;
- The tebibit: ;
Of course we can go on with the pebibit (, exbibit (), etc.
Similarly to bytes, power units might also be confusing. For that reason, we prepared the power converter, which includes various popular power units.
How to convert bits from decimal to binary and vice versa
To convert a bit multiple into another, multiply the quantity by the ratios defining the multiple itsef. Check this example: if you want to know how many gigabits is a gibibit (from binary to decimal), apply the following transformation:
Which tells us that, approximately, . Apply this strategy to any other conversion you may need.
Another one bytes the dust: 8 bits at a time
A bit stores very little memory, and from the dawn of computation, scientists started working with multiples of it. One of these multiple kind of stuck to the field: we are talking of the byte (symbol ), a group of 8 bits.
With 8 bits we can store exactly values, since . Shall we list them? Just a bit!
With possible states, computers started storing letters (both uppercase and lowercase), numbers, symbols: each of these associated to a specific 8-bit string.
Fun fact: you can mechanically simulate bits with gears, where the smallest gear is the lowest bit. Check the animations into visualize such a situation.
That's why the byte remained in common use. Let's check the multiples of the byte. As for the bit, we can have both decimal and binary multiples. For many reasons, the binary one are more common.
- The kibibyte: ;
- The gibibyte: ;
- The tibibyte: ;
And so on. The decimal multiples are similar: the kilobyte (), the gigabyte ().
On most memories producers use the name of the decimal multiple, but the capacity in binary multiples. For example, when you buy an hard disk, you are actually buying an hard disk. The difference, however is similar.
The conversion of byte multiples
To calculate the bytes in a specific multiple, or to convert byte multiples from binary to decimal and the other way round, we use the same mechanics outlined before.
How to use our byte converter
Our byte converter offers you many combinations of common — and less common — measurement units for data storage and transfer. Choose the units you are analyzing in our byte conversion tool, and input the value.
We chose some of the most common for you already!