Bytes to Megabytes
Convert bytes to megabytes for photos, audio, and documents. Covers decimal MB (÷1,000,000) and binary MiB (÷1,048,576) with file type context.
Enter your values above to see the results.
Tips & Notes
- ✓Photo file sizes: smartphone JPEG (12 MP, 75% quality) ≈ 3,000,000-5,000,000 bytes = 3-5 MB. RAW camera file (24 MP) ≈ 25,000,000-45,000,000 bytes = 25-45 MB. PNG screenshot (1920×1080) ≈ 500,000-3,000,000 bytes = 0.5-3 MB.
- ✓Audio file sizes: MP3 (128 kbps, 3.5 minutes) ≈ 3,360,000 bytes = 3.36 MB. CD audio (FLAC, 3.5 min) ≈ 30,000,000 bytes = 30 MB. AAC (256 kbps, 3.5 min) ≈ 6,720,000 bytes = 6.72 MB. Uncompressed WAV (3.5 min, 44.1 kHz, 16-bit stereo) ≈ 37,044,480 bytes = 37 MB.
- ✓Email attachment limits: Gmail 25 MB = 25,000,000 bytes; Outlook 20 MB = 20,000,000 bytes; iCloud Mail 20 MB = 20,000,000 bytes. Large files should be shared via cloud links rather than attachments to avoid limits.
- ✓PDF document sizes: text-only PDF (10 pages) ≈ 100,000-500,000 bytes = 0.1-0.5 MB. PDF with images (10 pages) ≈ 1,000,000-10,000,000 bytes = 1-10 MB. Scanned document (10 pages, 300 DPI) ≈ 3,000,000-30,000,000 bytes = 3-30 MB depending on compression.
- ✓Browser cache and web performance: a single high-resolution image can be 2-8 MB = 2,000,000-8,000,000 bytes. Google recommends images under 100 KB (100,000 bytes) for web use, with lossy compression. WebP format reduces JPEG sizes by 25-35% for same quality.
Common Mistakes
- ✗Using MB when the system reports MiB — Windows File Explorer reports file sizes in binary MiB but labels them "MB". A 4,194,304-byte file shows as "4.00 MB" in Windows (binary) but is actually 4.194 MB (decimal). macOS uses decimal MB since OS X 10.6.
- ✗Confusing megabytes with megabits for internet speed — internet speeds in Mbps (megabits per second). 1 MB = 8 Mb. A 100 Mbps connection downloads at 100/8 = 12.5 MB/s (decimal). Downloading a 500 MB file at 100 Mbps: time = 500/12.5 = 40 seconds.
- ✗Calculating photo storage without accounting for metadata and thumbnails — a folder of 100 photos might have 100 × 4 MB = 400 MB image data plus metadata, thumbnails, and sidecar files adding another 5-10%. Estimate 10% overhead for directories of photos.
- ✗Treating uncompressed and compressed sizes as equivalent for storage planning — a 30 MB RAW photo compressed to 8 MB JPEG for sharing saves 73% storage. Cloud photo services often store both originals and processed versions, doubling the actual storage footprint.
- ✗Applying megabyte math to streaming video without bandwidth context — a 4K Netflix stream at 15-25 Mbps downloads 15/8 to 25/8 = 1.875-3.125 MB/s. Watching 1 hour: 6,750-11,250 MB = 6.75-11.25 GB of data. This matters for mobile data plans with MB/GB limits.
Bytes to Megabytes Overview
The megabyte is the everyday file size unit — photos, songs, documents, and app downloads are all measured in megabytes. Understanding bytes-to-MB conversion contextualizes file sizes, guides storage planning, and reveals the true data cost of multimedia content.
Bytes to megabytes formula:
MB = B / 1,000,000 (decimal) | MiB = B / 1,048,576 (binary) | Difference at 1 GiB: 73.7 MB vs 0 MiB gap grows
EX: JPEG photo 4,200,000 bytes → 4.2 MB (decimal) = 4.005 MiB (binary). MP3 song 3,800,000 bytes → 3.8 MB (decimal) = 3.624 MiB (binary)Inverse — MB to bytes:
B = MB × 1,000,000 | B = MiB × 1,048,576
EX: Gmail 25 MB attachment limit → 25 × 1,000,000 = 25,000,000 bytes maximum. RAM 4 GiB = 4 × 1,073,741,824 = 4,294,967,296 bytes exactlyPhoto and media file sizes in bytes and MB:
| File Type | Bytes (typical) | MB (decimal) | Notes |
|---|---|---|---|
| Smartphone JPEG (12 MP) | 3,000,000-6,000,000 | 3-6 MB | 75% quality setting |
| DSLR RAW (24 MP) | 25,000,000-35,000,000 | 25-35 MB | Uncompressed |
| MP3 song (3.5 min, 128 kbps) | 3,360,000 | 3.36 MB | Lossy compressed |
| FLAC audio (3.5 min) | 20,000,000-30,000,000 | 20-30 MB | Lossless |
| PDF (10 pages, text) | 100,000-500,000 | 0.1-0.5 MB | No embedded images |
| 1 min 4K video (H.265) | 350,000,000-500,000,000 | 350-500 MB | High quality |
| Format | Bitrate | Bytes | MB | Quality |
|---|---|---|---|---|
| WAV (uncompressed) | 1,411 kbps | 37,044,480 | 37.0 MB | Lossless |
| FLAC | ~700 kbps avg | ~18,375,000 | ~18.4 MB | Lossless |
| AAC 256 kbps | 256 kbps | 6,720,000 | 6.72 MB | High quality |
| MP3 320 kbps | 320 kbps | 8,400,000 | 8.40 MB | Near-transparent |
| MP3 128 kbps | 128 kbps | 3,360,000 | 3.36 MB | Acceptable |
| Voice call (Opus) | 24 kbps | 630,000 | 0.63 MB | Speech only |
Frequently Asked Questions
Divide bytes by 1,000,000 for decimal MB (storage, internet) or by 1,048,576 for binary MiB (OS reporting). Examples: 500,000 bytes = 0.5 MB (decimal) = 0.477 MiB (binary). 3,000,000 bytes = 3.0 MB (decimal) = 2.861 MiB (binary). 10,000,000 bytes = 10.0 MB (decimal) = 9.537 MiB (binary). 104,857,600 bytes = 104.858 MB (decimal) = 100.000 MiB (binary) = exactly 100 MiB.
Photo file sizes depend on camera, resolution, and compression: smartphone (12 MP, JPEG fine) 3,000,000-6,000,000 bytes = 3-6 MB; flagship phone (50 MP, JPEG) 10,000,000-20,000,000 bytes = 10-20 MB; DSLR RAW (24 MP) 25,000,000-35,000,000 bytes = 25-35 MB; medium format RAW (100 MP) 100,000,000-150,000,000 bytes = 100-150 MB; HEIF/HEIC (same quality as JPEG, 40% smaller): 1,800,000-4,000,000 bytes = 1.8-4 MB for 12 MP. Storage planning: 1 GB holds approximately 300-500 typical smartphone JPEGs or 25-35 DSLR RAW files.
Uncompressed audio: WAV/AIFF (44.1 kHz, 16-bit, stereo) = 10,584,000 bytes/minute = 10.584 MB/min. Lossless compressed: FLAC ≈ 5,000,000-7,000,000 bytes/minute = 5-7 MB/min (50-65% reduction). Lossy compressed: MP3 128 kbps = 128,000 bits/s × 60/8 = 960,000 bytes/minute = 0.96 MB/min; MP3 320 kbps = 2.4 MB/min; AAC 256 kbps = 1.92 MB/min (better quality than same-bitrate MP3). A typical 3.5-minute song: WAV ≈ 37 MB; FLAC ≈ 20 MB; MP3 128 kbps ≈ 3.4 MB; AAC 256 kbps ≈ 6.7 MB.
Email provider limits: Gmail 25 MB (25,000,000 bytes) per message including all attachments; Microsoft Outlook.com 20 MB; Apple iCloud Mail 20 MB; Yahoo Mail 25 MB; corporate Exchange servers vary 10-100 MB. For files larger than the limit: Gmail, Outlook, and iCloud automatically offer to share via cloud link. Best practice: compress large files before attaching (ZIP, 7-zip), use cloud links for files over 10 MB, and split large archives if needed. Note: a 20 MB file encoded as base64 email attachment becomes 20 × 4/3 = 26.7 MB in transit due to encoding overhead.
App store limits: iOS App Store cellular download limit 200 MB (increased from 100 MB in iOS 13); Google Play Store cellular limit 150 MB (larger apps require Wi-Fi or user override). Typical app sizes: simple utility 5-20 MB; social media app 80-200 MB; mobile game (casual) 50-200 MB; AAA mobile game 500 MB-3 GB (after additional downloads). App size affects: download completion rates (larger = more abandonment); storage on device; update bandwidth; first-run experience. Developers use techniques like on-demand resources (iOS) and app bundles (Android) to minimize initial download size.
Storage consumption by content type: 1 minute of 4K video (H.265, high quality) ≈ 300-500 MB; 1 minute of 1080p video (H.264) ≈ 130-200 MB; 1 hour of 4K streaming at 25 Mbps ≈ 11,250 MB = 11.25 GB. Photos for professional printing: 300 DPI, 8×10 inch print requires minimum 2400×3000 pixels = 7.2 MP, uncompressed ≈ 21,600,000 bytes = 21.6 MB; JPEG compressed ≈ 3-8 MB. 360-degree VR photos: 5,000-12,000 pixels wide ≈ 25-144 MP = 75-432 MB uncompressed, 8-45 MB JPEG. Planning: 256 GB smartphone storage holds approximately 5,000-12,000 standard photos or 6-10 hours of 4K video.