Unit Converter
Fast, accurate unit conversions across common categories
Converter
Result
Favorites
No favorites yetHistory
Custom Units for Length
Import / Export
About Unit Converter
The Unit Converter is a comprehensive tool for converting between different units across multiple categories including length, area, volume, mass, temperature, time, speed, energy, power, data, and currency. It supports precise conversions, favorites, history tracking, custom units, and shareable links.
Basic Usage
Performing a Conversion
- Select a category (e.g., "Length") from the top tabs
- Enter a numeric value in the "Value" field
- Choose the "From" unit (e.g., "meters")
- Choose the "To" unit (e.g., "feet")
- View the result instantly in the output area
Example: Convert 100 meters to feet
Input: 100, From: meters, To: feet
Result: 328.084 feet
Swapping Units
Use the "Swap" button between the From and To selectors to quickly reverse the conversion direction.
Example: After converting meters to feet, click Swap to convert feet to meters.
Categories and Units
The converter supports the following categories:
- Length: millimeter, centimeter, meter, kilometer, inch, foot, yard, mile, etc.
- Area: square millimeter, square meter, hectare, acre, square foot, square mile, etc.
- Volume: milliliter, liter, cubic meter, cubic inch, cubic foot, gallon, quart, pint, etc.
- Mass: milligram, gram, kilogram, tonne, ounce, pound, stone, ton, etc.
- Temperature: Celsius, Fahrenheit, Kelvin (note: uses offset conversions)
- Time: nanosecond, microsecond, millisecond, second, minute, hour, day, week, month, year, etc.
- Speed: meter/second, kilometer/hour, mile/hour, foot/second, knot, etc.
- Energy: joule, kilojoule, calorie, kilocalorie, watt-hour, kilowatt-hour, BTU, etc.
- Power: watt, kilowatt, megawatt, horsepower, BTU/hour, etc.
- Data: bit, byte, kilobyte, megabyte, gigabyte, terabyte, petabyte, etc.
- Currency: USD, EUR, GBP, JPY, CAD, AUD, CHF, CNY, etc. (rates updated regularly)
Example conversions:
- Length: 5.5 yards = 5.029 meters
- Temperature: 20°C = 68°F
- Volume: 1 gallon = 3.785 liters
- Mass: 150 pounds = 68.039 kilograms
- Speed: 60 miles/hour = 96.561 kilometers/hour
- Data: 1 gigabyte = 8 gigabits
- Energy: 1000 calories = 4184 joules
Favorites
Save frequently used conversions for quick access.
Adding Favorites
- Set up your desired conversion (category, from unit, to unit)
- Click the "Favorite" button (it will turn yellow when favorited)
Using Favorites
- Look for favorited conversions in the Favorites section below
- Click any favorite button to instantly apply that conversion (switches category and units)
Example: Add "Length: meters → feet" to favorites, then later click it to quickly switch to that conversion.
History
The converter automatically tracks your recent conversions (last 50 entries).
- Each history entry shows: value, from unit, to unit, result, and timestamp
- Click any history item to reapply that exact conversion
- Use "Clear" button to remove all history
Example: Convert 100°C to °F, then later click the history entry to restore that conversion.
Settings
Precision
Control decimal places (0-12). Higher precision for scientific work, lower for clean display.
Example: Converting 1/3 meter to feet
Precision 2: 1.09 feet
Precision 6: 1.092913 feet
Rounding
Choose how to round results: Round (standard), Floor (always down), Ceil (always up).
Example: 1.9 meters to feet with precision 0
Round: 6 feet
Floor: 6 feet
Ceil: 7 feet
Conversion Table
View all conversions within the current category for your input value.
- Click "Show Table" to display a comprehensive table
- See your input value converted to every unit in the category
- Useful for comparing multiple units at once
Example: Enter 1000 in Length category, show table to see 1000 meters = 3280.84 feet = 1093.61 yards, etc.
Custom Units (Linear Categories)
For categories that support linear conversions (most except temperature), you can add custom units.
Adding Custom Units
- Select a linear category (e.g., Length, Mass)
- In the Custom Units section, enter:
- Name: Unit name (e.g., "Light Year")
- Symbol: Optional abbreviation (e.g., "ly")
- Factor: Conversion factor to base unit
- Click "Add Unit"
Example: Add light year to Length category
Name: Light Year, Symbol: ly, Factor: 9460730472580800 (meters in a light year)
Sharing and Copying
Shareable Links
Create links that open the converter with specific settings.
- Set up your desired conversion
- Click "Share Link"
- Copy and share the URL
Example: Share a link for converting kilometers to miles.
Copy Results
Copy the conversion result to clipboard.
- Perform a conversion
- Click "Copy" button
- Paste anywhere you need the result
Import/Export Settings
Save and restore your favorites, history, custom units, and settings.
Export
- Click "Export Settings"
- Download the JSON file containing all your data
Import
- Click "Import Settings"
- Select a previously exported JSON file
- Your settings will be restored
Use case: Backup your favorites before clearing browser data, or share settings with colleagues.
Advanced Examples
Scientific Calculations
- Set precision to 8-10 for high accuracy
- Use custom units for specialized measurements
- Example: Convert Planck length (1.616255×10^-35 meters) to nanometers
Cooking Conversions
- Volume: cups to milliliters
- Mass: ounces to grams
- Temperature: Fahrenheit to Celsius
- Example: Convert 2.5 cups flour to grams (density-dependent)
Travel Planning
- Distance: miles to kilometers
- Speed: mph to km/h
- Fuel: gallons to liters
- Currency: local to home currency
Data Storage
- Convert file sizes between bytes, KB, MB, GB, TB
- Example: 4GB USB drive = 4000 MB = 4,000,000 KB
Tips and Best Practices
- Use favorites for conversions you do regularly
- History helps recover accidentally changed conversions
- Temperature conversions are different (use offsets) - 0°C ≠ 0°F
- Currency rates are updated but may not be real-time
- Custom units persist across sessions
- Share links are great for tutorials or documentation
- Use high precision for intermediate calculations, round only for final display
- The table view is excellent for comparing units visually
