Back to Number Base Converter

How to Use: Number Base Converter

Open the app

Number Base Converter rewrites a number from one base (radix) to another and shows the two steps of the method: first to decimal, then to the target base.

Number Base Converter converting 255.625 from decimal to binary
255.625 in decimal is 11111111.101 in binary

How to convert

  1. Type the number in From. Use digits 0–9 and letters A–Z for digit values 10–35 (upper or lower case). A point separates a fractional part, e.g. 1011.101 or FF.A.
  2. Choose its base: 2 (bin), 8 (oct), 10 (dec), 16 (hex) and other buttons, or type any base 2–36 in Other base. Digits not allowed in that base are reported.
  3. Choose the target base under To the same way. ⇅ Swap bases exchanges the two.
  4. Read the result with its base as a subscript. Copy copies it.
  5. Look at the table “The same number in other bases” for binary, octal, decimal, duodecimal, hexadecimal and base 36 together.
  6. Follow the steps: Step 1 writes the positional values; Step 2 shows repeated division for the whole part and repeated multiplication for the fraction.
Step tables of the conversion
Steps 1 and 2 of the conversion
Tip: the Quick conversions buttons set the usual pairs (dec→bin, bin→dec, dec→hex, hex→bin …) in one click.
Note: a fraction that terminates in one base may repeat in another (0.1₁₀ = 0.000110011…₂). The app shows up to 20 fractional digits and ends a cut-off result with “…”.