Data Size Converter

Convert a file or storage size between bits, bytes, and decimal-based KB/MB/GB/TB/PB units.

Bits8,000,000,000
Bytes1,000,000,000
KB1,000,000
MB1,000
GB1
TB0.001
PB0.000001

Uses decimal (1000-based) units, matching how storage manufacturers label capacity, not the 1024-based binary units (KiB, MiB) some operating systems display.

Example input

1 GB

Example output

1,000,000,000 bytes

What is a Data Size Converter?

File and storage sizes get expressed in a range of units, from raw bits and bytes up through kilobytes, megabytes, gigabytes, terabytes, and petabytes, and converting between them by hand means repeatedly multiplying or dividing by 1,000. This tool does that conversion instantly across all the common units at once, so you can see a single size expressed every way you might need it without doing the math yourself.

When to use it

This is useful when comparing a file size reported in one unit against a storage limit expressed in another, when estimating how many files of a given size will fit in a certain amount of storage, or when converting a data transfer rate or file size mentioned in a spec sheet into units you find easier to reason about. It's a small calculation, but one that's easy to get wrong through a units mistake, especially when converting across several steps at once, like bits to gigabytes.

How it works

The converter uses decimal, 1,000-based units, meaning 1 kilobyte equals 1,000 bytes, 1 megabyte equals 1,000 kilobytes, and so on. This matches how storage manufacturers label drive capacity. It's worth knowing this differs from the 1,024-based binary units some operating systems display, like a file manager showing a slightly smaller size in MB than the manufacturer's listed capacity for the same drive, which is one of the most common sources of confusion around storage sizes.

Frequently asked questions

Why does my hard drive show less storage than advertised?

This is almost always a units mismatch, not missing storage. Manufacturers label capacity using decimal units (1 GB equals 1,000,000,000 bytes), while many operating systems display capacity using binary units (where 1 GB effectively means 1,073,741,824 bytes). The actual physical storage is there. It's just being measured and displayed with two different conventions.

What's the difference between a kilobyte and a kibibyte?

A kilobyte (KB) is 1,000 bytes under the standard decimal definition. A kibibyte (KiB) is 1,024 bytes, a separate binary-based unit created specifically to remove the ambiguity between the two systems. Many operating systems label binary-based sizes as KB or MB when they technically mean KiB or MiB, which is where a lot of the confusion originates.

How many bytes are in a bit, and why does that matter?

A bit is one binary digit, and 8 bits make up 1 byte. This matters most when comparing network speeds, which are typically advertised in bits per second (like Mbps), against file sizes, which are almost always measured in bytes. Mixing up bits and bytes by a factor of 8 is a very common estimation mistake.