This tool converts file sizes between bytes and their larger units, in both the decimal and binary conventions that cause so much confusion. Digital storage is measured in bytes, but real files are large, so we use prefixes like kilo, mega and giga. The catch is that there are two competing systems. The decimal convention, used by storage manufacturers and most operating systems' display, treats a kilobyte as 1,000 bytes, a megabyte as a million, and so on in powers of a thousand. The binary convention, closer to how computers actually address memory, treats a kibibyte as 1,024 bytes, a mebibyte as 1,024 squared, and so on in powers of 1,024, and uses the distinct names KiB, MiB and GiB. This is why a drive sold as 1 terabyte shows up as about 931 of the binary gigabytes your computer reports, a perennial source of head-scratching. This converter clears it up. You enter a size and choose its unit, and the calculator shows the equivalent in bytes, and in all the decimal units (KB, MB, GB) and binary units (KiB, MiB, GiB) at once. The results update as you type. Use it to convert file and storage sizes, to reconcile the decimal and binary figures, or to understand why a disk's capacity looks different in different places. The decimal units step in factors of 1,000, while the binary units step in factors of 1,024, so the same number of bytes gives a smaller figure in binary units. Knowing which convention a tool uses explains most storage-size discrepancies. Whether you are sizing a download, estimating storage, or just curious why the numbers never quite match, this converter shows every equivalent at once so you can read the size in whichever units you need.
Decimal: 1 KB = 1,000 bytes. Binary: 1 KiB = 1,024 bytes. Storage makers use decimal; computers often display binary, which is why a 1 TB drive shows as ~931 GiB.
Your value is first converted to bytes using the factor for its unit: decimal units multiply by powers of 1,000, binary units by powers of 1,024. From the byte count, the calculator then derives every other unit, dividing by 1,000 for each decimal step and by 1,024 for each binary step, so all equivalents are shown together.
A file of 1,500,000 bytes is 1.5 megabytes in the decimal convention, since a megabyte is a million bytes. In the binary convention it is about 1.43 mebibytes, because a mebibyte is 1,024 squared, or 1,048,576 bytes, which is larger than a million, giving a smaller figure.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
© 2019 to 2026 Calculate.co.nz. All rights reserved.