Data Size Converter
Convert between bits, bytes, kilobytes, megabytes, gigabytes, and terabytes.
Data Size Reference
| From | To | Value |
|---|---|---|
| 1 byte | bits | 8 bits |
| 1 KB | bytes | 1,000 bytes |
| 1 MB | kilobytes | 1,000 KB |
| 1 GB | megabytes | 1,000 MB |
| 1 TB | gigabytes | 1,000 GB |
| 1 GiB | mebibytes | 1,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
- Enter the data size value you want to convert.
- Select the unit you are converting from (e.g. GB or MB).
- 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.