File Size Converter

Convert any file size between bytes, KB, MB, GB, and TB in one click. Enter a value, choose your from unit and to unit, and get the exact converted result across all common digital storage units simultaneously.

Enter the numeric size of the file you want to convert

Results

Megabytes (MB)

--

Bytes (B)

--

Kilobytes (KB)

--

Gigabytes (GB)

--

Terabytes (TB)

--

Petabytes (PB)

--

File Size Across Units (log scale reference)

Results Table

Frequently Asked Questions

How many bytes are in a kilobyte (KB)?

There are 1,024 bytes in one kilobyte (KB) in binary (base-2) convention, which is the standard used by operating systems like Windows, macOS, and Linux. In the decimal (SI) system, 1 KB equals exactly 1,000 bytes, but the binary definition is far more common in practice.

What is the difference between MB and MiB?

MB (megabyte) in the common binary convention equals 1,024 × 1,024 = 1,048,576 bytes. MiB (mebibyte) is the official IEC term for this exact value. Hard drive manufacturers often use the decimal definition (1 MB = 1,000,000 bytes), which is why a '500 GB' drive shows slightly less space in your operating system.

How do I convert gigabytes to megabytes?

To convert gigabytes (GB) to megabytes (MB), multiply by 1,024. For example, 2 GB = 2 × 1,024 = 2,048 MB. You can use this converter by entering your value, selecting GB as the from unit, and reading the MB result instantly.

What is the largest file size unit?

Common units go up to petabytes (PB), which equal 1,024 terabytes. Beyond that exist exabytes (EB), zettabytes (ZB), and yottabytes (YB), though these are rarely encountered in everyday computing. This converter supports bytes through petabytes.

How many MB is 1 GB?

1 gigabyte (GB) equals 1,024 megabytes (MB). This is the binary definition used by most operating systems. Some storage manufacturers use the decimal definition where 1 GB = 1,000 MB, but the 1,024 figure is the standard for file size calculations.

Why does my hard drive show less space than advertised?

Hard drive manufacturers measure capacity using decimal units (1 GB = 1,000,000,000 bytes), but operating systems report size in binary units (1 GB = 1,073,741,824 bytes). A '1 TB' hard drive contains 1,000,000,000,000 bytes, which your OS displays as roughly 931 GB — that's the gap you see.

How many photos or songs fit in 1 GB?

At a typical size of 3–5 MB per photo, 1 GB holds roughly 200–340 photos. For music at around 4 MB per song (MP3 at 128 kbps), 1 GB stores approximately 250 songs. Actual counts vary based on file format, resolution, and compression level.

Is this converter using binary (1024) or decimal (1000) conversion?

This converter uses the binary (base-2) convention where 1 KB = 1,024 bytes, 1 MB = 1,048,576 bytes, and so on. This matches what Windows, macOS, and Linux display for file sizes. If you need decimal (SI) conversions, note that 1 KB = 1,000 bytes in that system.

More Everyday Life Tools