Base Conversion Calculator
Convert numbers between binary, decimal, hexadecimal, and octal bases
Quick Examples:
Binary: 1010 = Decimal: 10
Decimal: 255 = Hex: FF
Hex: A5 = Binary: 10100101
Features
- •Convert between binary, decimal, hex, and octal
- •Step-by-step conversion process
- •Support for fractional numbers
- •Common base conversions
How to Use
- 1.Enter a number in any supported base
- 2.Select the input base (binary, decimal, etc.)
- 3.Choose the output base you want to convert to
- 4.View the result and conversion steps
Valid digits for base-10:
0123456789
Only numeric digits are used
Examples:
→One in base-10
→Largest single digit in base-10
→Negative number in base-10
Base Conversion Table
Base | Name | Value | With Prefix |
---|---|---|---|
2 | Binary | 1111 | 0b1111 |
8 | Octal | 17 | 0o17 |
10 | Decimal | 15 | 15 |
16 | Hexadecimal | F | 0xF |
Click any row to convert from decimal to that base
About Number Bases
Number bases are different ways of representing numbers. The most common are binary (base-2), used in computers; decimal (base-10), used in everyday life; and hexadecimal (base-16), often used in programming and digital systems.
Note: This calculator supports conversion between different number bases and provides detailed explanations of the conversion process.