Data Storage Converter
Convert between bits, bytes, KB, MB, GB, TB and PB with binary (1024) and decimal (1000) modes.
How to Use the Data Storage Converter
Convert between bits, bytes, kilobytes, megabytes, gigabytes, terabytes and petabytes with support for both binary (1024) and decimal (1000) modes.
- Enter a value โ type any non-negative number into the input field.
- Select the input unit โ click one of the unit buttons (b, B, KB, MB, GB, TB, PB).
- Choose a base โ toggle between Binary (1024-based, used by operating systems) and Decimal (1000-based, used by storage manufacturers).
- Read all conversions โ every unit is displayed in a grid, updating in real time as you type.
- Copy any result โ click the Copy button next to any row to copy that value to your clipboard.
All conversions run entirely in your browser. No data is sent to any server.
Frequently Asked Questions
What is the difference between binary and decimal mode?
In binary (base-1024) mode, 1 KB = 1,024 bytes. This is how operating systems and RAM report sizes. In decimal (base-1000) mode, 1 KB = 1,000 bytes. Hard drive and SSD manufacturers use decimal units, which is why a drive shows less space in your OS than advertised.
How many bits are in a byte?
There are exactly 8 bits in 1 byte. A bit is the smallest unit of data (0 or 1).
Why does my 1 TB drive show only 931 GB?
Drive manufacturers use decimal (1 TB = 1,000,000,000,000 bytes), while your OS uses binary (1 GB = 1,073,741,824 bytes). So 1,000,000,000,000 รท 1,073,741,824 = about 931 GB.
What is a petabyte?
A petabyte (PB) is 1,024 terabytes in binary or 1,000 terabytes in decimal โ roughly 1 quadrillion bytes. Large data centers and cloud providers work with petabytes.
Should I use binary or decimal?
Use binary for RAM, file sizes and OS-reported storage. Use decimal for hard drive capacity, SSD specifications, network bandwidth and data transfer rates.
More Converters
All-in-One Unit Converter
Master converter with tabs for length, weight, temperature, speed, area and volume.
Open tool →Temperature Converter
Convert between Celsius, Fahrenheit and Kelvin with formula display.
Open tool →Length Converter
Convert between millimeters, centimeters, meters, kilometers, inches, feet, yards and miles.
Open tool →Weight Converter
Convert between milligrams, grams, kilograms, ounces, pounds, stone and tons.
Open tool →Speed Converter
Convert between km/h, mph, m/s, ft/s and knots.
Open tool →Cooking Measurement Converter
Convert between cups, tablespoons, teaspoons, milliliters, fluid ounces and liters.
Open tool →