Data Size Converter
Convert a data-size value between bytes, decimal units (KB through PB), binary units (KiB through PiB) and bits. The result includes a reference table of common units.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Options
Your result will appear here
Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.
How it works
What the converter returns
Enter a number and choose the unit to convert from and the unit to convert to. The value becomes bytes internally and then the target unit; the table shows that result first, then the same quantity in B, KB, MB, GB, KiB, MiB, GiB and bits. Commas in the input are ignored, so 1,000 is read as 1000.
Decimal units are not binary units
KB here means 1000 bytes and KiB means 1024, so one GB comes out as 953.674 MiB rather than 1024. Drive makers quote decimal units while operating systems report binary ones, which is why a drive sold as 1 TB shows up in a file manager as roughly 931 GiB.
When a number does not add up
Reach for it when the same capacity is quoted two ways: checking whether a 4.7 GB DVD image fits a 4.38 GiB cloud volume, sizing a partition from a provider that bills in TiB, or turning a 100 Mbit link into the 12.5 MB/s a download manager shows.
One number at a time, sixteen digits deep
The input must be a single finite number. Text such as 1.5 GB is rejected because the unit belongs in the dropdowns, and the result is rounded to sixteen significant digits, enough for any real storage figure without floating-point noise.
Arithmetic that never leaves the tab
The conversion is plain multiplication and division in this page. No value, unit or file name is transmitted, the tool makes no network request, and it keeps working with your connection switched off.
Questions
Why does a 1 TB drive show less free space?
Drive makers use decimal units, where 1 TB is 1,000,000,000,000 bytes, while most operating systems report binary ones. Converted, 1 TB is about 0.909 TiB, or roughly 931 GiB — the same capacity counted differently.
Can I type "1.5 GB" into the input box?
No. The box takes the number only and the unit comes from the Convert from dropdown. Enter 1.5 and choose GB, or 1500 and choose MB, to get the same result.
How do the bit units work?
A byte is eight bits, so bit, Kbit, Mbit and Gbit are converted by dividing by eight. 100 Mbit therefore equals 12.5 MB, the quickest way to turn a link speed into a download rate.
Related tools
See categoryUnit Converter
Convert between units of length, mass, temperature, data and more.
CSS Unit Converter
Convert between px, rem, em, pt, pc, in, cm, mm and % for CSS lengths.
Aspect Ratio Calculator
Solve, simplify or look up common aspect ratios and resolutions.
BMI Calculator
Calculate body mass index from metric or imperial measurements.