Skip to main content

Unit Converter

Convert the units developers trip over: decimal vs binary data sizes (GB vs GiB), bits vs bytes, Mbps vs MB/s, and durations, alongside everyday length, weight, temperature and more.

Quick:
-

Common Conversions

Frequently Asked Questions

Does the Unit Converter work offline after the page has loaded?

Yes. All conversion factors are embedded in the page and calculations run locally. No network request is made when you convert.

What is the difference between GB and GiB, and which one does my operating system use?

GB is the SI decimal unit (1 GB = 1,000,000,000 bytes); GiB is the IEC binary unit (1 GiB = 1,073,741,824 bytes). Storage makers advertise decimal sizes, so a 1 TB drive holds about 931 GiB. Windows reports binary sizes but labels them GB, macOS reports decimal sizes, and Linux tools such as ls -h and df -h use binary units unless you pass --si or -H. This converter keeps kB/MB/GB (powers of 1,000) and KiB/MiB/GiB (powers of 1,024) separate so there is no ambiguity.

How do I convert Mbps to MB/s for download times?

Divide megabits per second by 8 to get megabytes per second: 100 Mbps is 12.5 MB/s. Real downloads are somewhat slower because of protocol overhead such as TCP/IP headers and TLS. A 1 GB file on a 100 Mbps line needs at least 80 seconds. Use the Megabit/s and Megabyte/s units in the Data category.

Which categories and units are supported?

Length (mm, cm, m, km, in, ft, yd, mi, nmi), Weight (mg, g, kg, oz, lb, st, t), Temperature (°C, °F, K), Volume (ml, l, m³, US fl oz, cup, pint, quart, gallon), Area (mm², cm², m², km², in², ft², ha, acres), Time (ms to years), Speed (m/s, km/h, mph, ft/s, knots, Mach), Pressure, Energy, Data (bits, bytes, SI and IEC sizes, transfer rates) and Angle.

How accurate are the conversions?

Factors use the exact international definitions where they exist: 1 inch = 25.4 mm, 1 lb = 0.45359237 kg, 1 US gallon = 3.785411784 L, 1 nautical mile = 1,852 m and 1 eV = 1.602176634×10⁻¹⁹ J. Results use JavaScript double-precision numbers, so very large or very small values may show rounding in the last digits. Months (30.44 days) and years (365.25 days) are averages, and Mach uses 340.29 m/s at sea level and 15 °C.

How do I convert Celsius to Fahrenheit?

Select Temperature, choose Celsius as the source and Fahrenheit as the target, then enter a value. The formula is °F = °C × 9/5 + 32, so 100 °C is 212 °F. Kelvin is °C + 273.15.