Advertisement
top slot

Developer Calculator

Hex, dec, oct, bin + bitwise ops

Calculators

Developer Calculator

Hex, dec, oct, bin + bitwise ops

Advertisement
top slot
ASCII

About this tool

A programmer's calculator that lets you switch instantly between hexadecimal, decimal, octal and binary, and apply both arithmetic and bitwise operations. The display shows the same value in all four bases at once — click any of them to copy. All operations use 64-bit unsigned arithmetic, with NOT and shift-left masked to 64 bits so the result wraps cleanly.
Advertisement
in-content slot

Formula

Bases supported: HEX (0–F) · DEC (0–9) · OCT (0–7) · BIN (0–1)
Bitwise operators: AND (&) · OR (|) · XOR (^) · NOT (~) · SHL («) · SHR (»)
Arithmetic: + − × ÷ mod (%)

How to use

  1. 1 Pick a base (HEX / DEC / OCT / BIN) — the keypad enables only valid digits.
  2. 2 Type a number. Hex digits A–F appear as buttons in HEX mode.
  3. 3 Tap an operator (arithmetic or bitwise) to apply it between two values.
  4. 4 Tap = to compute. The result shows simultaneously in all four bases.
  5. 5 Click any of the four base displays to copy that representation to your clipboard.

Examples

255 (DEC) → HEX FF · 0o377 · 0b11111111
0xFF AND 0x0F 0F (HEX) · 15 (DEC)
1010 (BIN) XOR 0110 1100 · 12 (DEC) · C (HEX)
1 SHL 8 256 (DEC) · 100 (HEX) · 0b100000000
NOT 0 FFFFFFFFFFFFFFFF (HEX) — 64-bit max

Frequently asked questions

NOT and shift-left are masked to 64 bits, so the result is always a non-negative integer in the 0…2⁶⁴−1 range. Other operations use arbitrary-precision BigInt arithmetic, so they will not overflow even for very large values.
Digits that are not valid in the current base are greyed out. For example, in BIN mode only 0 and 1 are enabled; in OCT mode 8 and 9 are disabled; A–F are only enabled in HEX.
Yes — use the +/− key to flip the sign for arithmetic. For two’s-complement bit manipulation, prefer using the explicit hex/binary representation and apply NOT or AND with a mask.
Not yet — the developer calculator does not sync state to the URL. Use the four-line display to copy any base format you need.
Operations use JavaScript BigInt, so values are exact for any integer that fits in 64 bits and beyond. Division is integer division (no fractions); use the basic calculator for floating-point arithmetic.

Related tools

Embed this tool on your site

Drop a one-line iframe snippet into any blog, lesson plan, or knowledge base. Powered-by-Toolenza link included.

Embed this tool

Paste this snippet into any HTML page. The tool runs entirely in your reader's browser.

Advertisement
bottom slot
Sticky ad — mobile-sticky

Developer Calculator

No reviews yet — be the first to share your thoughts.

Your rating
  1. No reviews yet — be the first to share your thoughts.
Powered by Codenzia
Sticky ad — mobile-sticky
↑↓ navigate open
Toolenza Brain
Tip: describe a result you want, not a tool. The Brain picks for you.
⌘⇧K to open · esc to close
Thanks! We read every message.