Unit & Currency Converter

The converted result will appear here...

How to use the Unit and Currency Converter

Convert values between units in eight categories: Length, Weight, Storage, Temperature, Font Size, Currency, Color and Number Base. Unit conversions run in your browser. Currency uses live exchange rates that are downloaded when you use that category.

Step by step

  1. Choose a category at the top, for example Length or Currency.
  2. Enter the Value you want to convert.
  3. Select the unit to convert From and the unit to convert To. Click the swap button between them to reverse the two units.
  4. Click Convert. The converted value appears in the Result box.
  5. Click Copy to copy the result, or Clear to start over.

Tips

  • For Font Size, a Base font size (px) field lets you set what 1rem or 1em equals, which is usually 16px.
  • For Color, convert between HEX, RGB and HSL by typing the color in the format of the From unit, for example #FF5733.
  • Number Base converts between decimal, binary, octal and hexadecimal. Storage uses 1024 for each step, so 1 KB is 1,024 bytes.
  • Currency rates are fetched online, so this category needs an internet connection and the rates are for guidance only. Check with your bank or provider before making a payment.

Good to know

Units look simple but hide a few traps. Computer storage uses two systems: decimal prefixes (1 KB = 1,000 bytes, 1 GB = 1,000,000,000 bytes) and binary prefixes (1 KiB = 1,024 bytes, 1 GiB = 1,073,741,824 bytes). Many operating systems show binary sizes with decimal labels, which is why a "500 GB" drive shows less space.

Web developers often convert between pixels and rem. With the default root size of 16 px, 1 rem equals 16 px. Number bases are also common: the binary number 1010 equals 10 in decimal and A in hexadecimal.

When to use it

  • Converting font sizes (px to rem) and colors (HEX to RGB) while styling a page.
  • Translating between binary, decimal and hexadecimal numbers.
  • Quick length, weight, storage and temperature conversions, and checking the rough value of a currency.

Example: Quick conversions

Input

24 px at a 16 px base,  100 °C,  binary 1010

Result

24 px = 1.5 rem,  100 °C = 212 °F,  1010 (binary) = 10 (decimal)

Common mistakes

  • Treating displayed currency rates as exact. Live rates change constantly and are only indicative. Banks and payment services use their own rates and fees.
  • Using the wrong base font size for px to rem. Check what your root font size really is.
  • Confusing KB with KiB, or bits with bytes (a byte is 8 bits, and network speeds are quoted in bits).

Frequently asked questions

Which kinds of conversion are available?
Length, Weight, Storage, Temperature, Font Size (px, rem, em and percent), Currency, Color (HEX, RGB, HSL) and Number Base (decimal, binary, octal, hexadecimal).
Does it need an internet connection?
Only the Currency category does. Exchange rates are fetched from the free open.er-api.com service, which updates about once a day, and the time of the last update is shown. Every other conversion is calculated in your browser.
How accurate are the currency rates?
They are reference rates and can differ from what a bank or card provider uses, so check with your provider before making a payment.
How are results rounded?
Numeric results are rounded to at most 6 decimal places, and unnecessary trailing zeros are removed.
How is px converted to rem?
The pixel value is divided by the base font size, which you can change in the Base font size field. 16 px is the common default.
Is 1 KB equal to 1,000 or 1,024 bytes?
The Storage category uses 1,024 for each step, so 1 KB is 1,024 bytes and 1 MB is 1,024 KB.

Related searches: px to rem converter with base font size · binary to decimal converter · bytes to mb gb converter · celsius to fahrenheit converter

Tìm kiếm liên quan: đổi nhị phân sang thập phân online · đổi tỷ giá usd sang vnd · đổi đơn vị độ dài khối lượng nhiệt độ · đổi dung lượng byte kb mb gb