Arbitrary Radix Conversion

Online arbitrary radix conversion, supporting mutual conversion between binary, octal, decimal, and hexadecimal.

Green Tool
Binary--
Octal--
Decimal--
Hexadecimal--

Related Tools

Tool Introduction

This tool provides online arbitrary radix conversion, which can convert input binary, octal, decimal, or hexadecimal numbers to other radices. Users can quickly obtain corresponding binary, octal, decimal, and hexadecimal results by selecting the input radix and entering a number, suitable for programmers, students, and various people who need radix conversion.

How to Use

  1. Select Radix: In the "Radix" dropdown list, select the current radix of the number you want to convert.
  2. Enter Content: Enter the number to be converted in the "Content" input box. Ensure that the entered number conforms to the rules of the selected radix (for example, binary can only contain 0 and 1).
  3. View Results: The conversion results will be displayed in a table, including the binary, octal, decimal, and hexadecimal conversion results.

Input Parameters:

  • Radix: Select the radix of the input number, which can be binary (2), octal (8), decimal (10), or hexadecimal (16).
  • Content: The number to be converted. Must be a number and conform to the specifications of the selected radix.

Output Results:

The results are displayed in a table, including the binary, octal, decimal, and hexadecimal representations corresponding to the input number.

Usage Example

Example 1: Convert decimal number 10 to other radices

  • Input Data:
    • Radix: Decimal (10)
    • Content: 10
  • Expected Output Results:
    • Binary: 1010
    • Octal: 12
    • Decimal: 10
    • Hexadecimal: A
  • Operation Demonstration: Select "Decimal", enter "10", and you will see the corresponding binary, octal, and hexadecimal results.

Frequently Asked Questions

  • Q: What input formats are supported?
  • A: Supports binary (0 and 1), octal (0-7), decimal (0-9), and hexadecimal (0-9 and A-F) numbers.
  • Q: What is the format of the output results?
  • A: The output results are displayed in a table, including the binary, octal, decimal, and hexadecimal representations corresponding to the input number.
  • Q: Are there any usage restrictions?
  • A: Currently, the tool only supports integer radix conversion, not decimals or negative numbers.

Notes

  • Please ensure that the entered number conforms to the specifications of the selected radix, otherwise it may lead to conversion errors.
  • Hexadecimal numbers use uppercase letters A-F to represent 10-15.

Rating

10 / 5

1 ratings

Statistics

Views: 2830

Uses: 10136