/ Datendarstellung & Speicher

Byte zu Megabyte (binär)

Binäre Umrechnung Byte → Megabyte (MiB): MB = Byte / 1.048.576 = Byte / 1024². Faktor 2²⁰.

Byte zu Megabyte (binär)
01 · Eingabe

Byte zu Megabyte (binär) berechnen

Binäre Umrechnung Byte → Megabyte (MiB): MB = Byte / 1.048.576 = Byte / 1024². Faktor 2²⁰.

Lösen für
MB = Byte / 1048576
Byte

Worum geht es?

Ein binäres Megabyte entspricht 1024 KiB = 1.048.576 Byte = 2²⁰ Byte. Diese Einheit heißt nach IEC korrekt Mebibyte (MiB) — in der Alltagspraxis spricht man dennoch fast immer von "MB".

Wichtig: Die Differenz zur dezimalen Variante (1 MB = 10⁶ Byte = 1.000.000 Byte) beträgt bereits rund 4,9 %. Wenn ein USB-Stick mit "16 GB" beworben wird, hat er rund 14,9 GiB nutzbare Kapazität nach binärer Zählung.

Die Formel

Formel Byte zu Megabyte (binär)
MB = Byte / 1.048.576

Umstellung:
    Byte = MB · 1.048.576

Die Variablen

SymbolBedeutungEinheitErklärung
ByteByteByteAnzahl Bytes.
MBMegabyteMiBMegabyte binär (Faktor 1024²).

Minimal-Beispiel

Wie viele MiB sind 5.242.880 Byte?

Rechnung ≈ 5 MiB
MB = 5.242.880 / 1.048.576
   = 5 MiB

Praxis-Beispiele

Beispiel 1 — JPEG-Foto

Ein 3 MiB großes Foto in Byte:

Rechnung Foto
Byte = 3 · 1.048.576
     = 3.145.728 Byte

Beispiel 2 — RAM-Block

Ein Allokationsblock von 16.777.216 Byte:

Rechnung RAM-Block
MB = 16.777.216 / 1.048.576
   = 16 MiB

Beispiel 3 — Vergleich binär/dezimal

100.000.000 Byte ergeben:

Rechnung binär vs. dezimal
MiB (binär):  100.000.000 / 1.048.576 ≈ 95,37 MiB
MB  (dezimal): 100.000.000 / 1.000.000  = 100 MB