Programmer Calculator

Hex, Decimal, Binary Converter with Bitboard.


HEX
DEC
OCT
BIN

Interactive Bitboard

Click bits to toggle (0/1)

Quick Reference
DecHexBin
000000
10A1010
15F1111
255FF1111 1111

How to Use

  1. Type Anywhere: Enter a number in any field (Decimal, Hex, Octal, or Binary). The other fields will convert instantly.
    Example: Type "15" in Decimal -> Watch it become "F" in Hex and "1111" in Binary.
  2. Use the Bitboard: The grid of boxes on the right represents the computer's "bits" (0s and 1s).
    Click any box to flip it ON (Blue/1) or OFF (Grey/0). This changes the number instantly.
  3. Settings:
    • Word Size: Limits the number size (8-bit = small numbers, 32-bit = large numbers).
    • Signed Mode: Turn this on if you want to work with Negative Numbers.

Understanding Number Systems

Computers run on binary (0s and 1s). This calculator helps you translate human numbers (Decimal) into computer language.

  • Decimal (Base 10): Our standard 0-9 system used in daily life.
  • Binary (Base 2): Uses only 0 and 1. Each digit is called a "bit". This is how computers store data.
  • Hexadecimal (Base 16): Uses 0-9 and A-F. It's a shortcut way to write Binary. (e.g., Binary 1111 is just Hex F).