SwapUnits
    Scale bytes, kilobytes, megabytes, and terabytes accurately—decimal or binary.

    Data Storage Conversion Library

    Storage vendors and operating systems toggle between decimal (powers of 10) and binary (powers of 2) units. This reference clarifies both systems so capacity reports stop disagreeing.

    Hard drives, SSDs, memory modules, and file systems each use different conventions. The table highlights the decimal units (kB, MB, GB) alongside the binary versions (KiB, MiB, GiB) so you know how much space you really have.

    Base unit

    Byte (B)

    Units covered

    5

    Popular conversions

    2

    Ready to convert

    Open live converter

    Conversion pair tiles

    Jump directly to any available converter for data storage conversion library units.

    20 options

    Unit breakdown

    Every unit below references the SI base value so you can compare readings quickly.

    UnitSymbol1 unit in BNotes
    ByteBReference unit
    KilobyteKB1 KB = 1.02K B
    MegabyteMB1 MB = 1.0486×10^+6 B
    GigabyteGB1 GB = 1.0737×10^+9 B
    TerabyteTB1 TB = 1.0995×10^+12 B

    Popular conversions

    These presets mirror the quick actions available inside the SwapUnits converter.

    Launch converter
    ConversionExampleReference pageWhy it matters
    Gigabytes to Megabytes1 GB = 1.02K MBOpenIdeal for quick checks inside the live converter.
    Terabytes to Gigabytes1 TB = 1.02K GBOpenIdeal for quick checks inside the live converter.

    Frequently asked questions

    Why does my computer show less space than advertised?

    Manufacturers use decimal units, so a 1 TB drive equals 1,000,000,000,000 bytes. Operating systems often divide by 1,073,741,824 to report gibibytes (GiB), which yields a smaller number.

    What is the difference between MB and MiB?

    MB (megabyte) equals 1,000,000 bytes. MiB (mebibyte) equals 1,048,576 bytes. Software developers prefer MiB to avoid ambiguity in memory size calculations.

    How many gigabytes are in a terabyte?

    In decimal terms, 1 TB equals 1,000 GB. In binary terms, 1 TiB equals 1,024 GiB. Check which prefix your tool displays before converting.

    Ready to convert right now?

    Head back to the SwapUnits converter to crunch numbers instantly and save your favorite presets.

    Open the converter