Converters

Data Storage Converter

Convert between bits, bytes, and larger storage units instantly.

Unit Reference (binary, ×1,024)

UnitBytesExample
Bit0.125Single 0 or 1
Byte1One text character
Kilobyte1,024A short email
Megabyte1,048,576A few photos
Gigabyte1,073,741,824~250 songs
Terabyte1,099,511,627,776~250,000 photos

Binary vs. Decimal

This converter uses the traditional binary convention (1 KB = 1,024 B), matching what your operating system displays for file and drive sizes. Storage manufacturers instead use the decimal convention (1 KB = 1,000 B), which is why a drive advertised as 1 TB shows closer to 931 GB once formatted.

Common Conversions

1 KB1,024 B
1 MB1,024 KB
1 GB1,024 MB
1 TB1,024 GB
8 bits1 byte
1 GB1,048,576 KB

Related

Related calculators.

FAQ

Frequently asked questions.

How many bytes are in a kilobyte?

In the traditional binary convention used by operating systems and this converter, one kilobyte (KB) equals 1,024 bytes. Some contexts use a decimal convention where 1 KB equals exactly 1,000 bytes (labeled kilobyte vs. kibibyte) — file sizes shown by an OS almost always use the 1,024 convention.

How many megabytes are in a gigabyte?

One gigabyte (GB) equals 1,024 megabytes (MB) under the binary convention. So 1 GB equals 1,024 × 1,024 = 1,048,576 kilobytes, or 1,073,741,824 bytes.

What is the difference between a bit and a byte?

A bit is the smallest unit of digital data, representing a single 0 or 1. A byte is a group of 8 bits and is the standard unit for measuring file sizes, memory, and storage. Internet speeds are usually measured in bits per second (Mbps), while file sizes are usually measured in bytes (MB).

Why does my hard drive show less space than advertised?

Storage manufacturers typically use the decimal convention (1 GB = 1,000,000,000 bytes), while operating systems display capacity using the binary convention (1 GB = 1,073,741,824 bytes). This mismatch means a drive advertised as 1 TB will show roughly 931 GB in your operating system, even though no data has actually been lost.

How many gigabytes are in a terabyte?

One terabyte (TB) equals 1,024 gigabytes (GB) under the binary convention used by this converter. A typical terabyte hard drive can store roughly 250,000 photos or 500 hours of HD video, though actual capacity varies by file size and format.

What units does a data storage converter support?

A comprehensive data storage converter supports bits, bytes, kilobytes, megabytes, gigabytes, terabytes, and petabytes, letting you convert between file sizes, storage capacities, and data transfer amounts across the full range from a single bit to a petabyte.

Last updated: August 17, 2026