Conversion Tools

Data Storage Converter

This free Data Storage Converter shows any value in decimal units (KB, MB, GB, TB, 1,000-based) and binary units (KiB, MiB, GiB, TiB, 1,024-based) side by side, with the byte total. Every result is calculated directly from the byte total in your browser, and each one has its own copy button. A table on the page lists common MB to GB conversions in both systems.

Runs in your browser. Your files and text never leave your device - nothing is uploaded.

1 GB = 1,000,000,000 bytes

Decimal (1000-based)

Drive and storage labels, macOS

1,000,000 KB
1,000 MB
1 GB
0.001 TB

Binary (1024-based)

Windows sizes (shown as KB, MB, GB) and RAM

976,562.5 KiB
953.674316 MiB
0.931323 GiB
0.000909 TiB

Convert Bytes, KB, MB, GB and TB

The Tools Kit's free Data Storage Converter turns a file size or disk capacity into every common storage unit at once. Enter a number, pick its unit, and you see the same amount in bytes, kilobytes, megabytes, gigabytes and terabytes, so questions like “how many MB in a GB” or “how many bytes in a terabyte” are answered in one step.

Results appear in decimal units (1 KB = 1,000 bytes), as used on drive packaging and in cloud quotas, and in binary units (1 KiB = 1,024 bytes), as used for RAM and by software that counts in powers of two, side by side. Everything is calculated in your browser.

How to Use the Data Storage Converter

  1. 1

    Enter the value

    Type the amount into the Value field. Decimals such as 1.5 are fine, and a blank field simply shows no results.

  2. 2

    Pick the unit it is in

    Select the unit your number is in: decimal units (KB, MB, GB, TB) as drive makers use them, or binary units (KiB, MiB, GiB, TiB) as Windows and RAM use them.

  3. 3

    Read both systems at once

    The byte total appears first, then the amount in every decimal unit and every binary unit side by side, so 1 GB shows as both 1,000 MB and 953.67 MiB.

  4. 4

    Copy a result

    Click Copy next to any result to copy the plain number, without commas, ready to paste elsewhere.

Because both systems are shown together, you can enter a value in one system and read it in the other: choose MiB as the unit to see what a Windows file size is in decimal MB, or GB to see a drive's capacity in GiB.

Decimal vs Binary: KB or KiB, GB or GiB?

The SI prefixes kilo, mega, giga and tera mean powers of 1,000, so a decimal gigabyte is 1,000,000,000 bytes. Computers address memory in powers of two, and for decades 1,024 bytes was also called a kilobyte. To end the ambiguity, the IEC defined binary prefixes: kibi (KiB), mebi (MiB), gibi (GiB) and tebi (TiB), each 1,024 times the one before.

  • Decimal: bytes = value × 1,000n, where n is 1 for KB, 2 for MB, 3 for GB and 4 for TB.
  • Binary: bytes = value × 1,024n, where n is 1 for KiB, 2 for MiB, 3 for GiB and 4 for TiB.

The converter first turns your entry into a byte total, then divides that total by each unit's factor. Every result comes straight from the bytes rather than from the previous unit, so rounding never compounds. The difference between the systems is small at the kilo level (2.4%) but reaches about 10% at the tera level, which is where most confusion starts. If you work with powers of two often, the binary converter shows how numbers like 1,024 look in binary and hexadecimal.

Why a 1 TB Drive Shows 931 GB

A drive sold as 1 TB holds 1,000,000,000,000 bytes. Windows divides that by 1,024 three times and shows about 931 “GB”, which is really 931.32 GiB. The same effect makes a 500 GB drive appear as roughly 465.66 GiB and a 64 GB phone or memory card as about 59.6 GiB, before any space is taken by the system or formatting.

To check this yourself, enter 1 and choose TB: the binary column shows 931.322575 GiB. The same works for any GB figure to GiB, or MB to MiB.

MB to GB Conversion Table

To convert MB to GB, divide by 1,000. If the megabytes come from Windows or RAM, they are really mebibytes, and Windows divides by 1,024 to show gigabytes, so both answers are listed:

MegabytesDecimal: MB ÷ 1,000 = GBBinary: MiB ÷ 1,024 = GiB (Windows “GB”)
1000.10.098
2500.250.244
2560.2560.25
5000.50.488
5120.5120.5
7500.750.732
1,00010.977
1,0241.0241
1,5001.51.465
2,0482.0482
4,0964.0964
5,00054.883
8,1928.1928
10,000109.766
16,38416.38416
32,76832.76832

Going the other way, multiply: 1 GB is 1,000 MB, and 1 GiB is 1,024 MiB. Values are rounded to three decimal places.

File Sizes, Upload Limits and Bits vs Bytes

Upload forms and email services often cap attachments at a size like 10 MB or 25 MB. Convert your file size into the same unit to see whether it fits. If it does not, an image compressor can shrink photos toward a target size in KB, and you can compress a PDF before attaching it. Converting images with JPG to WebP often saves space too. Embedding a file as text has the opposite effect: Base64 encoding makes data about one third larger, because every 3 bytes become 4 characters.

Internet speeds are quoted in bits per second, not bytes. There are 8 bits in a byte, so a 100 Mbps connection moves at most 12.5 MB of data per second. This converter works in bytes only, so divide a bit figure by 8 before entering it.

Common uses

  • Checking whether a file fits an upload, attachment or messaging size limit
  • Comparing an advertised drive, SSD or memory card capacity with what your computer reports
  • Converting MB to GB for mobile data plans and cloud storage quotas
  • Sizing backups, database dumps, video projects and photo libraries
  • Reading RAM and cache sizes quoted in KiB, MiB or GiB

For length, weight, temperature and other everyday measurements, use the unit converter, or browse all conversion tools.

Storage units at a glance

UnitWhat it means
Byte (B)The basic unit of storage, made of 8 bits; every result in the converter is calculated from a byte total
Bit (b)A single 0 or 1. Network speeds are quoted in bits per second, so divide by 8 to get bytes; the converter itself works in bytes only
Kilobyte (KB)1,000 bytes in the decimal (SI) system
Kibibyte (KiB)1,024 bytes in the binary (IEC) system
Megabyte (MB) / Mebibyte (MiB)1,000,000 bytes / 1,048,576 bytes
Gigabyte (GB) / Gibibyte (GiB)1,000,000,000 bytes / 1,073,741,824 bytes
Terabyte (TB) / Tebibyte (TiB)1,000,000,000,000 bytes / 1,099,511,627,776 bytes

Frequently Asked Questions

Reviewed by Raja Jahangir · Last reviewed: October 7, 2026

How do you convert between bytes, KB, MB, GB, and TB?

To convert data storage units, enter a value, pick its unit, and every other unit is shown at once. Decimal units use 1,000 per step, so 1 GB is 1,000,000,000 bytes; binary units use 1,024 per step, so 1 GiB is 1,073,741,824 bytes. The difference is why a 1 TB drive shows about 931 GiB in Windows.

How many MB are in a GB?

In decimal units, used by drive manufacturers and the SI standard, 1 GB is 1,000 MB. In binary units, used for RAM and by Windows File Explorer, 1 GiB is 1,024 MiB, which is 1,073,741,824 bytes. Windows labels binary units as GB and MB, so 1 GB there means 1,024 MB, while macOS reports sizes in decimal units.

Sources and standards