Free Unit Converter
Convert between units of length, weight, temperature, area, volume, and more.
Common
1 m = 3.2808399 ft
= 3 ft 3.4 in
1 m = 3.2808399 ft
All conversions
Common uses
- Length ConverterConvert between metres, feet, inches, kilometres, miles, centimetres, millimetres, yards, and more.
- Weight ConverterConvert between kilograms, pounds, ounces, grams, stones, and tonnes β all major weight units.
- Temperature ConverterConvert between Celsius, Fahrenheit, and Kelvin β cooking, weather, and science temperatures.
- Volume ConverterConvert between litres, gallons, millilitres, cups, pints, quarts, cubic metres, and fluid ounces.
- Speed ConverterConvert between km/h, mph, m/s, knots, and Mach β running, driving, aviation, and science speeds.
How It Works
All conversion math runs directly in your browser using a hand-written two-step algorithm β no library, no server call. Each of the 18 unit categories defines a base unit (metres for length, pascals for pressure, watts for power, etc.), and every other unit in that category stores two plain JavaScript functions: one to convert into the base, one to convert out of it.
- 1Pick a category and unitsChoosing a category (length, temperature, energy, capacitance, and 14 others) loads that category's hardcoded unit table. Each unit entry carries a symbol, a display label, and two arithmetic functions β toBase and fromBase β baked directly into the source.
- 2Two-step base-unit pivotWhen you type a value, the converter calls fromUnit.toBase(value) to reach the category's canonical base (e.g. metres, joules, amperes), then immediately calls toUnit.fromBase(baseValue) to arrive at the target unit. This single pivot works for any pair without storing an O(nΒ²) table of direct ratios.
- 3Result formatted to selectable precisionThe raw floating-point result is formatted with toPrecision(sig) where sig is 2, 4, 6, or 8 significant figures β your choice. Very large or very small results (outside 1e-10 to 1e15) switch automatically to exponential notation. An 'all conversions' grid simultaneously shows the input value converted into every unit in the category.
- 4Conversion persisted and shareable via URLYour current category, units, and value are written into the URL fragment (e.g. #cat=length&from=km&to=mi&v=42) with a 300 ms debounce, so any conversion can be bookmarked or shared as a direct link without the value ever reaching a server. The last eight conversions are also saved to localStorage and appear as one-click history chips.
Related Tools
Cooking Measurement Converter
Convert cooking measurements between cups, grams, ounces, tablespoons, and millilitres using real ingredient densities, plus oven temperature in Β°F, Β°C, and gas marks.
Pixel to REM Converter
Convert between px, rem, em, pt, vw, vh, and % with a configurable base font size. Includes a reference table for common pixel sizes.
BMI Calculator
Calculate your Body Mass Index in metric or imperial units. See your BMI category, healthy weight range, and where you fall on the scale.