Data Converter
Data units measure the amount of digital information, from a single binary digit up to the terabytes that fill modern drives. The two foundations are the bit, the smallest unit a computer stores as a 0 or a 1, and the byte, a group of 8 bits that traditionally encodes one character of text. Everything larger is built by adding prefixes like kilo, mega, giga, and tera.
All Data Conversions
People convert data units constantly: comparing a file size shown in megabytes against an internet plan rated in megabits, estimating how many photos fit on a drive, or checking whether a download will exceed a monthly data cap. Because bits and bytes look similar but differ by a factor of 8, getting the conversion right avoids real and common mistakes.
Data Units Explained
The base units are the bit (symbol b) and the byte (symbol B), where 1 byte equals 8 bits. Larger units add SI-style prefixes. Bit-based units are the kilobit (kb), megabit (Mb), gigabit (Gb), and terabit (Tb). Byte-based units are the kilobyte (kB), megabyte (MB), gigabyte (GB), and terabyte (TB). In this converter each prefix multiplies by 1000: 1 kB = 1000 B, 1 MB = 1000 kB, 1 GB = 1000 MB, and 1 TB = 1000 GB. Bits dominate networking and connection speeds, while bytes describe stored files, memory, and disk capacity.
How to Convert Data Units
First decide whether you are working in bits or bytes, then handle the prefix. To switch between them, divide bits by 8 to get bytes, or multiply bytes by 8 to get bits. For prefixes, each step (kilo, mega, giga, tera) multiplies by 1000 going up and divides by 1000 going down. Example 1: convert 500 MB to GB, so 500 divided by 1000 = 0.5 GB. Example 2: convert 100 Mb to MB by dividing by 8, so 100 divided by 8 = 12.5 MB. Example 3: a 24 MB file on a 50 Mb/s line. Convert bytes to bits: 24 times 8 = 192 Mb; then 192 divided by 50 = about 3.84 seconds. Always check the case: lowercase b means bits, uppercase B means bytes.
Common Uses
- Comparing a file's size in MB or GB against an internet speed quoted in Mb/s
- Estimating how many photos, songs, or videos fit on a drive or memory card
- Checking whether a download will exceed a monthly mobile data cap
- Calculating how long a backup or upload will take
- Reading storage specs for phones, SSDs, and cloud plans
- Sizing email attachments against provider limits
Accuracy Tips
Watch the capital letter: Mb is megabit, MB is megabyte, and they differ by a factor of 8. Internet speeds are sold in bits per second, while file sizes are in bytes, so a "100 Mb/s" line transfers at most about 12.5 MB/s. Also note that drive makers count in decimal (1 GB = 1000 MB), while some operating systems count in binary (1024), which is why a "500 GB" disk can show as roughly 465 GB.
Frequently Asked Questions
What is the difference between a bit and a byte?
A bit is the smallest unit of digital data, a single 0 or 1. A byte is a group of 8 bits. So 1 byte = 8 bits, and 1 bit = 0.125 bytes.
Why is Mb different from MB?
Lowercase b stands for bits and uppercase B stands for bytes. Since a byte is 8 bits, 1 MB equals 8 Mb. Internet speeds use megabits (Mb/s) while file sizes use megabytes (MB).
How many megabytes are in a gigabyte?
In the decimal system used here, 1 GB = 1000 MB. Some operating systems instead use the binary definition where 1 GB = 1024 MB, which is technically a gibibyte (GiB).
How fast can I download on a 100 Mb/s connection?
100 megabits per second equals 100 divided by 8 = 12.5 megabytes per second at most, before real-world overhead. So a 1 GB (1000 MB) file would take roughly 80 seconds under ideal conditions.
How many bits are in a terabyte?
1 TB = 1000 GB = 1,000,000 MB = 1,000,000,000 kB = 1,000,000,000,000 bytes. Multiplying by 8 gives 8,000,000,000,000 bits (8 trillion bits).