Base

Base Converter

Base Converter

Use this tool to convert numbers between different numerical bases, including binary, octal, decimal, hexadecimal, and more. Perfect for programming, math, and digital systems work.

Please enter a valid number for the selected base

About Number Bases

Binary (Base 2) - Uses only 0 and 1. It's the fundamental language of computers and digital systems.
Octal (Base 8) - Uses digits 0-7. Historically used in computing to represent binary in a more compact form.
Decimal (Base 10) - Our standard number system using digits 0-9. The most familiar system for everyday use.
Hexadecimal (Base 16) - Uses digits 0-9 and letters A-F (where A=10, B=11, ..., F=15). Commonly used in programming for memory addresses, color values, and to represent binary more compactly.
Custom Bases - This converter supports any base from 2 to 36, using digits 0-9 and letters A-Z to represent higher digit values.
Fractional Values - Use a period (.) to separate the integer part from the fractional part. For example: "10.5" in decimal or "1010.1" in binary.
Negative Values - Use a minus sign (-) before the number to represent negative values.

Common Base Conversion Table

Decimal (Base 10) Binary (Base 2) Octal (Base 8) Hexadecimal (Base 16)
0 0 0 0
1 1 1 1
2 10 2 2
8 1000 10 8
10 1010 12 A
15 1111 17 F
16 10000 20 10
64 1000000 100 40
100 1100100 144 64
255 11111111 377 FF
256 100000000 400 100