File Size Converter

Convert between B, KB, MB, GB.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Enter a size, choose the unit it is in and the unit you want. The converter uses binary units, where each step is a factor of 1024.

How to use

1
Step 1
Enter the size value.
2
Step 2
Choose the From unit (Bytes, KB, MB or GB).
3
Step 3
Choose the To unit and read the result.

How it works

The value is converted to bytes using 1 KB = 1024 bytes, 1 MB = 1024 KB and 1 GB = 1024 MB, then divided by the target unit. This is how operating systems usually report file sizes. Hard-drive and network vendors use 1000-based units, so a 500 GB drive shows as about 465 GB on a computer. Results are shown to four decimal places.

bytes = value × 1024^n      result = bytes ÷ 1024^m

Worked example

KB to MB

Input
1536 KB to MB
Output
1.5000 MB
Walkthrough
1536 ÷ 1024 = 1.5.

Limitations

  • Four units only; there is no TB or PB.
  • Uses 1024-based units; it does not offer 1000-based (decimal) units.
  • Result is limited to four decimal places.

Questions

How many MB is 1 GB?
1024 MB.
How many KB is 1.5 MB?
1536 KB.
Why is my 500 GB drive 465 GB?
The maker counts 1 GB as 1,000,000,000 bytes and your computer counts 1,073,741,824.
Does it handle TB?
No. Convert from GB by dividing by 1024 yourself.

Features

  • Bytes, KB, MB, GB
  • 1024-based
  • Runs in your browser

Guides

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • PDF, What is it FOR?

    Computerphile

    File tools often sit next to document packet workflows.

    Watch on YouTube
  • Inspect Network Activity - Chrome DevTools 101

    Chrome for Developers

    Downloading and uploading files is a network workflow.

    Watch on YouTube