Skip to content
ToolsLeb ToolsLeb

Byte/Bit Converter

Convert between bits, bytes, KB, MB, GB, and TB — clarifies the decimal vs. binary (1000 vs. 1024) discrepancy.

Share on Social Media:

Digital storage and file sizes are measured in bytes, but the exact meaning of "KB," "MB," and "GB" has two competing definitions — operating systems traditionally calculate them using powers of 1,024 (binary), while storage manufacturers and most modern software use powers of 1,000 (decimal) — which is exactly why a "1 TB" hard drive shows up as roughly 931 GB in Windows. This tool converts between bits, bytes, KB, MB, GB, and TB instantly.

Common byte conversions

  • 1 byte = 8 bits
  • 1 KB = 1,000 bytes (decimal) or 1,024 bytes (binary, sometimes labeled KiB)
  • 1 MB = 1,000,000 bytes (decimal) or 1,048,576 bytes (binary, MiB)
  • 1 GB = 1,000,000,000 bytes (decimal) or 1,073,741,824 bytes (binary, GiB)

Why your hard drive shows less space than advertised

Manufacturers label drive capacity using the decimal (1,000-based) definition of GB/TB, which matches the SI metric prefix standard. Operating systems, however, often calculate and display free space using the binary (1,024-based) definition — so a manufacturer-labeled "1 TB" (1,000,000,000,000 bytes) shows up as approximately 931 "GB" in Windows' File Explorer, which is using 1,024-based math. No storage is actually missing; it's two different, both technically valid, counting systems.

Where this is used

Comparing advertised drive capacity to what your OS actually reports, estimating how many photos, videos, or files will fit in a given amount of storage, and understanding cloud storage plan limits (which typically use the decimal definition, matching the manufacturer convention).

Frequently Asked Questions

Data storage and transfer units including bits, bytes, kilobytes, megabytes, gigabytes, terabytes, and their exabyte-scale equivalents.

There are 8 bits in 1 byte.

A byte is 8 bits — this matters because network speeds are usually quoted in bits per second (e.g. Mbps) while file sizes are usually quoted in bytes (e.g. MB), which trips people up when estimating download times.

Manufacturers label capacity using decimal GB/TB (powers of 1,000), while your operating system typically calculates and displays free space using binary GB (powers of 1,024). Both are valid counting systems — no storage is actually missing, it's a labeling difference.

Because your connection speed is usually advertised in megabits per second (Mbps) but file sizes are shown in megabytes (MB) — dividing your Mbps by 8 gives a rough MB/s estimate.

MB (megabyte) traditionally could mean either 1,000,000 or 1,048,576 bytes depending on context, which caused confusion. MiB (mebibyte) was introduced as an unambiguous term that always means exactly 1,048,576 bytes (1,024²), leaving MB free to mean the decimal 1,000,000 bytes.

It converts using the standard unit labels shown in the tool — check the exact unit you select if the decimal (1000-based) vs binary (1024-based) distinction matters for your use case, like matching what your OS reports.

Using the decimal definition (as used by manufacturers), 1 GB = 1,000,000,000 bytes. Using the binary definition (as many operating systems display), 1 GB ≈ 1,073,741,824 bytes.

Related but different — this tool converts storage size (bytes, KB, MB, GB, TB). For network/transfer speed (bits or bytes per second, like Mbps), use the Data Transfer Rate Converter instead.