File Size Converter — MB, GB, TB, KB Online
Convert between MB, GB, TB, KB, bytes and binary units (MiB, GiB, TiB) instantly
SI — Decimal powers of 1,000
IEC — Binary powers of 1,024
Type a value in any unit to convert
SI (KB/MB/GB) and IEC (KiB/MiB/GiB) update simultaneously
Quick Reference — SI vs IEC
| SI Unit | Bytes (SI) | IEC Unit | Bytes (IEC) |
|---|---|---|---|
| KB | 1,000 | KiB | 1,024 |
| MB | 1,000,000 | MiB | 1,048,576 |
| GB | 1,000,000,000 | GiB | 1,073,741,824 |
| TB | 1,000,000,000,000 | TiB | 1,099,511,627,776 |
| PB | 1,000,000,000,000,000 | PiB | 1,125,899,906,842,624 |
How to Convert File Sizes: MB, GB, TB Explained
File Size Converter Online is a free browser-based tool that instantly converts between all standard storage units — both SI (decimal) units like KB, MB, GB, TB, PB and IEC (binary) units like KiB, MiB, GiB, TiB, PiB. Type a value in any unit and all others update instantly.
Understanding the difference matters: a hard drive manufacturer calls 1 GB = 1,000,000,000 bytes (SI), while an operating system may report 1 GiB = 1,073,741,824 bytes (IEC). This tool makes both crystal clear side by side.
All conversion runs entirely in your browser — nothing is sent to any server.
When to Use a File Size Converter
- Convert file sizes reported by your OS between MB and MiB.
- Compare hard drive capacity (SI GB) with OS-reported space (IEC GiB).
- Calculate API payload limits, e.g. "max 10 MB" in bytes.
- Convert RAM specs between GiB and GB when purchasing memory.
- Work out S3 / cloud storage costs based on exact byte counts.
- Convert network bandwidth values (Mbps → MB/s → bytes per second).
- Understand Docker image and container size limits.
- Debug file upload limits expressed in different units.
Frequently Asked Questions
What is the difference between KB and KiB?
1 KB (kilobyte) = 1,000 bytes in the SI (decimal) system used by storage manufacturers. 1 KiB (kibibyte) = 1,024 bytes in the IEC (binary) system used by operating systems and RAM specifications. The gap grows significantly at larger scales — a "500 GB" hard drive has only ~465 GiB of usable space as reported by Windows or macOS.
Why does my hard drive show less space than advertised?
Storage manufacturers use SI units (1 GB = 10⁹ bytes) because the numbers look larger in marketing. Operating systems report space in binary units (1 GiB = 2³⁰ bytes), which is a larger base. So a 1 TB drive (10¹² bytes) shows up as ~931 GiB in your OS — the bytes are identical, only the unit interpretation differs.
What are SI (decimal) units?
SI units follow powers of 1,000: 1 KB = 1,000 B, 1 MB = 1,000 KB, 1 GB = 1,000 MB, etc. These are used by hard drive manufacturers, network speed ratings, and the International System of Units (SI).
What are IEC (binary) units?
IEC units follow powers of 1,024: 1 KiB = 1,024 B, 1 MiB = 1,024 KiB, 1 GiB = 1,024 MiB, etc. These are used by operating systems (Windows, macOS, Linux) for RAM, file system sizes, and memory addresses.
How many bytes is 1 GB?
1 GB (gigabyte, SI) = 1,000,000,000 bytes (10⁹). 1 GiB (gibibyte, IEC) = 1,073,741,824 bytes (2³⁰). The two definitions diverge by about 7.4%.
What is the difference between Mbps and MB/s?
Mbps (megabits per second) and MB/s (megabytes per second) are both used for network speed, but they differ by a factor of 8. 1 byte = 8 bits, so 100 Mbps ÷ 8 = 12.5 MB/s. Internet providers advertise in Mbps; download managers show MB/s — so a "100 Mbps" plan delivers ~12.5 MB/s of actual file transfer speed.
Related Tools
JSON Formatter Online
Format, validate, and minify JSON
Base64 Encoder Online
Encode and decode Base64 strings
URL Encoder Online
Encode and decode URL components
UUID Generator Online
Generate UUID v4 values in bulk
Hash Generator Online
Generate SHA-256 and SHA-512 hashes
Regex Tester Online
Test regular expressions with live match highlighting
JWT Decoder Online
Decode JWT tokens without verification
Diff Viewer Online
Compare two text blocks side by side
Timestamp Converter Online
Convert Unix timestamps to human-readable dates and back
YAML to JSON Converter Online
Convert YAML to JSON and JSON to YAML instantly
Prompt Formatter Online
Format prompts into OpenAI, Anthropic, and Gemini message structures
ENV File Parser Online
Parse .env files into a clean table, JSON, or export format
JSON Schema Validator Online
Validate JSON against a JSON Schema with detailed error messages
JSON Schema Generator Online
Generate JSON Schema from example JSON instantly
Token Counter Online
Count tokens for GPT-4, Claude, and Gemini models instantly
CSV to JSON Converter Online
Convert CSV data to JSON — paste, upload, or download
Number Base Converter Online
Convert numbers between binary, octal, decimal, and hexadecimal
File Size Converter Online
Convert between B, KB, MB, GB, TB (SI) and KiB, MiB, GiB, TiB (IEC binary)
Milliseconds to Seconds Converter Online
Convert between ms, seconds, minutes, hours, days, weeks, months, and years
Unix Permissions Calculator Online
Convert between numeric (755) and symbolic (rwxr-xr-x) Unix file permissions