64-Bit Programmer Calculator

Convert between hexadecimal, decimal, octal, and binary with synchronized inputs. 64 clickable bit toggles for direct bit manipulation. Supports bitwise operations and two's complement arithmetic.

textHEXleftrightarrowtextDECleftrightarrowtextOCTleftrightarrowtextBINquad∣quadtextAND,OR,XOR,NOT,SHL,SHR,SAR\\text{HEX} \\leftrightarrow \\text{DEC} \\leftrightarrow \\text{OCT} \\leftrightarrow \\text{BIN} \\quad | \\quad \\text{AND, OR, XOR, NOT, SHL, SHR, SAR}

64-Bit Programmer Calculator

Synchronized HEX, DEC, OCT, BIN with 64 clickable bit toggles.

Bit Toggles (63 → 0)Signed: 0Unsigned: 0
56-6348-5540-4732-3924-3116-238-150-7

Bitwise Operations

Bitwise Operations

AND ( & )

1 & 1 = 1, else 0 — masks bits

OR ( | )

0 | 0 = 0, else 1 — sets bits

XOR ( ^ )

Bits differ = 1, same = 0 — toggles

NOT ( ~ )

Flips all bits — one's complement

SHL ( \u00AB )

Shift left — multiplies by 2ⁿ

SHR/SAR

Logical/Arithmetic right shift

Frequently Asked Questions

How many bits are supported?
64 bits (bits 63 down to 0). All bases show the full 64-bit representation.
What is two's complement?
For signed integers, negative numbers are represented as ~x + 1. The calculator shows both signed and unsigned interpretations.
What's the difference between SHR and SAR?
SHR (logical) fills with 0s. SAR (arithmetic) preserves the sign bit for signed division by powers of 2.

Related Calculators