File Size Converter
Convert Byte, KB, MB, GB, TB file size units on a 1000 or 1024 basis.
Category: Converters
When to use?
Use it when an upload limit is "10MB" and you need the actual byte count, or to convert storage capacity to another unit. Also useful for comparing storage labeling (base 1000) vs. OS labeling (base 1024).
How to use
- Enter the number.
- Choose the base unit (Byte, KB, MB, GB, TB).
- Choose base 1000 or base 1024.
- See all units converted at once.
Input Explanation
Choose a number and unit to convert to all units from Byte to TB at once. Decimals are allowed.
Calculation Basis
Base 1000 (SI): 1KB = 1,000 Byte, 1MB = 1,000KB. Base 1024 (binary): 1KiB = 1,024 Byte, 1MiB = 1,024KiB. Storage makers use 1000; OSes mostly use 1024.
Usage Examples
- Check upload limits - Convert a 10MB limit to Byte or KB.
- Compare storage capacity - Quickly convert file sizes between GB and TB.
- Convert data usage - Convert telecom data or download size to the unit you want.
Examples
- 10MB (base 1000) = 10,000,000 Byte = 9.537 MiB (base 1024)
- 1GB (base 1000) = 1,000,000,000 Byte ≈ 0.931 GiB (base 1024)
Cautions
- Malformed input can cause parsing errors or broken output.
- Confusing the 1000 and 1024 bases can cause misreadings.
Guides
File size unit conversion
1KB is 1,024B, 1MB is 1,024KB, 1GB is 1,024MB. Some makers (storage labeling) use 1,000 units, so actual capacity can look different from the OS display.
KiB/MiB difference
1KiB=1,024B (international) differs from 1KB=1,000B (SI). OS labeling differs, so check the unit first to avoid confusion.
FAQ
What is the difference between base 1000 and base 1024?
Storage labeling usually uses base 1000; OS file size calculations mostly use base 1024.
Can it convert up to TB?
Yes, it shows conversions from Byte to TB at once.
How do KB and KiB differ?
KB usually means 1000 bytes and KiB means 1024 bytes. This tool shows both.
Can I enter decimal sizes?
Yes, values with decimals like 1.5GB are converted.
Related Tools
- Byte Counter - Calculate the byte length of text when stored as UTF-8.
- Unit Converter - Freely convert units of length, weight, temperature, area, and volume.
- Base64 Converter - Encode text to Base64 or decode a Base64 string back to text.
- URL Encode / Decode - Encode text into URL-safe form (%XX) or decode an encoded URL back to text.
- HTML Escape / Unescape - Convert HTML special characters to entities, and restore entity strings back to characters.
- Color Code Converter - Convert HEX, RGB, RGBA, HSL, HSLA color codes to each other and preview the color.