Unit Converters
Data Size Converter
Convert bits, bytes, KB, MB, GB and TB — in both decimal (1000) and binary (1024, KiB/MiB/GiB) units.
How to use
- 1Enter a size and pick its unit.
- 2Pick the target unit. Decimal (GB) and binary (GiB) units are both listed.
How it's calculated
Decimal units use powers of 1000 (1 GB = 1,000,000,000 bytes). Binary units use powers of 1024 (1 GiB = 1,073,741,824 bytes). 1 byte = 8 bits.
Frequently asked questions
Why does my 1 TB drive show about 931 GB?
Drive makers use decimal TB (10¹² bytes) while many operating systems count in binary GiB (2³⁰ bytes). 10¹² bytes ÷ 1,073,741,824 ≈ 931 GiB.
How many MB are in a GB?
1,000 MB in decimal units, or 1,024 MiB in a GiB in binary units.
What is the difference between a bit and a byte?
A byte is 8 bits. Internet speeds are usually quoted in bits (Mbps) and file sizes in bytes (MB).
Two counting systems collided, and both stuck
Storage manufacturers price and label drives using decimal SI prefixes (1 GB = 1,000,000,000 bytes), while operating systems historically reported sizes using binary prefixes that borrowed the same names (treating 1 'GB' as 1,073,741,824 bytes, really a gibibyte). Both conventions are internally consistent — they just disagree about what 'giga' means when applied to bytes — and neither side was wrong by its own rules, which is how the confusion became permanent rather than getting fixed.
The KiB/MiB/GiB fix, and why it didn't fully catch on
In 1998 the IEC introduced kibibyte, mebibyte and gibibyte specifically to disambiguate the binary values (1,024-based) from the decimal kilobyte, megabyte and gigabyte. Most operating systems still haven't switched their display labels even where they use binary math internally — macOS switched to true decimal GB in Finder years ago, while Windows still often shows binary values under decimal-sounding labels — so the correct unit name and the label on your screen don't always match.
Worked example: Data Size Converter
This is exactly why a drive sold as '1 TB' (10¹² bytes, decimal) shows up as roughly 931 GiB in an operating system that reports binary values — converting 1 TB to GiB in this tool gives 931.3225746, matching what many buyers see and assume is 'missing' storage, when it's actually just two different counting bases describing the same physical bytes. Sticking to the same system throughout — 1 GB is exactly 1,000 MB in decimal, while 1 GiB is exactly 1,024 MiB in binary — avoids the apparent discrepancy entirely.
It opens on gigabytes into megabytes, and that jump is 1,000
Decimal sizes step by 1,000, so 1 GB is exactly 1,000 MB, 1,000,000 KB and 1,000,000,000 bytes. A gibibyte is 1,024 cubed, so the same 1 GB is about 0.93132257 GiB at eight significant digits. Bits are one eighth of a byte, so 1 GB is 8,000,000,000 bits. Kibibytes, mebibytes, gibibytes and tebibytes stay on powers of 1,024, separate from the KB, MB, GB and TB rows. I have to read the label, because the names look almost the same. A tebibyte is 1,024 to the fourth, while a terabyte is 1,000 to the fourth, and both appear as their own rows.
A huge bit count, a blank box, and the swap button
Converting a large decimal size into bits, or a single bit into petabytes, can cross the display cutoff: below a millionth or from a quadrillion upward, the figure is shown in scientific notation. The table lists every size except the unit on the left. Swap exchanges the menus and keeps the number I typed. An empty field or a word becomes a dash and the table hides. A comma in 1,000 is removed first, so a pasted file size with thousands separators still converts. Zero is a real zero in every size, and a cleared box is not treated as zero.
Related tools
- Data Transfer Rate Converter
Convert internet and transfer speeds between Mbps, Gbps, MB/s and more — see what a connection speed means in file terms.
- Weight Converter
Convert kilograms, pounds, ounces, grams, stones, tons and tola instantly, with every unit shown side by side.
- Area Converter
Convert square feet, square meters, acres, hectares, marla and kanal — handy for plots, rooms and land.
- Volume Converter
Convert liters, milliliters, US and UK gallons, cups, fluid ounces, cubic feet and more.
- Time Unit Converter
Convert seconds, minutes, hours, days, weeks, months and years, including milliseconds and microseconds.
- Moving Box & Storage Unit Calculator
Estimate how many moving boxes you need by home size and packing style, and the storage unit size that fits your belongings.