Units & conversion · Data Size
File Size Converter
Convert file sizes between bytes, kilobytes, megabytes, gigabytes, and terabytes. Supports both decimal (SI) and binary (IEC) units with instant results.
How it works
Converts file sizes between decimal units (KB, MB, GB, TB) and binary units (KiB, MiB, GiB, TiB). Decimal uses powers of 1000; binary uses powers of 1024.
Step by step
- 1Enter the file size value and select the source unit.
- 2Select the target unit to convert to.
- 3Decimal units (KB/MB/GB/TB) use powers of 1000.
- 4Binary units (KiB/MiB/GiB/TiB) use powers of 1024.
Examples
1 GB to MB
1 GB = 1000 MB (decimal: 1 × 1000^3 ÷ 1000^2).
Inputs
- value:
- 1
- fromUnit:
- gb
- toUnit:
- mb
Result
- result:
- 1,000 MB
- bytes:
- 1,000,000,000 B
1 GiB to MiB
1 GiB = 1024 MiB (binary: 1 × 1024^3 ÷ 1024^2).
Inputs
- value:
- 1
- fromUnit:
- gib
- toUnit:
- mib
Result
- result:
- 1,024 MiB
- bytes:
- 1,073,741,824 B
Frequently asked questions
What is the difference between MB and MiB?▾
MB (megabyte) uses the decimal system: 1 MB = 1,000,000 bytes. MiB (mebibyte) uses binary: 1 MiB = 1,048,576 bytes. Operating systems often report sizes in MiB but label them as MB.
How many MB is 1 GB?▾
1 GB = 1,000 MB in decimal (SI). However, 1 GiB = 1,024 MiB in binary (IEC). Hard drive manufacturers use decimal; OS storage reports often use binary.