Home> Common Problem> body text

What is the difference between K and KB

青灯夜游
Release: 2020-09-08 13:58:14
Original
205586 people have browsed it

The difference between K and KB: 1. The concepts of k and kb are different; 2. K means thousands, which is a numerical value, and KB is the unit, where B is bytes and KB means kilobytes.

What is the difference between K and KB

k and kb are two completely different concepts: K means thousands, which is a numerical value; and KB is a unit, where B is a byte, KB Represents kilobytes.

G, M, and K all represent numerical values, which refer to 2^10, 2^20, and 2^30 respectively; while B is 1 byte, and B, KB, MB, and GB are all units.

KB stands for kilobytes, which is a unit of information measurement that is commonly used today to indicate the storage capacity of storage media with general capacity such as memory.

Note:When talking about file size, B may sometimes be omitted, so that K and KB are the same,But in fact this is not rigorous, you need to pay attention.

Conversion between B, KB, MB, GB:

● 1B=8bit

● 1KB = 1024B = 1024 * 8bit (1KB : 1024 bytes, that is, 2^10 bytes, not 1 byte)

 ● 1MB = 1024KB (1MB: 2^20 bytes)

 ● 1GB = 1024MB

bit(binary digit): A bit is the smallest unit of computer data. The value of the bit will only be 0 or 1. Although computers also provide bit judgment and operations, computer instructions are generally in bytes. In most computer systems, eight bits are a byte. The value of a bit is usually measured by whether the storage capacitor is charged.

The above is the entire content of this article, I hope it will be helpful to everyone's study. For more exciting content, you can pay attention to the relevant tutorial columns of the PHP Chinese website! ! !

The above is the detailed content of What is the difference between K and KB. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
k kb
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
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!