SwapUnits

    Convert

    KB → MiB

    Kilobyte
    KB
    Mebibyte
    0.001
    MiB
    Rounded result (4 decimals max)

    Formula

    MiB = KB ÷ 1,048.576

    1 KB = 0.001 MiB

    Conversion sourcesTap or click to view references
    • IEC 80000-13:2008, Quantities and units - Part 13: Information science and technology

      International Electrotechnical Commission (IEC). Defines the bit, byte, and the decimal SI prefixes (kilo = 10^3, mega = 10^6, etc.) as well as binary multiples, which underpin the storage capacity and data rate conversions. View source

    • Prefixes for Binary Multiples

      National Institute of Standards and Technology (NIST). States that SI prefixes are powers of ten (1 MB = 1,000,000 bytes) and lists the IEC binary prefixes kibi, mebi, gibi and tebi for powers of two (1 MiB = 1,048,576 bytes). View source

    • How storage capacity is measured on Apple devices

      Apple Support. Explains that storage device makers measure capacity in decimal units (1 GB = 1 billion bytes), that the binary system counts 1 GB as 1,073,741,824 bytes, and that OS X Leopard and earlier and iOS 10 and earlier reported storage in binary. View source

    Results update as you type. Swap the direction to convert back from MiB to KB, or open the MiB to KB converter.

    Notation: KB is also written kB. All unit notations

    KB or KiB? Decimal and binary storage units

    The same number of bytes can be written as 1 TB or as 931.32 GiB. Storage is counted in two systems: one goes up by 1,000 at each prefix, the other by 1,024.

    On this page, Kilobyte (KB) is a decimal unit of 1,000 bytes, and Mebibyte (MiB) is a binary unit of 1,048,576 bytes.

    Decimal (SI): steps of 1,000

    KB · MB · GB · TB

    Kilo means 1,000 here, exactly as in kilometer or kilogram. Makers of hard drives, SSDs, USB sticks and memory cards label capacity this way, and macOS (since OS X 10.6 Snow Leopard) and iOS (since iOS 11) show file and disk sizes the same way.

    Binary (IEC): steps of 1,024

    KiB · MiB · GiB · TiB

    Kibi means 2¹⁰ = 1,024. RAM is sized this way, and Windows File Explorer and the df -h command count this way too, although Windows still labels the results KB, MB and GB.

    DecimalBinary
    1 kilobyte (KB)1,000 bytes1 kibibyte (KiB)1,024 bytes2.40% larger
    1 megabyte (MB)1,000,000 bytes1 mebibyte (MiB)1,048,576 bytes4.86% larger
    1 gigabyte (GB)1,000,000,000 bytes1 gibibyte (GiB)1,073,741,824 bytes7.37% larger
    1 terabyte (TB)1,000,000,000,000 bytes1 tebibyte (TiB)1,099,511,627,776 bytes9.95% larger

    Why 1,024?

    Computers address memory in binary. Every extra address bit doubles the number of locations that can be reached, so memory sizes come in powers of two. 2¹⁰ = 1,024 is close to 1,000, so early computing borrowed “kilo” for it, and “megabyte” ended up meaning 1,000,000 bytes to some people and 1,048,576 to others.

    In December 1998 the International Electrotechnical Commission (IEC) approved separate prefixes for the binary meaning: kibi (Ki), mebi (Mi), gibi (Gi), tebi (Ti) and larger ones such as pebi (Pi). Each name blends the decimal prefix with “binary”, so kilo + binary gives kibi. With them, KB keeps its SI meaning of 1,000 bytes and KiB always means 1,024. NIST and IEC 80000-13 use this system, but many programs still use the older labels, so check which system a number is in.

    “My 2 TB drive only shows 1.82 TB”

    A drive sold as 2 TB holds about 2,000,000,000,000 bytes. Divide that by 1,024 four times and you get 1.82 TiB, which Windows displays as “1.82 TB”. A Mac shows the same drive as 2 TB. No space is missing: both numbers count the same bytes. The gap grows at every prefix, from 2.4% at kilo to almost 10% at tera, which is why a 1 TB drive shows up as about 931 GB in Windows. Formatting and the operating system then take a little of the space as well.

    Quick rules

    • Drive and SSD packaging, and file sizes on a Mac or iPhone: decimal (KB, MB, GB, TB).
    • RAM, Windows File Explorer and df -h: binary, even when the label says GB. 16 GB of RAM is 16 GiB, or 17,179,869,184 bytes. (df -H shows decimal sizes instead.)
    • Comparing a drive label with what your computer reports? Convert both to the same system first, for example TB to GiB or GB to GiB.
    • Small files show the gap too: a 1,500-byte file is 1.5 KB or 1.46 KiB.

    KB to MiB quick table

    Multiply any row by the same factor to scale results. Use the converter above to enter exact values with your own units.

    Kilobyte (KB)Mebibyte (MiB)
    0.25 KB0.000238419 MiB
    0.5 KB0.000476837 MiB
    1 KB0.000953674 MiB
    2 KB0.00190735 MiB
    5 KB0.00476837 MiB
    10 KB0.00953674 MiB
    25 KB0.0238419 MiB
    100 KB0.0953674 MiB

    MiB back to KB

    Use the reverse table when double-checking calculations or undoing a conversion.

    Mebibyte (MiB)Kilobyte (KB)
    0.25 MiB262.144 KB
    0.5 MiB524.288 KB
    1 MiB1,048.58 KB
    2 MiB2,097.15 KB
    5 MiB5,242.88 KB
    10 MiB10,485.8 KB
    25 MiB26,214.4 KB
    100 MiB104,858 KB

    More data storage conversions

    Compare all data storage units

    See every data storage unit side by side, with reference tables, tips and answers to common questions.

    Open category guide