Free online calculator

Data Storage Converter

Convert bits, bytes, kilobytes, megabytes, gigabytes, terabytes and binary storage units with clear, accurate results.

Convert data units

Enter a value, select your units and get the converted result instantly.

Enter a non-negative number.

Decimal standard (base 1000)

Binary standard (base 1024)

Converted result

1,000

Kilobytes (KB)
1 byte = 0.001 kilobytes

Quick presets

Select a common storage size to use it as your starting amount.

All data equivalents

See the current amount in all supported units.

Data storage reference table

Common decimal and binary storage units and their byte equivalents.

Unit Bytes Standard
Bit (b)1/8 byteBasic data unit
Byte (B)1Basic storage unit
Kilobyte (KB)1,000Decimal
Megabyte (MB)1,000,000Decimal
Gigabyte (GB)1,000,000,000Decimal
Terabyte (TB)1,000,000,000,000Decimal
Petabyte (PB)1,000,000,000,000,000Decimal
Kibibyte (KiB)1,024Binary
Mebibyte (MiB)1,048,576Binary
Gibibyte (GiB)1,073,741,824Binary
Tebibyte (TiB)1,099,511,627,776Binary
Pebibyte (PiB)1,125,899,906,842,624Binary

Understanding data storage units

Learn the difference between common data units and how conversions work.

Bits and bytes

A bit is the smallest basic unit of digital information. A byte consists of 8 bits and is commonly used to measure file sizes.

1 byte (B) = 8 bits (b)

Decimal units: KB, MB, GB

Decimal units use powers of 1,000. They are commonly used for drive capacity and data transfer specifications.

1 GB = 1,000 MB

Binary units: KiB, MiB, GiB

Binary units use powers of 1,024. They are useful when working with binary-based memory and computing measurements.

1 GiB = 1,024 MiB

Bits per second vs. bytes

Network speeds are commonly measured in bits per second, while file sizes are usually measured in bytes. These measure different things: transfer rate versus stored data.

8 megabits = 1 megabyte

Recent conversions

Your latest conversions remain available while this page is open.

Your conversions will appear here.

Common questions about Data Storage Converter

What is the difference between KB and KiB?

A kilobyte (KB) uses the decimal standard and equals 1,000 bytes. A kibibyte (KiB) uses the binary standard and equals 1,024 bytes.

How many megabytes are in one gigabyte?

One decimal gigabyte equals 1,000 megabytes. One gibibyte equals 1,024 mebibytes. Always check which unit standard is being used.

How many bits are in a byte?

A byte consists of 8 bits.

Why does my drive show less capacity than advertised?

Drive manufacturers commonly use decimal units, where 1 GB is 1,000,000,000 bytes. Some operating systems display capacity using binary-sized values while labelling them with decimal-style names. Formatting and system partitions can also affect available space.

What is the largest unit supported?

This converter supports decimal exabytes (EB) and binary exbibytes (EiB), alongside smaller units.

Is this converter free to use?

Yes. The converter runs in your browser and does not require an account. Your recent conversion history is kept only for the current page session.

About the Data Storage Converter

The Data Storage Converter translates between units of digital storage: bytes, kilobytes, megabytes, gigabytes, terabytes and the binary equivalents, along with bits and kilobits where relevant.

The confusion here is decimal against binary. A kilobyte is 1,000 bytes in the SI sense, but 1,024 bytes in the binary sense, which is what operating systems have historically used. That is why a drive sold as 1 TB shows about 931 GB in Windows: the manufacturer counts decimal, the system counts binary.

The IEC names remove the ambiguity: KiB is a kibibyte, 1,024 bytes, while kB is a kilobyte, 1,000 bytes. Storage vendors and network speeds use decimal; memory and many file systems use binary. Knowing which one a figure refers to explains most discrepancies.

Common questions about Data Storage Converter

Why does my 1 TB drive show less space?

Manufacturers count 1 TB as 1,000,000,000,000 bytes, while the operating system divides by 1,024, showing about 931 GB.

What is the difference between a kilobyte and a kibibyte?

A kilobyte is 1,000 bytes; a kibibyte is 1,024. The IEC introduced the -bi names to end the ambiguity.

How many bits are in a byte?

Eight. Network speeds are quoted in bits per second, storage in bytes, which is why a 100 Mbps connection downloads at about 12.5 MB per second.

Which units does RAM use?

Binary. A module sold as 8 GB holds 8 gibibytes, 8,589,934,592 bytes.

Does this convert between bits and bytes?

Yes, and the factor of eight is the usual reason a quoted speed looks wrong.

Are the results exact?

The factors are exact; display precision is rounded.