Bytes to MB Converter
Convert bytes to megabytes instantly. Free bytes to MB converter with binary (1024) and decimal (1000) standards for file sizes and programming.
1 KB = 1,024 bytes — used by OS, RAM, file sizes
1 B =
9.5367e-7MB
Standard: Binary (1 KB = 1,024 B)
All Units
1 B in every unit (binary)
Binary vs Decimal
Why your hard drive shows less space
Transfer Time
Estimated time to transfer 1 B
How to Convert Byte to Megabyte
Formula with a worked example (binary (1024))
To convert byte (B) to megabyte (MB), use this formula:
MB = Bytes ÷ 1,048,576 (binary) or Bytes ÷ 1,000,000 (decimal)Example: Convert 5,242,880 B to MB (binary (1024))
5,242,880 B = 5 MBTo convert back, use: Bytes = MB × 1,048,576 (binary) or MB × 1,000,000 (decimal)
Byte to Megabyte Conversion Table
Quick reference (binary (1024))
| B | MB |
|---|---|
| 1 B | 9.5367e-7 MB |
| 2 B | 1.9073e-6 MB |
| 5 B | 4.7684e-6 MB |
| 10 B | 9.5367e-6 MB |
| 25 B | 2.3842e-5 MB |
| 50 B | 4.7684e-5 MB |
| 100 B | 9.5367e-5 MB |
| 250 B | 0.00023842 MB |
| 500 B | 0.00047684 MB |
| 1,000 B | 0.00095367 MB |
Binary vs Decimal: Which Standard?
Why 1 B can have two different values in MB
There are two ways to define how many megabyte are in a byte:
Binary (1024-based)
1 B = 9.5367e-7 MB
Used by: OS, RAM, file sizes
Decimal (1000-based)
1 B = 1.0000e-6 MB
Used by: HDD/SSD manufacturers, networks
When Do You Need B to MB?
Common scenarios where this conversion comes in handy
API response sizes
programming and development
log file analysis
database record sizes
Frequently Asked Questions
Common questions about converting byte to megabyte
Embed Bytes to MB Converter
Add this calculator to your website or blog for free.
Last updated Mar 24, 2026