Data Storage Converter
Enter a value and pick units to convert. Conversions use the binary standard, where 1 KB equals 1024 bytes.
Convert digital storage units instantly, from bits and bytes up to petabytes. This tool uses the binary standard, where each step up is a factor of 1024 (1 KB equals 1024 bytes). Enter a value, pick the units, and see the result live. Everything runs in your browser, so nothing is sent anywhere.
How to use
- Type the value you want to convert into the Value field.
- Pick the unit you are converting from in the From menu.
- Pick the unit you want the result in using the To menu.
- Read the converted value in the Result field, which updates as you type.
- Use Swap to reverse the two units, or Copy result to copy the number.
Examples
- 1 megabyte (MB) equals 1024 kilobytes (KB).
- 1 gigabyte (GB) equals 1,073,741,824 bytes (B).
- 8 bits equal 1 byte (B).
FAQs
- Does this use 1024 or 1000 per unit?
- It uses the binary standard, so each step is a factor of 1024. For example, 1 KB equals 1024 bytes and 1 MB equals 1024 KB.
- How many bits are in a byte?
- There are 8 bits in 1 byte. A bit is the smallest unit and is one eighth of a byte.
- Why does my result differ from what my drive shows?
- Drive makers usually advertise capacity using decimal units (1 GB equals 1,000,000,000 bytes), while operating systems often report binary units (1 GB equals 1,073,741,824 bytes). This tool uses the binary convention, which can make a labelled drive look smaller.
- Can I convert bits up to gigabytes or petabytes?
- Yes. You can convert between any pair of units, including bit, byte, kilobyte, megabyte, gigabyte, terabyte, and petabyte, in either direction.
- Is my data sent to a server?
- No. The conversion runs entirely in your browser, so the values you enter never leave your device.
Related tools
- Length ConverterConvert length between meters, kilometers, centimeters, millimeters, miles, yards, feet, and inches instantly in your browser.
- Weight ConverterConvert weight and mass units instantly. Switch between kilograms, grams, milligrams, tonnes, pounds, ounces, and stone.
- Speed ConverterConvert speed between m/s, km/h, mph, knots, and feet per second. Pick from and to units, swap them, and copy the exact result.
- Time Unit ConverterConvert time units instantly: milliseconds, seconds, minutes, hours, days, weeks, and years (365 days). Free, accurate, works in your browser.
- Temperature ConverterConvert temperatures between Celsius, Fahrenheit, and Kelvin instantly. Free, accurate, and works offline in your browser.
- Volume ConverterConvert volume between liters, milliliters, cubic meters, US gallons, quarts, pints, cups, and fluid ounces instantly.