💾

Digital Storage Converter.

b
Copied ✓
B
Copied ✓

Reference Table

b B KB MB GB TB PB
0.0080.0019.765625e-79.536743e-109.313226e-139.094947e-168.881784e-19
0.080.010.00000976569.536743e-99.313226e-129.094947e-158.881784e-18
0.80.10.00009765639.536743e-89.313226e-119.094947e-148.881784e-17
810.00097656259.536743e-79.313226e-109.094947e-138.881784e-16
80100.0097656250.00000953679.313226e-99.094947e-128.881784e-15
8001000.097656250.00009536749.313226e-89.094947e-118.881784e-14
800010000.97656250.00095367439.313226e-79.094947e-108.881784e-13

Units in this converter

b Bit
B Byte
1 b = 0.125 B
KB Kilobyte
1 b = 0.00012207 KB
MB Megabyte
1 b = 1.1921e-7 MB
GB Gigabyte
1 b = 1.1642e-10 GB
TB Terabyte
1 b = 1.1369e-13 TB
PB Petabyte
1 b = 1.1102e-16 PB

Understanding digital storage conversion

A digital storage converter changes a data size from one unit into another — megabytes to gigabytes, or bits to bytes. It answers the everyday questions behind file sizes, drive capacities, phone storage and download limits. This tool covers bits and bytes through kilobytes, megabytes, gigabytes, terabytes and petabytes.

The formula. Every value passes through one base unit, the byte, and this converter uses binary (1024-based) steps: 1 byte = 8 bits, 1 KB = 1,024 bytes, 1 MB = 1,024 KB, 1 GB = 1,024 MB and 1 TB = 1,024 GB. This is how Windows, RAM and most software report sizes. Drive manufacturers instead use decimal steps of 1,000, which is exactly why a "1 TB" disk shows up as roughly 931 GB in your file manager — nothing is missing, the two sides are simply counting differently.

Worked example. A 4.7 GB DVD image is 4.7 × 1,024 = 4,812.8 MB, or about 5.05 billion bytes. A 500 MB monthly data allowance is 500 ÷ 1,024 ≈ 0.49 GB. And a 25 megabit-per-second connection transfers 25 ÷ 8 = 3.125 megabytes per second — note the lower-case b for bits versus upper-case B for bytes, the single most common source of confusion here.

Where it's used. Storage conversion comes up when budgeting cloud storage or backups, checking whether a video fits on a drive, reading mobile data caps, and sizing databases and container images. Strictly speaking the binary units have their own names — kibibyte (KiB), mebibyte (MiB), gibibyte (GiB) — but in everyday use KB, MB and GB almost always mean the 1024-based values shown here.

FAQ

Frequently Asked Questions

How many MB are in a GB?
In the binary convention used here and by most operating systems, 1 GB = 1,024 MB. Storage manufacturers use the decimal convention where 1 GB = 1,000 MB, which is why the two figures never quite agree.
Why does my 1 TB drive show as 931 GB?
Nothing is missing — the drive maker counted in decimal (1 TB = 1,000,000,000,000 bytes) while your operating system displays in binary (1 TB = 1,099,511,627,776 bytes). Dividing one by the other gives 0.909, so a "1 TB" disk reports about 931 GB. The same gap makes a "500 GB" drive show as roughly 465 GB.
What is the difference between MB and Mb?
Capital B means bytes; lower-case b means bits, and there are 8 bits in a byte. Internet plans are sold in megabits per second, so a 100 Mbps connection downloads at about 12.5 MB/s at best — an eight-fold difference that catches people out constantly.
What are KiB, MiB and GiB?
They are the formally correct names for the binary units — kibibyte, mebibyte and gibibyte — introduced so that KB, MB and GB could mean the decimal 1,000-based values. In everyday use almost everyone still writes KB, MB and GB for the 1024-based amounts, which is the convention this converter follows.

Tips

  • Type in either field — conversion works both ways.
  • Use the swap button to reverse the direction instantly.
  • Click "Share" to copy a link with your value pre-filled.