Number Base Converter
Free online Number Base Converter.
Calculator
How to Use
- Enter the required values
- Click Calculate to see the result
- Review the detailed output
Formula
Decimal to base B: repeatedly divide by B, collect remainders. Binary(2), Octal(8), Decimal(10), Hex(16). Each digit position = B^position value.
Example Calculations
Decimal to Binary
Input: Decimal: 42
Result: Binary: 101010
Hex to Decimal
Input: Hexadecimal: 0xFF
Result: Decimal: 255
Binary to Hex
Input: Binary: 11110000
Result: Hex: F0, Decimal: 240
About This Calculator
Free online number base converter. Calculate instantly in your browser with our easy-to-use tool. No sign-up required.
Our number base converter is free, easy to use, and provides instant results. All calculations are performed in your browser for privacy and speed.
Related Calculators
Frequently Asked Questions
What are number bases?
Binary (2): 0-1. Octal (8): 0-7. Decimal (10): 0-9. Hexadecimal (16): 0-9, A-F.
Binary to decimal?
Multiply each digit by 2^position, sum. 1011 = 8+0+2+1 = 11.
Why computers use binary?
Circuits have two states: on/off. Binary is reliable, simple in hardware, resistant to degradation.
Hex to decimal?
Multiply each digit by 16^position, sum. 0x1A3 = 256+160+3 = 419.
What is base64?
Encoding using 64 ASCII characters to represent binary data for text-based transmission.