Home › Unit Converters › Data Storage Converter

Data Storage Converter

Type a size in any unit and see it instantly in bits, bytes, decimal KB/MB/GB/TB/PB/EB and binary KiB/MiB/GiB/TiB/PiB/EiB, side by side with exact values. Everything is calculated privately in your browser.

Last updated:

Try:

Decimal SI · powers of 1000

Binary IEC · powers of 1024

Bits networks & bandwidth

Why does my drive look smaller?

Quick reference: decimal vs binary prefixes
Advertisement

How to use the Data Storage Converter

  1. Enter a size in the box, for example 1 or 1.5. You can also type the unit, like 500 GB or 64 KiB.
  2. Pick the unit you are converting from (decimal KB/MB/GB, binary KiB/MiB/GiB, bits or bytes).
  3. Read the results: decimal units are on the left, binary units on the right, bit units below.
  4. Copy a value with the Copy button next to it, or press Convert to refresh.
  5. Check the drive panel to see how much space Windows and macOS will report for that size.

Decimal vs binary units: the two meanings of "GB"

Computers count in powers of two, so early software used "kilobyte" for 1,024 bytes because it was close to 1,000. As drives grew, the gap between the two meanings grew too: 2.4% at the kilobyte level, 7.4% at the gigabyte and almost 10% at the terabyte. In 1998 the International Electrotechnical Commission (IEC) introduced separate binary prefixes – kibi (Ki), mebi (Mi), gibi (Gi), tebi (Ti) – so that KB, MB, GB and TB mean 1000-based values and KiB, MiB, GiB and TiB mean 1024-based values.

  • Decimal (SI): hard drive and SSD makers, USB sticks, macOS (since 10.6), iOS, most Linux file managers, network speeds and data plans.
  • Binary (IEC): RAM sizes, Windows File Explorer (which shows binary values but labels them KB, MB, GB), many command-line tools such as df -h and free.

Why a 1 TB drive shows 931 GB

A drive sold as 1 TB contains 1,000,000,000,000 bytes. Windows divides that by 1,024 × 1,024 × 1,024 = 1,073,741,824 to get gigabytes, so it shows 931.32 GB (really 931.32 GiB). The capacity is identical; only the unit differs. The formatted size is a little lower again because the file system, recovery partition and over-provisioning reserve some space.

Advertised sizeBytesWindows showsmacOS shows
128 GB128,000,000,000119.21 GB128 GB
256 GB256,000,000,000238.42 GB256 GB
500 GB500,000,000,000465.66 GB500 GB
512 GB512,000,000,000476.84 GB512 GB
1 TB1,000,000,000,000931.32 GB (0.909 TB)1 TB
2 TB2,000,000,000,0001.82 TB2 TB
4 TB4,000,000,000,0003.64 TB4 TB
8 TB8,000,000,000,0007.28 TB8 TB
16 TB16,000,000,000,00014.55 TB16 TB

Conversion formulas and examples

To convert, multiply by the size of the source unit in bytes and divide by the size of the target unit. Going up one decimal prefix divides by 1,000; going up one binary prefix divides by 1,024.

  • KB to MB: 2,500 KB ÷ 1,000 = 2.5 MB. In binary, 2,500 KiB ÷ 1,024 = 2.44 MiB.
  • GB to TB: 750 GB ÷ 1,000 = 0.75 TB.
  • GB to GiB: GB × 1,000,000,000 ÷ 1,073,741,824, or GB × 0.9313. So 64 GB = 59.6 GiB.
  • GiB to GB: GiB × 1.073741824. So 16 GiB of RAM = 17.18 GB.
  • Bits to bytes: divide by 8. A 1 Gbit/s link moves at most 125 MB per second; see the Mbps to MB per second converter for download times.

Watch the case of the letter b: Mb or Mbit is megabits, MB is megabytes – eight times larger. Internet plans are sold in megabits per second, while file sizes are shown in megabytes.

Frequently asked questions

How many MB are in a GB?

In decimal (SI) units, which drive makers, macOS and most network figures use, 1 GB = 1,000 MB. In binary units, 1 GiB = 1,024 MiB. Windows uses the binary values but labels them GB and MB, which is why both answers are common.

Why does my 1 TB drive show only 931 GB?

The drive really has 1,000,000,000,000 bytes (1 TB in decimal). Windows divides by 1,024 three times instead of by 1,000, so it shows 1,000,000,000,000 / 1,073,741,824 = 931.32 GiB, labelled GB. No space is missing; the units are different. A small further amount is used by the file system.

What is the difference between KB and KiB?

KB (kilobyte) means 1,000 bytes under the SI and IEC standards. KiB (kibibyte) means 1,024 bytes. The IEC introduced KiB, MiB, GiB and so on in 1998 so binary sizes have their own unambiguous names.

How many bytes are in a gigabyte?

A gigabyte (GB) is 1,000,000,000 bytes. A gibibyte (GiB) is 1,073,741,824 bytes (2 to the 30th power), about 7.4% more.

How do I convert bits to bytes?

Divide by 8, because one byte is eight bits. For example, a 100 Mbit/s connection moves at most 12.5 MB of data per second. Lowercase b usually means bits and uppercase B means bytes.

Is RAM measured in GB or GiB?

Memory is built in powers of two, so a 16 GB RAM stick actually has 16 GiB (17,179,869,184 bytes). This is the main place where GB is still commonly used in the binary sense (the JEDEC convention).

How precise are the results?

The converter uses whole-number (BigInt) arithmetic, so results are exact. Values are shown in full when they fit in 17 significant digits; longer results are rounded to 12 significant digits and marked with ≈.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Mbps to MB per SecondConvert internet speed from Mbps to MB/s and back.Number Base ConverterConvert numbers between any bases from 2 to 36, with fractions and steps.Unit ConverterConvert length, weight, volume, temperature and more.Pixels to Inches ConverterConvert pixels to inches, cm and mm at any DPI, find print sizes and calculate screen PPI.Audio Sample Rate ConverterResample audio to any rate from 8 to 96 kHz and change bit depth. WAV or MP3 output.Bandwidth CalculatorEstimate monthly website bandwidth (GB) and the Mbps you need from page views and page size.Big Number CalculatorExact + − × ÷ mod and powers for huge integers with hundreds of digits, plus digit count.Browser Storage TestSee your browser's storage quota and usage, and test localStorage, IndexedDB and cookie limits.Currency ConverterConvert currencies with live exchange rates.Temperature ConverterConvert °C, °F, K, °R and °Ré at once. Type in any field, with formulas and a range table.KG to LBSConvert kilograms to pounds and back.CM to FeetConvert centimeters to feet and back.CM to InchesConvert centimeters to inches and back.Inches to FeetConvert inches to feet (in to ft) instantly, with formula and chart.Celsius to FahrenheitConvert temperatures between °C and °F.Fahrenheit to CelsiusConvert temperatures from °F to °C and back.ML to OZConvert milliliters to US or UK fluid ounces.OZ to MLConvert fluid ounces to milliliters and back.Height to CMConvert height in feet and inches to centimeters.LBS to KGConvert pounds to kilograms and back.Inches to CMConvert inches, including fractions, to centimeters.MPH to km/hConvert miles per hour to kilometers per hour.Square Feet to Square MetersConvert ft² to m² and back, with a room area helper.Watts to AmpsConvert watts to amps at any voltage, DC or AC.KM to MilesConvert kilometers to miles.Miles to KMConvert miles to kilometers.Feet to MetersConvert feet to meters and back.Meters to FeetConvert meters to feet and back.Roman Numeral ConverterConvert numbers to Roman numerals and back, up to 3,999,999.Number to WordsWrite any number in words, including cheque format.Words to NumberConvert written English number words back into digits.Ordinal Number GeneratorTurn numbers or ranges into ordinals like 1st, 2nd, 3rd or first.Time Zone Abbreviations & UTC OffsetsLook up time zone abbreviations like EST, CET or IST and their UTC offsets.Shoe Size ConverterConvert US, UK, EU and JP shoe sizes for men, women and kids, or size from foot length.Clothing Size ConverterConvert women's, men's and kids' clothing sizes between US, UK, EU, IT, FR, JP and AU.Ring Size ConverterConvert US, UK, EU and JP ring sizes, find a size from diameter, and print a ring sizer.Bra Size CalculatorFind your bra size from two measurements and convert it between US, UK, EU, FR and AU sizes.Paper Size ReferenceA, B, C, US and ANSI paper sizes in mm, inches, points and pixels at any DPI, with a visual compare.Newton Meters to Foot PoundsConvert newton meters to foot-pounds (N·m to ft·lb) instantly, with formula and chart.Foot Pounds to Newton MetersConvert foot-pounds to newton meters (ft·lb to N·m) instantly, with formula and chart.GB to MBConvert gigabytes to megabytes (GB to MB) instantly, with formula and chart.GB to TBConvert gigabytes to terabytes (GB to TB) instantly, with formula and chart.Bits to BytesConvert bits to bytes (bit to B) instantly, with formula and chart.Minutes to HoursConvert minutes to hours (min to h) instantly, with formula and chart.Hours to MinutesConvert hours to minutes (h to min) instantly, with formula and chart.Seconds to MinutesConvert seconds to minutes (s to min) instantly, with formula and chart.Minutes to SecondsConvert minutes to seconds (min to s) instantly, with formula and chart.Degrees to RadiansConvert degrees to radians (° to rad) instantly, with formula and chart.Radians to DegreesConvert radians to degrees (rad to °) instantly, with formula and chart.Celsius to KelvinConvert degrees Celsius to kelvins (°C to K) instantly, with formula and chart.Kelvin to CelsiusConvert kelvins to degrees Celsius (K to °C) instantly, with formula and chart.Fahrenheit to KelvinConvert degrees Fahrenheit to kelvins (°F to K) instantly, with formula and chart.Kelvin to FahrenheitConvert kelvins to degrees Fahrenheit (K to °F) instantly, with formula and chart.MPG to L/100kmConvert miles per gallon to liters per 100 km and back, with formula steps.L/100km to MPGConvert liters per 100 km to miles per gallon and back, with formula steps.km/L to MPGConvert kilometers per liter to miles per gallon and back, with formula steps.Amps to WattsConvert amps to watts (A to W) instantly, with formula and chart.kVA to kWConvert kilovolt-amperes to kilowatts (kVA to kW) instantly, with formula and chart.kW to AmpsConvert kilowatts to amps (kW to A) instantly, with formula and chart.Paper Weight ConverterConvert gsm to lb bond, text, cover and index paper weights, with a thickness guide.Meters to CMConvert meters to centimeters (m to cm) instantly, with formula and chart.CM to MetersConvert centimeters to meters (cm to m) instantly, with formula and chart.KM to MetersConvert kilometers to meters (km to m) instantly, with formula and chart.KM to FeetConvert kilometers to feet (km to ft) instantly, with formula and chart.Meters to MilesConvert meters to miles (m to mi) instantly, with formula and chart.Nautical Miles to KMConvert nautical miles to kilometers (nmi to km) instantly, with formula and chart.MM to FeetConvert millimeters to feet (mm to ft) instantly, with formula and chart.KG to GramsConvert kilograms to grams (kg to g) instantly, with formula and chart.
See all 366 Unit Converter Tools →