Data Size Converter

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

Result
Ad

Data Size Reference

FromToValue
1 bytebits8 bits
1 KBbytes1,000 bytes
1 MBkilobytes1,000 KB
1 GBmegabytes1,000 MB
1 TBgigabytes1,000 GB
1 GiBmebibytes1,024 MiB

Digital storage is measured in units based on bytes, where each byte contains 8 bits. As storage capacities have grown, larger prefixes like kilobytes (KB), megabytes (MB), gigabytes (GB), and terabytes (TB) have become standard. There are two systems: the decimal system (1 KB = 1,000 bytes, used by hard drive manufacturers and most everyday contexts) and the binary system (1 KiB = 1,024 bytes, used in operating systems). This converter supports both.

How to use this tool

  1. Enter the data size value you want to convert.
  2. Select the unit you are converting from (e.g. GB or MB).
  3. Select the target unit. The result is calculated instantly.

Frequently asked questions

How many bytes are in a megabyte?

In the decimal system, 1 MB = 1,000,000 bytes. In the binary system, 1 mebibyte (MiB) = 1,048,576 bytes. Hard drive manufacturers use decimal, while operating systems often display binary values.

How many GB is 1 TB?

One terabyte (TB) equals 1,000 gigabytes (GB) in the decimal system, or 1,024 gibibytes (GiB) in the binary system.

What is the difference between a bit and a byte?

A bit is the smallest unit of digital data — a 0 or 1. A byte consists of 8 bits. Internet speeds are typically measured in bits per second (Mbps), while file sizes are measured in bytes (MB, GB).

How many MB is a GB?

1 GB = 1,000 MB in the decimal system. So a 5 GB file is 5,000 MB.