File Size Converter
Convert file sizes between Bytes, KB, MB, GB, TB, PB and binary KiB, MiB, GiB, TiB, PiB units. You can also select a local file to detect its size without uploading it.
Convert a file size
Detect size of a local file
Select a file from your computer. The browser reads the file metadata locally; the file is not intentionally uploaded by this tool.
All file-size conversions
Exact equivalents across common decimal and binary units.
Visual size chart
Bars use logarithmic scaling so large differences remain readable.
Always use the numeric value for exact comparison; the bar length is only a visual aid.
KB vs KiB β why file sizes sometimes look different
KB is a decimal SI unit. Storage vendors commonly use decimal values.
KiB is a binary IEC unit based on powers of 1024.
Decimal megabyte: 1,000 KB.
Binary mebibyte: 1,024 KiB.
Quick reference chart
| Unit | Symbol | Bytes | System |
|---|---|---|---|
| Byte | B | 1 | Base |
| Kilobyte | KB | 1,000 | SI decimal |
| Kibibyte | KiB | 1,024 | IEC binary |
| Megabyte | MB | 1,000,000 | SI decimal |
| Mebibyte | MiB | 1,048,576 | IEC binary |
| Gigabyte | GB | 1,000,000,000 | SI decimal |
| Gibibyte | GiB | 1,073,741,824 | IEC binary |
| Terabyte | TB | 1,000,000,000,000 | SI decimal |
| Tebibyte | TiB | 1,099,511,627,776 | IEC binary |
| Petabyte | PB | 1,000,000,000,000,000 | SI decimal |
| Pebibyte | PiB | 1,125,899,906,842,624 | IEC binary |
Practical examples
50 KB β 48.83 KiB
5 MB β 4.77 MiB
2 GB β 1.86 GiB
100 GB β 93.13 GiB
1 GiB = 1,073,741,824 bytes
1 GB = 1,000,000,000 bytes
Your feedback matters