Skip to main content

Data Storage Converter

Convert between bits, bytes, kilobytes, megabytes, gigabytes, terabytes and more — decimal and binary units

Unit Converter

Support fast conversion of various units including length, area, volume, weight, temperature, etc.

Data StorageConversion
Data storage unit conversion
Ready to calculate
0

Common Units

bitBKBMBGBTB

Common Unit Conversions

Quick reference for frequently used unit conversions

Length

FromToFormulaExample
Inches (in)Centimeters (cm)in × 2.541 in = 2.54 cm
Feet (ft)Meters (m)ft × 0.30481 ft = 0.3048 m
Miles (mi)Kilometers (km)mi × 1.6091 mi = 1.609 km
Meters (m)Feet (ft)m × 3.2811 m = 3.281 ft
Kilometers (km)Miles (mi)km × 0.6211 km = 0.621 mi

Weight / Mass

FromToFormulaExample
Ounces (oz)Grams (g)oz × 28.351 oz = 28.35 g
Pounds (lb)Kilograms (kg)lb × 0.4541 lb = 0.454 kg
Kilograms (kg)Pounds (lb)kg × 2.2051 kg = 2.205 lb
Tons (t)Tonnes (t)t × 0.9071 t = 0.907 tonnes

Volume

FromToFormulaExample
Fl oz (US)Milliliters (ml)fl oz × 29.5741 fl oz = 29.574 ml
Cups (US)Milliliters (ml)cup × 236.5881 cup = 236.588 ml
Pints (US)Liters (L)pt × 0.4731 pt = 0.473 L
Gallons (US)Liters (L)gal × 3.7851 gal = 3.785 L
Liters (L)Gallons (US)L × 0.2641 L = 0.264 gal

Temperature

FromToFormulaExample
Celsius (°C)Fahrenheit (°F)(°C × 9/5) + 320°C = 32°F
Fahrenheit (°F)Celsius (°C)(°F - 32) × 5/932°F = 0°C
Celsius (°C)Kelvin (K)°C + 273.150°C = 273.15 K
Kelvin (K)Celsius (°C)K - 273.15273.15 K = 0°C

Area

FromToFormulaExample
Sq feet (ft²)Sq meters (m²)ft² × 0.09291 ft² = 0.0929 m²
Sq meters (m²)Sq feet (ft²)m² × 10.7641 m² = 10.764 ft²
AcresHectares (ha)acre × 0.4051 acre = 0.405 ha
Hectares (ha)Acresha × 2.4711 ha = 2.471 acres

Speed

FromToFormulaExample
MPHKM/Hmph × 1.6091 mph = 1.609 km/h
KM/HMPHkm/h × 0.6211 km/h = 0.621 mph
KnotsMPHknots × 1.1511 knot = 1.151 mph
M/SKM/Hm/s × 3.61 m/s = 3.6 km/h

Note: These are commonly used conversions with approximate values rounded for practical use. For precise conversions, use the calculator tool above.

Unit Conversion Reference Table

Comprehensive table showing common unit conversions across all categories
Quick reference guide for the most frequently used unit conversions
Conversion History

No conversion records

Quick Access

Your Privacy is Protected

All conversions run locally in your browser. We do not store or transmit your data.

What is Data Storage Conversion?

Data storage conversion translates a digital storage size from one unit to another — megabytes to gigabytes, bits to bytes, and so on. It is essential for understanding file sizes, storage capacity, and network speeds.

The biggest source of confusion in data units is the decimal vs. binary split. The decimal (SI) system uses powers of 10: 1 KB = 1,000 bytes, 1 MB = 1,000 KB. The binary system uses powers of 2: 1 KiB = 1,024 bytes, 1 MiB = 1,024 KiB. Storage manufacturers use decimal (so drives look bigger); operating systems historically used binary (so the same drive looks smaller in your file manager).

To resolve this, the binary prefixes (kibi/Ki, mebi/Mi, gibi/Gi) were standardized in 1998. This converter supports both, so you can convert accurately regardless of which convention a device or document uses.

How to Convert Data Units

Data units have conversion rates relative to a base unit (the bit):

result = value × (fromUnit rate) ÷ (toUnit rate)

Example — convert 5 GB to MB (decimal):

5 GB = 5 × 8,589,934,592 ÷ 8,388,608 = 5,000 MB

Key tip: Remember bits vs bytes — network speeds (Mbps) are in bits, file sizes (MB) are in bytes. Divide Mbps by 8 to get MB/s. A 100 Mbps connection downloads at 12.5 MB/s.

Common Data Conversions

UnitDecimal (bytes)Binary equivalent
1 KB1,0001 KiB = 1,024
1 MB1,000,0001 MiB = 1,048,576
1 GB1,000,000,0001 GiB ≈ 1.07 × 10⁹
1 TB1,000,000,000,0001 TiB ≈ 1.10 × 10¹²
1 Byte8 bits

Frequently Asked Questions

How many bytes are in a kilobyte?

This depends on the standard. In the decimal (SI) system, 1 kilobyte (KB) = 1,000 bytes. In the binary system historically used by operating systems, 1 KB = 1,024 bytes — this is now correctly called a kibibyte (KiB). Most storage manufacturers use decimal (1 KB = 1000 B), while Windows uses binary (1 KB = 1024 B), which is why a “500 GB” drive shows as ~465 GB in Windows.

What is the difference between a gigabyte and a gibibyte?

A gigabyte (GB) is 1,000,000,000 bytes (10⁹, decimal). A gibibyte (GiB) is 1,073,741,824 bytes (2³⁰, binary). They differ by about 7.4%. The binary prefixes (kibi, mebi, gibi) were introduced in 1998 to resolve the ambiguity, but many people and systems still use the decimal names for binary quantities.

How many megabytes are in a gigabyte?

In the decimal system, 1 GB = 1,000 MB. In the binary system, 1 GiB = 1,024 MiB. For internet data plans and storage, providers usually mean decimal (1 GB = 1000 MB). For RAM and file sizes in some operating systems, the binary meaning (1 GB = 1024 MB) is common.

How many bits are in a byte?

There are 8 bits in one byte. A bit is the smallest unit of data (0 or 1), and a byte can represent 256 different values (2⁸). Network speeds are often measured in bits per second (Mbps), while file sizes are measured in bytes (MB) — so a 100 Mbps connection downloads at about 12.5 MB/s.

Why does my 1 TB hard drive show less than 1 TB?

Hard drive manufacturers use decimal terabytes (1 TB = 10¹² bytes = 1,000,000,000,000). Operating systems like Windows use binary terabytes (1 TiB = 2⁴⁰ bytes = 1,099,511,627,776). So a “1 TB” drive contains 10¹² bytes but Windows reports it as 1,000,000,000,000 ÷ 1,099,511,627,776 ≈ 0.91 TiB, displayed as “931 GB.”