Bytes to Megabytes Converter
Last updated: 2026-11-26
Files are born in bytes and quoted in megabytes, and the step between the two is where a download, an attachment, or a storage meter quietly changes size: one megabyte is 1,048,576 bytes on the binary count your operating system uses, so a file of exactly one million bytes is only about 0.95 MB.
Bytes to Megabytes Use Cases
- Email attachment caps: Most mail providers cap attachments at 25 MB, which is 26,214,400 bytes. A video of 30,000,000 bytes is 28.61 MB and gets rejected, while a 25,000,000-byte file is 23.84 MB and sails through — the conversion is what tells you which side of the cap you are on before you hit send.
- Web page weight budgets: A hero image of 3 MB is 3,145,728 bytes, and a page budget of 2 MB allows 2,097,152 bytes in total. Web teams count the budget in megabytes but the images arrive in bytes, so the conversion is the step that keeps a page under its weight limit.
- E-books and documents: A 2 MB PDF holds 2,097,152 bytes — enough for a few hundred pages of text with images — while a 500 KB document is 512,000 bytes. Converting tells a reader whether a download is a pamphlet or a textbook before opening it.
- App download sizes: An app listed at 220,000,000 bytes on a developer's spec sheet is 209.81 MB on the phone that installs it. The two numbers describe the same download, and the gap between them is the binary megabyte at work.
- Floppy disk labels: The old 1.44 MB floppy held 1,474,560 bytes, which is 1.40625 binary megabytes — not 1.44. The label mixed the two counting systems, and the disk is still the clearest proof that a megabyte has two different sizes depending on who is counting.
Bytes to Megabytes Converter vs Alternatives
- Windows File Explorer size column: Explorer lists file sizes in KB and MB using the binary count, so a 5,242,880-byte file reads as 5.00 MB. It shows one file at a time and never explains why the same file reads smaller than its byte count.
- macOS Finder Get Info: Finder has reported sizes in decimal megabytes since 2009, so the same 5,242,880-byte file reads as 5.2 MB on a Mac and 5.00 MB on a Windows PC. The file is identical — the two systems simply count a megabyte differently.
- An email provider's attachment meter: Mail services show a fill bar as you attach files, counting toward the 25 MB cap in binary megabytes. The bar is exact for the message you are writing, but it will not convert a file size from a spec sheet or a download page.
- A disk-usage analyzer: Tools like WinDirStat and TreeSize add up folders in megabytes and draw the totals as blocks, which shows where the space went. They measure what is already on the disk, not a file you have not downloaded yet.
Explorer and Finder each report a size in the megabyte they prefer, and the two answers differ by design. Knowing that a binary megabyte is 1,048,576 bytes — 48,576 more than a million — is what lets you read either number without being surprised by it, and this page keeps that gap beside the attachment caps, page budgets, and app sizes where it actually bites.
Bytes to Megabytes Formula
Megabytes = Bytes × 9.5367e-07 (Bytes = Megabytes × 1,048,576)
Data-size conversion for storage and memory — bits, bytes, kilobytes, megabytes, gigabytes, terabytes, and petabytes. This converter uses binary (1024-based) units, the convention for RAM, file sizes, and storage devices.
Bytes to Megabytes Conversion Table
| Bytes | Megabytes | |
|---|---|---|
| 1 B | = | 9.5367e-07 MB |
| 2 B | = | 0.000002 MB |
| 5 B | = | 0.000005 MB |
| 10 B | = | 0.00001 MB |
| 25 B | = | 0.000024 MB |
| 50 B | = | 0.000048 MB |
| 100 B | = | 0.000095 MB |
About Bytes and Megabytes
A byte is 8 bits — enough to store one text character. The fundamental unit of file sizes and memory.
A megabyte is 1,024 kilobytes — about a high-resolution photo or a minute of MP3 audio.
The 48,576-Byte Gap: Why a Million Bytes Is Not a Megabyte
Every megabyte on a computer carries 48,576 bytes more than a million, and that surplus is the whole story of this conversion. Computers count in powers of two, so they step from bytes to kilobytes by 1,024, and from kilobytes to megabytes by another 1,024 — and 1,024 × 1,024 is 1,048,576. Storage makers and phone companies count in powers of ten instead, so their megabyte is exactly 1,000,000 bytes. The gap is about 4.86% per megabyte, which is invisible on a small file and impossible to miss on a large one: a hundred million bytes is 95.37 binary megabytes but 100 decimal megabytes. The IEC gave the binary unit its own name in 1998 — mebibyte, MiB — so that the two could be told apart, but operating systems kept the MB label. This page converts with the binary 1,048,576 figure, the one your file manager uses, and the gap is flagged wherever a label might be counting the other way.
The Floppy That Proved the Two Megabytes Were Different
The clearest evidence that a megabyte has two sizes sits in a desk drawer from the 1990s: the 3.5-inch floppy labeled 1.44 MB. The disk held 1,474,560 bytes, which divides into 1.40625 binary megabytes — not 1.44. The label came from a mixed count: 1,440 kilobytes of 1,024 bytes each, which is 1,474,560 bytes, and 1,474,560 divided by 1,000,000 is 1.47456, which rounds to neither 1.44 nor 1.41. The label was really 1.44 thousand kilobytes, dressed up as megabytes, and nobody noticed because the disk was too small for the 4.86% gap to matter. It matters now: the same mixed counting survives in drive labels and phone plans, where a gigabyte can mean 1,000,000,000 bytes on the box and 1,073,741,824 bytes on the screen. The floppy is the warning — always check which megabyte a number is counted in before trusting it.