Home > Common Problem > body text

What is the conversion relationship between bits and bytes?

WBOY
Release: 2022-08-29 11:04:02
Original
50483 people have browsed it

The conversion relationship between bits and bytes is: 1 byte equals 8 bits. Bit is a unit of information, transliterated from the English bit. It is also a bit in a binary number and is the smallest unit of information. Bytes are also a unit of measurement used in computer information technology to measure storage capacity, and also represent some computer programming. Data types and language characters in a language.

What is the conversion relationship between bits and bytes?

The operating environment of this tutorial: Windows 10 system, DELL G3 computer.

What is the conversion relationship between bits and bytes?

The conversion relationship between Bytes and bits is 1 Byte = 8 bit.

bit (bit)

Bit (BIT, Binary digit), a computer terminology, is a unit of information and is composed of Transliterated from English BIT. It is also a bit in a binary number, a measurement unit of information, and the smallest unit of information. Information necessary to reduce the number of stimulus alternatives by half in situations where a different choice is required. That is, the information amount (number of bits) of the signal is equal to the logarithm of the signal stimulus amount with base 2. L. Hartley believed in 1928 that logarithmic units are most appropriate to measure the amount of information.

bit is the bit that we may not have heard of, and the famous Bitcoin is named after it. Its abbreviation is lowercase "b".

As the most basic storage unit of information technology, bits are not often heard in people’s lives because they are too small. So what is bit?

Computers store and send and receive data in binary. A bit in binary is called 1 bit. In other words, the meaning of bit is a digit in a binary number, that is, "0" or "1".

Byte (byte)

Byte is the English way of writing byte. Its abbreviation is a capital letter "B".

Byte (Byte) is a unit of measurement used by computer information technology to measure storage capacity. It also represents data types and language characters in some computer programming languages ​​[1] .

One byte stores an 8-bit unsigned number, and the stored value range is 0-255. Just like characters, byte type variables only need to use one byte (8 bits) of memory space to store

Since the name is byte, it must be related to characters. Yes. English characters are usually one byte, which is 1B, and Chinese characters are usually two bytes, which are 2B.

The conversion relationship between Byte and bit is 1 Byte = 8 bit.

KB (kilobytes)

What you need to understand is that 1 KB is not a kilobyte, because the computer only Understand binary, so the KB here is 2 to the 10th power, which is 1024 bytes.

In addition, B is written as b in many places indicating storage units, causing confusion in everyone's understanding. In fact, wherever b appears in storage unit measurement, it still means B. Don’t be misled just because the abbreviation of bit is b. Units such as bit and kilobit are not used in storage measurement. But in Internet speed measurement, the real meaning of b is bit

For more related knowledge, please visit the FAQ column!

The above is the detailed content of What is the conversion relationship between bits and bytes?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!