Strona główna ITBasics How many bits are in a byte, KB, MB, GB and TB?

How many bits are in a byte, KB, MB, GB and TB?

przez Tomasz

1 bit is the smallest information unit in computer science. It takes one of two values – zero or one. A sequence of such bits with zero-one values allows the transmission of any information digitally. The larger unit containing 8 bits is called 1 byte.

Larger memory units are identified by adding the prefixes kilo, mega, giga, and tera. In the SI system, decimal prefixes are powers of 10. In computer science, however, it is customary to use the power of two.

So 1 KB (kilobyte) is 2 to the 10th power, or 1024 bytes. The following prefixes represent the number two to the power of 20, 30, 40 etc.

Summarizing:

  • 1KB = 2 to the 10th power or 1024 bytes.
  • 1 MB (megabyte) equals 2 to the 20th power or 1024 kilobytes.
  • 1GB (gigabyte) equals 2 to the 30th power, or 1024 megabytes.
  • 1TB (terabyte) equals 2 to the 40th power, or 1024 Gigabytes.

Inne ciekawe wpisy

Zostaw komentarz

Kontakt

Zapraszamy do kontaktu drogą mailową: [email protected]