File size unit converter
Convert bytes and decimal or binary file size units.
Bytes1000000
KB1000
MB1
GB0.001
KiB976.5625
MiB0.953674316406
GiB0.000931322574615
1 MB = 1,000,000 bytes · 1 MiB = 1,048,576 bytes
Use the codeJavaScript
Loading code…
A LITTLE MORE CONTEXT
Convert decimal and binary size units
Convert bytes and decimal or binary file size units.
How to use it
- Choose your unit and enter a file size. All decimal and binary measurements update immediately.
- Copy or download the result before leaving the page.
What to know
KB, MB and GB use powers of 1000; KiB, MiB and GiB use powers of 1024. Results are approximate, rounded to 12 significant digits. Maximum: the JavaScript safe-integer byte range.
Need to protect a message? Try text encryption ↗