Data Storage Converter

Convert between bytes, kilobytes, megabytes, gigabytes, and terabytes instantly. Free data storage converter using both SI decimal and IEC binary standards.

Data Storage Converter Tool
Enter a value and select units to convert between different data storage measurements

This data storage converter makes it simple to convert megabyte to gigabyte, bytes to GB, and kilobytes to megabytes. Use it as a kb to mb to gb converter, a byte to gigabyte converter, or to convert gb into mb and back. It covers all common conversions using both SI (decimal) and IEC (binary) standards. Whether checking file sizes, comparing drive capacities, or estimating downloads, this data storage converter handles every unit pair instantly.

Megabyte to Gigabyte Formula

To convert megabytes to gigabytes, divide by 1,000 using the SI (decimal) standard or by 1,024 using the IEC (binary) standard.

  • SI (decimal): GB = MB / 1,000
  • IEC (binary): GiB = MiB / 1,024

Example: 2,048 MB equals 2.048 GB (decimal) or exactly 2 GiB (binary). Storage manufacturers use the decimal standard. Operating systems like Windows report binary values, which is why a 500 GB hard drive often appears as approximately 465 GB in Windows.

Megabyte to Gigabyte Conversion Table

Use this reference table to instantly look up common megabyte to gigabyte conversions. Results are shown in both SI (decimal) and IEC (binary) formats.

Megabytes (MB)Gigabytes (GB)Gibibytes (GiB)
1 MB0.001 GB0.000977 GiB
10 MB0.01 GB0.00977 GiB
50 MB0.05 GB0.0488 GiB
100 MB0.1 GB0.0977 GiB
250 MB0.25 GB0.244 GiB
500 MB0.5 GB0.488 GiB
512 MB0.512 GB0.5 GiB
1,000 MB1.0 GB0.977 GiB
1,024 MB1.024 GB1.0 GiB
2,048 MB2.048 GB2.0 GiB
4,096 MB4.096 GB4.0 GiB
8,192 MB8.192 GB8.0 GiB
16,000 MB16.0 GB15.26 GiB
32,000 MB32.0 GB30.52 GiB

How Many Gigabytes in a Megabyte?

One megabyte equals 0.001 gigabytes using the SI decimal standard, or 0.000977 gibibytes using the IEC binary standard. In practical terms, it takes 1,000 megabytes to make one gigabyte in decimal. A 512 MB file is exactly 0.512 GB, and a 1,024 MB file equals 1 GiB in binary.

How Many GB in a Terabyte?

One terabyte equals 1,000 gigabytes using the SI decimal standard, or 1,024 gibibytes using the IEC binary standard. A 2 TB hard drive holds 2,000 GB of storage. Operating systems using binary calculations display a 1 TB drive as approximately 931 GB, which is mathematically accurate but uses the binary definition.

Bytes to Megabytes Conversion

To convert bytes to megabytes, divide by 1,000,000 (decimal) or 1,048,576 (binary). File sizes on computers are stored in bytes, so this conversion is essential for understanding how large a file truly is.

  • SI (decimal): MB = Bytes / 1,000,000
  • IEC (binary): MiB = Bytes / 1,048,576

Example: A 5,000,000-byte file equals 5 MB (decimal) or 4.77 MiB (binary). Email attachment limits are typically set at 25,000,000 bytes, which equals exactly 25 MB.

Bytes (B)Megabytes (MB)Mebibytes (MiB)
100,000 B0.1 MB0.0954 MiB
500,000 B0.5 MB0.477 MiB
1,000,000 B1 MB0.954 MiB
5,000,000 B5 MB4.77 MiB
10,000,000 B10 MB9.54 MiB
25,000,000 B25 MB23.84 MiB
50,000,000 B50 MB47.68 MiB
100,000,000 B100 MB95.37 MiB

Gigabytes to Terabytes Conversion

To convert gigabytes to terabytes, divide by 1,000 (decimal) or 1,024 (binary). Modern hard drives and SSDs are labeled in terabytes, so this conversion helps when comparing storage specs across devices.

  • SI (decimal): TB = GB / 1,000
  • IEC (binary): TiB = GiB / 1,024

Example: A 2,000 GB drive equals exactly 2 TB. A 1,500 GB drive holds enough space for roughly 750,000 photos at 2 MB each or approximately 375 hours of Full HD video.

Gigabytes (GB)Terabytes (TB)Tebibytes (TiB)
100 GB0.1 TB0.0909 TiB
250 GB0.25 TB0.2274 TiB
500 GB0.5 TB0.4547 TiB
512 GB0.512 TB0.4656 TiB
1,000 GB1.0 TB0.9095 TiB
1,024 GB1.024 TB1.0 TiB
1,500 GB1.5 TB1.3642 TiB
2,000 GB2.0 TB1.8190 TiB
4,000 GB4.0 TB3.6379 TiB
8,000 GB8.0 TB7.2760 TiB

Kilobytes to Megabytes Conversion

To convert kilobytes to megabytes using a kilobytes to megabytes converter, divide by 1,000 (decimal) or 1,024 (binary). To convert kilobytes to gigabytes, divide by 1,000,000 (decimal). This conversion is commonly needed for small files such as images, PDFs, and compressed documents.

  • SI (decimal): MB = KB / 1,000
  • IEC (binary): MiB = KiB / 1,024

Example: A 2,500 KB image equals 2.5 MB. Standard JPEG photos range from 200 KB to 8,000 KB (0.2 MB to 8 MB) depending on resolution and compression level.

Kilobytes (KB)Megabytes (MB)Mebibytes (MiB)
100 KB0.1 MB0.0977 MiB
250 KB0.25 MB0.244 MiB
500 KB0.5 MB0.488 MiB
1,000 KB1.0 MB0.977 MiB
1,024 KB1.024 MB1.0 MiB
2,000 KB2.0 MB1.953 MiB
4,000 KB4.0 MB3.906 MiB
8,000 KB8.0 MB7.813 MiB
10,000 KB10.0 MB9.766 MiB

Convert Gigabytes to Megabytes

To convert gigabytes to megabytes, multiply by 1,000 (decimal) or 1,024 (binary). This is useful when checking whether a large file fits within a storage limit measured in megabytes.

  • SI (decimal): MB = GB x 1,000
  • IEC (binary): MiB = GiB x 1,024

Example: A 4.7 GB standard DVD equals 4,700 MB (decimal). A 64 GB smartphone memory card holds 64,000 MB of storage, making it straightforward to calculate how many large files it can hold.

Bytes to GB: How to Convert

To convert bytes to GB, divide by 1,000,000,000 using the SI decimal standard or by 1,073,741,824 using IEC binary. Large file sizes such as video files or disk images are often reported in bytes but become more readable when expressed in gigabytes.

  • SI (decimal): GB = Bytes / 1,000,000,000
  • IEC (binary): GiB = Bytes / 1,073,741,824

Example: A 4,294,967,296-byte file equals 4.295 GB (decimal) or exactly 4.0 GiB (binary). This discrepancy is why a Windows system may report less free space than the advertised capacity on a hard drive box.

Understanding Data Storage Units

Data storage units follow a hierarchy where each unit is 1,000 (decimal) or 1,024 (binary) times larger than the one below it. How many kilobytes are in a gigabyte? Exactly 1,000,000 KB (decimal) or 1,048,576 KiB (binary). How many bytes in a gigabyte? 1,000,000,000 bytes (decimal). How many megabytes are in a terabyte? 1,000,000 MB (decimal). The table below covers every common unit from bit to petabyte, with both decimal and binary values.

UnitSymbolSI Value (decimal)IEC Binary Value
Bitb0.125 bytes0.125 bytes
ByteB1 byte1 byte
KilobyteKB1,000 bytes1,024 bytes (KiB)
MegabyteMB1,000,000 bytes1,048,576 bytes (MiB)
GigabyteGB1,000,000,000 bytes1,073,741,824 bytes (GiB)
TerabyteTB1,000,000,000,000 bytes1,099,511,627,776 bytes (TiB)
PetabytePB1,000,000,000,000,000 bytes1,125,899,906,842,624 bytes (PiB)

The difference between decimal and binary values grows at higher units. A 1 TB drive contains 1,000,000,000,000 bytes by the manufacturer decimal count, but an operating system reports this as approximately 931 GiB using binary calculation. Understanding this distinction helps when comparing advertised and actual data storage capacity.

Binary vs Decimal: Why 1 GB Is Not Always 1,000 MB

The confusion around storage units comes from two competing measurement standards. The Institute of Electrical and Electronics Engineers (IEEE) defines binary prefixes such as kibibyte (KiB), mebibyte (MiB), and gibibyte (GiB) using powers of 2. IEC standard 80000-13 formalizes these binary prefixes, while the SI system uses powers of 10 for megabyte, gigabyte, and terabyte.

Storage device manufacturers label products using SI (decimal) measurements because the numbers appear larger. Operating systems like Windows calculate storage using binary (IEC), which produces smaller numbers. This is why:

  • A 1 TB hard drive shows approximately 931 GB in Windows
  • A 64 GB USB drive shows approximately 59.6 GB in Windows File Explorer
  • A 500 GB SSD appears as roughly 465 GB after formatting

Neither measurement is incorrect. They follow different standards for different purposes. macOS switched to SI (decimal) reporting in 2009, so Apple devices display closer to the advertised capacity than Windows machines. The decimal prefix system is the official SI standard, while binary prefixes (kibibyte, mebibyte, gibibyte) are the IEC standard for computing.

This converter calculates both decimal and binary results so values match whatever standard a device or operating system reports.

Real-World Data Storage Examples

Storage amounts are easier to understand with concrete real-world references. The values below represent typical file sizes under standard compression and quality settings, helping connect data storage capacity figures to everyday use.

Storage AmountWhat It Holds (Approx.)
1 MB1 high-quality JPEG photo, or a 3-minute MP3 audio file
10 MB10 standard photos, or a Word document with embedded images
100 MBFull music album in MP3 format, or 10 minutes of HD video
1 GBApproximately 250 songs, 500 photos, or 20 minutes of Full HD video
5 GBA Full HD movie download, or approximately 1,250 songs
16 GBStandard USB flash drive, holding roughly 3,200 songs
256 GBTypical mid-range smartphone storage, holding around 50,000 photos
1 TB250,000 photos, 500 Full HD movies, or 1 year of continuous HD recording
4 TBCommon external desktop hard drive, holding approximately 1 million photos

Megabytes to Megabits: Why the Distinction Matters

Internet service providers advertise speeds in megabits per second (Mbps), while file sizes are measured in megabytes (MB). Understanding megabytes to megabits is important for accurately estimating download times.

  • 1 MB = 8 Mb (megabits)
  • A 100 Mbps connection downloads 12.5 MB per second

Example: A 100 MB file on a 100 Mbps internet connection takes approximately 8 seconds to download, not 1 second. A 1 GB file on the same connection takes about 80 seconds. This is one of the most common misunderstandings in data storage and internet speed comparisons.

Limitations of This Converter

This converter applies standard SI (decimal) and IEC (binary) formulas. A few practical limitations to keep in mind:

  • File system overhead: Actual usable storage after formatting is always less than the labeled capacity. A 1 TB drive typically provides around 931 GB of usable space due to file system structures and partition tables.
  • Compression: A 100 MB ZIP archive may contain 300 MB of uncompressed data. The converter shows raw unit sizes, not compressed equivalents.
  • Block size: On physical drives, files occupy space in fixed-size clusters. A 1 KB file may consume 4 KB of actual disk space depending on the file system block size.
  • RAM vs storage: RAM uses binary addressing natively at the hardware level. Storage manufacturers use decimal labeling for marketing purposes. This tool handles both cases.

For bit-level conversions, use DigiCalc's byte to bit converter or the megabyte to bit converter. To convert between bytes and megabytes at the smallest scale, try the megabyte to byte converter. For number system conversions, see the binary to decimal converter, decimal to binary converter, and hex to decimal converter.

Frequently Asked Questions

Published: 6/3/2026