CalculatorsLesson 161Free preview
Data Storage Converter
This lesson is part of Web Developer Tools · All levels
Summary
The Data Storage Converter changes the size of data between bits, bytes, kilobyte, megabyte, gigabyte, and terabyte, with both a decimal base of 1000 and a binary of 1024. One byte consists of 8 bits, while KiB and MiB explicitly use a base of 1024. This basic difference makes the 1 TB disk capacity look smaller in the operating system.
Key points
- 1 byte = 8 bit
- SI: 1 kB = 1000 bytes; IEC: 1 KiB = 1024 bytes
- 1 MiB = 1.048.576 byte
- Network speed is usually expressed in bits per second
- Storage capacity often uses a base of 1000, whereas the OS can use a base of 1024.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.