File Size Converter

File sizes are expressed in two different systems that use the same-sounding names but different numbers, and this causes persistent confusion when you compare what a hard drive manufacturer says versus what your operating system reports. The decimal SI system, used by drive makers and most consumer products, defines a kilobyte as 1,000 bytes, a megabyte as 1,000,000 bytes and a gigabyte as 1,000,000,000 bytes. The binary IEC system, technically more correct for computer memory and historically used by operating systems, defines a kibibyte (KiB) as 1,024 bytes, a mebibyte (MiB) as 1,048,576 bytes and a gibibyte (GiB) as 1,073,741,824 bytes. The gap between them grows at each step: 1 GiB is about 7 percent larger than 1 GB, which is why a 1 TB drive shows up as roughly 931 GiB in Windows. This converter takes a file size in any unit and displays all the common equivalents in both systems, including megabits (Mb) for bandwidth calculations since internet speeds are measured in megabits per second. Enter a value, choose the unit, and all conversions update instantly. The worked example below uses 1.5 GB as the default input.

Calculate.co.nz is proud to be partnered with Health Based Building, a leader in sustainable and health-conscious building innovation. With over a century of experience, they develop high-performance systems like Foreverbreathe Specification, Magnum Board, and Foreverbreathe Paints to support energy-efficient, non-toxic living environments. Their commitment to healthier homes aligns with our belief that informed choices lead to better outcomes for Kiwi households.
Calculate.co.nz partner: Health Based Building
1,500 MB
decimal megabytes
Gigabytes (GB)1.5 GB
Megabits (Mb)12,000 Mb
Mebibytes (MiB)1,430.51 MiB
Gibibytes (GiB)1.40 GiB
Kilobytes (KB)1,500,000 KB
Bytes (B)1,500,000,000 B

Decimal: 1 KB = 1,000 bytes. Binary IEC: 1 KiB = 1,024 bytes. Megabits = Megabytes x 8.

How it works

The input value is converted to bytes first using the appropriate multiplier: decimal units use powers of 1,000 and binary IEC units use powers of 1,024. From the byte count, all other values are derived by dividing by the relevant multiplier. Megabits are bytes multiplied by 8 divided by 1,000,000. The same byte total is divided by 1,024 for KiB, 1,048,576 for MiB and 1,073,741,824 for GiB.

Worked example

Starting with 1.5 GB (decimal): 1.5 times 1,000,000,000 equals 1,500,000,000 bytes. In MB that is 1,500 MB. In megabits that is 12,000 Mb. In binary IEC, 1,500,000,000 divided by 1,048,576 equals approximately 1,430.51 MiB, and divided by 1,073,741,824 equals approximately 1.40 GiB. These match the defaults pre-filled above.

Related calculators

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.

Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.

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.

About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use

Reviewed and maintained. Last reviewed 2026-07-02 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.

© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.