1 MB is 1,000,000 bytes in the decimal system and 1,048,576 bytes (1,024 × 1,024) in the binary system Windows uses — so divide bytes by 1,000,000, or by 1,048,576 for the Windows figure.
How to convert bytes to MB
Divide the number of bytes by 1,000,000: MB = bytes ÷ 1,000,000. For the size Windows shows, divide by 1,048,576: MB = bytes ÷ 1,048,576.
Example: a file of 3,145,728 bytes is 3,145,728 ÷ 1,000,000 ≈ 3.15 MB on a Mac, and exactly 3 MB in Windows (3,145,728 ÷ 1,048,576).
Decimal vs binary: why Windows shows less
Kilo, mega and giga mean 1,000, 1,000,000 and 1,000,000,000 everywhere in science, and the international standard IEC 80000-13 keeps that meaning for bytes: 1 MB = 1,000,000 bytes. For the powers of 1,024 it defines other names — kibibyte (KiB), mebibyte (MiB), gibibyte (GiB).
Drive makers, macOS (since 2009), iPhone and recent Android phones count by 1,000. Windows counts by 1,024 but still writes KB, MB and GB, so the same file or drive shows a smaller number there: a 500 GB drive becomes 465 GB, a 1 TB drive 931 GB. Nothing is missing — the same bytes are divided differently.
Memory is the exception everyone agrees on: RAM is built in powers of two, so 8 GB of RAM is 8 × 1,024³ bytes. Internet speeds are in bits, not bytes: 100 Mb/s moves at most 12.5 MB per second.
Bytes to MB conversion table
bytes
MB (by 1000)
MB (by 1024, Windows)
1,000 bytes
0.001
0.0009537
1,024 bytes
0.001024
0.0009765625
10,000 bytes
0.01
0.009537
100,000 bytes
0.1
0.09537
500,000 bytes
0.5
0.4768
1,000,000 bytes
1
0.9537
1,048,576 bytes
1.048576
1
2,000,000 bytes
2
1.907
5,000,000 bytes
5
4.768
10,000,000 bytes
10
9.537
25,000,000 bytes
25
23.84
50,000,000 bytes
50
47.68
100,000,000 bytes
100
95.37
500,000,000 bytes
500
476.84
1,000,000,000 bytes
1,000
953.67
1,073,741,824 bytes
1,073.74
1,024
Common size limits in MB
The limits of the places people send files to, as each one states them, then in both ways of counting.
Where
Stated limit
MB (by 1000)
MB (by 1024, Windows)
WhatsApp photo or video
16 MB
16
15.26
WhatsApp document
2 GB
2,000
1,907.35
Gmail attachment
25 MB
25
23.84
Outlook.com attachment
20 MB
20
19.07
Discord (free account)
20 MiB
20.97152
20
WeTransfer (free)
3 GB
3,000
2,861.02
Gmail and Outlook.com count the e-mail as it is sent, and an attachment grows by about a third once encoded: keep the file well under the figure. Discord states its limit in MiB, so it is a little larger than it looks.
How it works
Convert bytes to MB in 3 steps
1
Type the size in bytes
Enter a number of bytes — 1.5 and 1,5 both work. The answer in MB appears as you type.
2
Read both answers
By 1000 is what macOS, phones and drive makers show, by 1024 what Windows shows.
3
Copy or check a file
Copy the answer, swap the units to convert back, or drop a file to read its exact size.
Practical guides
Upload limits, drives and Windows
Exact limits
Developers and APIs often write limits in bytes: 5,242,880 is 5 MB counted by 1,024, 5,000,000 is 5 MB counted by 1,000. Convert the figure both ways before you trust a label.
The converter works that safe size out for the units you pick, under “Why two answers?”.
Good to know
Private
Every number is computed in your browser. A file you drop is never read or uploaded: only its size is used.
Free, no account and no limit: convert as many sizes as you like.
Nothing is uploaded
Frequently asked questions
bytes to MB — frequently asked questions
1000 or 1024, MiB, megabits and Windows
1,000 bytes in the decimal system, 1,024 bytes in the binary system Windows uses (a KiB, for the standard).
1,000,000,000 bytes counted by 1,000, 1,073,741,824 bytes counted by 1,024.
In Windows, right-click the file › Properties: “Size” gives the bytes in brackets. On a Mac, File › Get Info lists the size in bytes. Or drop the file on this page: its byte count fills the converter.
One divides the bytes by 1,000,000, the other by 1,048,576. Some also show the space used on disk, rounded up to whole blocks. The byte count is the only figure everyone agrees on.
1 MB = 1,000,000 bytes, 1 MiB = 1,048,576 bytes. The IEC 80000-13 standard keeps MB for the first; Windows writes MB for the second.
Eight. A size in bytes × 8 gives bits: 1,000,000 bytes = 8,000,000 bits = 8 Mb.