Data Storage Converter

Convert between bits, bytes, kilobytes, megabytes, gigabytes, terabytes, petabytes and more.

Frequently Asked Questions

How many megabytes are in a gigabyte?

In computing, 1 gigabyte equals 1,024 megabytes (using binary prefixes). However, storage manufacturers often use 1 GB = 1,000 MB (decimal). This tool uses binary (1 GB = 1,024 MB).

How many bytes are in a kilobyte?

1 kilobyte equals 1,024 bytes in the binary system used by computers. In the decimal system, 1 kilobyte = 1,000 bytes. Most operating systems display file sizes using binary kilobytes.

What is the difference between GB and GiB?

GB (gigabyte) in marketing context often means 1,000,000,000 bytes (decimal). GiB (gibibyte) is the precise binary term for 1,073,741,824 bytes (2^30). Operating systems typically report storage in GiB but label it GB.

How many bits are in a byte?

There are exactly 8 bits in one byte. This is a fundamental definition in computing. A single bit is the smallest unit of data (0 or 1), and a byte can represent 256 different values.

How large is a petabyte?

One petabyte equals 1,024 terabytes, 1,048,576 gigabytes, or approximately 1.13 billion gigabytes. To put it in perspective, 1 petabyte could store about 11 years of continuously recorded HD video.