This byte converter translates between bytes, KB, MB, GB, and TB, covering both decimal and binary interpretations.
Conversion
Byte Conversion Calculator
Convert between bytes, kilobytes, megabytes, gigabytes and more.
Calculator
About this calculator
Formula notes
Decimal (SI): 1 KB = 1000 B, 1 MB = 1000 KB. Binary (IEC): 1 KiB = 1024 B, 1 MiB = 1024 KiB.
Worked examples
- Example: 1 GB = 10⁹ bytes decimal, but 1 GiB = 2³⁰ ≈ 1.074×10⁹ bytes binary — a 7% difference.
- A 5,000,000-byte file is 5 MB under decimal units but about 4.768 MiB when divided by 1,048,576 bytes.
How to use it
- Enter the size in the unit you know.
- Read all other unit values.
- Check whether your context uses 1000 or 1024.
Frequently asked questions
Why does my 1 TB drive show about 931 GB?
Vendors use decimal TB while the OS reports binary GiB, so the displayed number shrinks.
Which system do network speeds use?
Networking uses decimal: 1 Mbps = 10⁶ bits per second.
Limits and interpretation
- Decimal prefixes and binary prefixes are different; confirm whether a source uses MB or MiB rather than assuming 1,024 automatically.
- Displayed storage capacity can also differ because of formatting, filesystem overhead, reserved space, and metadata.