Convert between binary, decimal, hex, octal, and any base (2-36). IEEE 754 viewer, bitwise operations, two's complement, and binary arithmetic.
Base 2-36IEEE 754Bitwise OpsTwo's Complement
Number Base Converter
ASCII Character
Step-by-Step Explanation
Two's Complement
IEEE 754 Floating Point
Bitwise Operations
Binary Arithmetic
Number Base Reference
Base
Digits
Use
Binary (2)
0-1
Hardware, logic
Octal (8)
0-7
Unix permissions
Decimal (10)
0-9
Everyday math
Hex (16)
0-F
Colors, memory
Base 36
0-Z
Short URLs, IDs
Bit Size Ranges
Bits
Unsigned Max
Signed Range
8-bit
255
-128 to 127
16-bit
65,535
-32,768 to 32,767
32-bit
4,294,967,295
-2.1B to 2.1B
64-bit
1.8 x 10^19
-9.2E18 to 9.2E18
Quick Tips
Each hex digit = 4 binary bits
Each octal digit = 3 binary bits
Prefix 0b (binary), 0x (hex), 0o (octal) in most languages
Two's complement flips bits and adds 1
Frequently Asked Questions
What number bases does this converter support?
This converter supports binary (base 2), octal (base 8), decimal (base 10), hexadecimal (base 16), and any custom base from 2 to 36. Bases above 10 use letters A-Z as additional digits.
What is IEEE 754 floating point representation?
IEEE 754 is the standard for representing decimal numbers in binary. A 32-bit float uses 1 sign bit, 8 exponent bits, and 23 mantissa bits. A 64-bit double uses 1 sign bit, 11 exponent bits, and 52 mantissa bits. This tool shows both with color-coded segments.
What is two's complement and why is it important?
Two's complement is how computers represent negative integers in binary. The most significant bit indicates the sign. This converter shows 8-bit, 16-bit, and 32-bit two's complement for negative numbers, helping developers understand how signed integers are stored in memory.
What bitwise operations are available?
The tool supports AND, OR, XOR, NOT, left shift, and right shift operations. Enter two numbers, and see the result of each operation in both decimal and binary. Useful for low-level programming, networking, and embedded systems.
Can I convert fractional numbers between bases?
Yes. Enter a fractional number like 10.625 in decimal and see its representation in binary, octal, hex, and any custom base. The converter handles up to 10 fractional digits for precision.