AIForeverThing

Data Size Converter

Convert between B, KB, MB, GB, TB — binary (1024) and decimal (1000)

Converter
— —
— —
ALL CONVERSIONS

How It Works

This converter transforms data sizes between bytes, kilobytes, megabytes, gigabytes, and terabytes. In binary mode, each step multiplies by 1024 (2¹⁰), so 1 MB = 1,048,576 bytes. In decimal mode, each step multiplies by 1000 (10³), so 1 MB = 1,000,000 bytes. The formula is simple: first convert the input to bytes using the selected base, then convert from bytes to the target unit. Binary units match what operating systems report, while decimal units match how storage manufacturers advertise capacity.

Frequently Asked Questions

What is the difference between binary and decimal data size?

Binary (base-2) uses powers of 1024, where 1 KB = 1024 bytes. Decimal (base-10) uses powers of 1000, where 1 KB = 1000 bytes. Operating systems typically use binary units, while storage manufacturers use decimal units, which is why a 500 GB drive shows as about 465 GB in your OS.

How many MB are in 1 GB?

In binary (used by most operating systems), 1 GB = 1024 MB. In decimal (used by storage manufacturers), 1 GB = 1000 MB. Always check which standard applies to your context.

How do I convert bytes to gigabytes?

To convert bytes to gigabytes in binary, divide by 1024 three times (or divide by 1,073,741,824). For decimal, divide by 1000 three times (or divide by 1,000,000,000). You can use our converter above for instant results.

Free tools by TUNA — energy supply from vetted manufacturers