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.
Common Units
Common Unit Conversions
Quick reference for frequently used unit conversions
Length
| From | To | Formula | Example |
|---|---|---|---|
| Inches (in) | Centimeters (cm) | in × 2.54 | 1 in = 2.54 cm |
| Feet (ft) | Meters (m) | ft × 0.3048 | 1 ft = 0.3048 m |
| Miles (mi) | Kilometers (km) | mi × 1.609 | 1 mi = 1.609 km |
| Meters (m) | Feet (ft) | m × 3.281 | 1 m = 3.281 ft |
| Kilometers (km) | Miles (mi) | km × 0.621 | 1 km = 0.621 mi |
Weight / Mass
| From | To | Formula | Example |
|---|---|---|---|
| Ounces (oz) | Grams (g) | oz × 28.35 | 1 oz = 28.35 g |
| Pounds (lb) | Kilograms (kg) | lb × 0.454 | 1 lb = 0.454 kg |
| Kilograms (kg) | Pounds (lb) | kg × 2.205 | 1 kg = 2.205 lb |
| Tons (t) | Tonnes (t) | t × 0.907 | 1 t = 0.907 tonnes |
Volume
| From | To | Formula | Example |
|---|---|---|---|
| Fl oz (US) | Milliliters (ml) | fl oz × 29.574 | 1 fl oz = 29.574 ml |
| Cups (US) | Milliliters (ml) | cup × 236.588 | 1 cup = 236.588 ml |
| Pints (US) | Liters (L) | pt × 0.473 | 1 pt = 0.473 L |
| Gallons (US) | Liters (L) | gal × 3.785 | 1 gal = 3.785 L |
| Liters (L) | Gallons (US) | L × 0.264 | 1 L = 0.264 gal |
Temperature
| From | To | Formula | Example |
|---|---|---|---|
| Celsius (°C) | Fahrenheit (°F) | (°C × 9/5) + 32 | 0°C = 32°F |
| Fahrenheit (°F) | Celsius (°C) | (°F - 32) × 5/9 | 32°F = 0°C |
| Celsius (°C) | Kelvin (K) | °C + 273.15 | 0°C = 273.15 K |
| Kelvin (K) | Celsius (°C) | K - 273.15 | 273.15 K = 0°C |
Area
| From | To | Formula | Example |
|---|---|---|---|
| Sq feet (ft²) | Sq meters (m²) | ft² × 0.0929 | 1 ft² = 0.0929 m² |
| Sq meters (m²) | Sq feet (ft²) | m² × 10.764 | 1 m² = 10.764 ft² |
| Acres | Hectares (ha) | acre × 0.405 | 1 acre = 0.405 ha |
| Hectares (ha) | Acres | ha × 2.471 | 1 ha = 2.471 acres |
Speed
| From | To | Formula | Example |
|---|---|---|---|
| MPH | KM/H | mph × 1.609 | 1 mph = 1.609 km/h |
| KM/H | MPH | km/h × 0.621 | 1 km/h = 0.621 mph |
| Knots | MPH | knots × 1.151 | 1 knot = 1.151 mph |
| M/S | KM/H | m/s × 3.6 | 1 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

No conversion records
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
| Unit | Decimal (bytes) | Binary equivalent |
|---|---|---|
| 1 KB | 1,000 | 1 KiB = 1,024 |
| 1 MB | 1,000,000 | 1 MiB = 1,048,576 |
| 1 GB | 1,000,000,000 | 1 GiB ≈ 1.07 × 10⁹ |
| 1 TB | 1,000,000,000,000 | 1 TiB ≈ 1.10 × 10¹² |
| 1 Byte | 8 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.”