Convert between bytes, kilobytes, megabytes, gigabytes, terabytes, and petabytes. Binary (1024) and decimal (1000) standards, visual scale bar, and storage reference.
Digital storage is measured in bytes, but the leap from bytes to kilobytes, megabytes, gigabytes, and beyond causes constant confusion — especially since the computing industry uses two different standards. The binary standard (used by operating systems) defines 1 KB = 1,024 bytes, while the decimal standard (used by hard drive manufacturers) defines 1 KB = 1,000 bytes. This difference compounds at larger scales: a "1 TB" hard drive shows as ~931 GB in your OS.
This converter handles all common units from bytes through petabytes in both standards. Enter a value in any unit and instantly see the equivalent in all others, along with a visual scale bar showing relative size. The binary vs. decimal comparison table shows exactly how much the two standards diverge at each scale — explaining why your new hard drive always seems to have less space than advertised.
Whether you are planning storage purchases, calculating file transfer times, estimating backup sizes, or comparing cloud storage tiers, this tool provides instant, accurate conversions with the context needed to choose the right standard for your use case.
The binary/decimal distinction confuses everyone. This tool converts instantly, shows both standards side-by-side, explains the discrepancy, and includes a visual scale bar. It answers the perpetual question: "Why does my 1 TB drive only show 931 GB?" with practical numbers for buying decisions, planning, support troubleshooting, and documentation clarity in technical teams.
Binary standard: 1 KB = 1,024 B, 1 MB = 1,024 KB, 1 GB = 1,024 MB, 1 TB = 1,024 GB, 1 PB = 1,024 TB. Decimal standard: 1 KB = 1,000 B, 1 MB = 1,000 KB, 1 GB = 1,000 MB, 1 TB = 1,000 GB, 1 PB = 1,000 TB. Conversion: value_in_bytes = value × factor_of_source_unit; result = value_in_bytes ÷ factor_of_target_unit.
Result: 1,024 GB (binary) or 1,000 GB (decimal)
1 TB in binary = 1,024 GB = 1,048,576 MB = 1,099,511,627,776 bytes. In decimal, 1 TB = 1,000 GB = 1,000,000,000,000 bytes. The difference is 99.5 billion bytes (~7.4%).
The confusion dates to the 1960s when computing adopted powers of 2 (since binary hardware naturally works in 1024s). As storage grew, manufacturers started using decimal prefixes for marketing (1,000 sounds bigger than 1,024 hurts). In 1998, the IEC introduced KiB/MiB/GiB to disambiguate, but adoption has been slow. Today, Windows shows binary sizes while macOS switched to decimal in 2009.
When buying storage, calculate needs in binary for OS compatibility: a 256 GB SSD provides ~238 GiB usable (minus filesystem overhead). For cloud services priced in decimal GB, the numbers match the listed capacity. Always check whether a service quotes binary or decimal when comparing prices per GB.
To estimate transfer time: divide file size (in bits) by connection speed (in bits/second). Remember: 1 byte = 8 bits. A 1 GB file over 100 Mbps: 8,589,934,592 bits ÷ 100,000,000 bps ≈ 86 seconds. Account for protocol overhead (typically 5-10% slower than theoretical maximum).
Manufacturers use decimal (1 GB = 1,000,000,000 bytes) while your OS uses binary (1 GiB = 1,073,741,824 bytes). A 1 TB drive has 1,000,000,000,000 bytes, which is 931.3 GiB. The bytes are all there — it is a labeling difference.
MB (megabyte) officially means 1,000,000 bytes (decimal), while MiB (mebibyte) means 1,048,576 bytes (binary). In practice, many people and programs use MB to mean the binary value, causing confusion.
Roughly 200-500 photos at typical smartphone quality (2-5 MB each). A 12 MP image (JPEG) is typically 3-5 MB, while RAW files can be 25-50 MB each, fitting only 20-40 in 1 GB.
A petabyte is 1,024 terabytes (binary) or 1,000 terabytes (decimal). To visualize: it could store about 500 billion pages of text, 3.4 years of 24/7 4K video, or 250,000 DVDs.
Both, depending on context. IEC standard (KiB) uses 1,024 bytes (binary). SI standard (KB) uses 1,000 bytes (decimal). Operating systems typically use binary, while storage manufacturers use decimal.
Exabyte (EB, 10^18), zettabyte (ZB, 10^21), yottabyte (YB, 10^24). In binary: exbibyte (EiB), zebibyte (ZiB), yobibyte (YiB). Global data creation is measured in zettabytes.