Calculator Problems

How to Convert KB to MB and GB (1,024 or 1,000?)

Converting data sizes comes down to one question: does 1 KB mean 1,024 bytes or 1,000 bytes? Both are used, which is why converters sometimes disagree. Pick the standard that matches your source and convert from there.

Last updated: 2 November 2026

Open Data Size Converter →

Step-by-step

  1. Enter the size and choose the unit you are converting from, such as KB.
  2. Choose the unit you want, such as MB, or use the KB to MB or MB to GB buttons.
  3. Pick the binary standard (1 KB = 1,024 bytes) or the decimal standard (1 KB = 1,000 bytes).
  4. Read the result and the list showing the same size in every unit.
  5. Use the same standard throughout a calculation so the numbers stay consistent.

Binary and decimal units

In the binary system, 1 MB is 1,024 KB and 1 GB is 1,024 MB, so a 5 MB file is 5,120 KB. In the decimal system, 1 MB is 1,000 KB and 1 GB is 1,000 MB, so the same file is 5,000 KB. Strictly, the binary units are called KiB, MiB and GiB, although many systems still label them KB, MB and GB.

Why a new drive shows less space

Drive makers use decimal units. A 500 GB drive holds 500,000,000,000 bytes. A system that divides by 1,024 three times shows that as about 465.66 GB, which is why the drive looks smaller than advertised. No space is missing, it is the unit that differs.

Planning storage

To estimate total storage, multiply the number of files by their average size, then convert to the unit you need. The Storage Calculator does this and shows the result in MB, GB and TB.

USE THE TOOL

Finish the task with DevUtilityKits

Use the relevant online utility, check the result, and continue with your development workflow.

Open Data Size Converter →Open Storage Calculator →
FAQ

Frequently asked questions

How many KB are in a MB?

1,024 in the binary standard and 1,000 in the decimal standard.

How many MB are in a GB?

1,024 in the binary standard and 1,000 in the decimal standard.

Why does my 500 GB drive show about 465 GB?

The maker counts 500 billion bytes. The system divides by 1,024 three times and shows about 465.66.

What is the difference between KB and KiB?

KiB means exactly 1,024 bytes. KB can mean 1,000 or 1,024 depending on the system.