Bytes, kilobytes, megabytes, and gigabytes — storage units explained
Digital storage is measured in bytes (B), grouped into kilobytes, megabytes, gigabytes, and terabytes. A byte is 8 bits — the smallest unit most file systems report. When you convert bytes to gb or run a byte to gigabyte converter, you are scaling by powers of 1,000 (SI decimal) or 1,024 (IEC binary), depending on which label the tool or OS uses.
This calculator handles both conventions: decimal KB/MB/GB/TB (1 KB = 1,000 bytes) and binary KiB/MiB/GiB/TiB (1 KiB = 1,024 bytes). Pick the units that match your context — hard-drive marketing often uses decimal; Windows/macOS file sizes often show binary mebibytes as "MB."