08 Tech Group
Kembali ke pusat

Hex Kalkulator

Matematika
ResultFF

Hex Kalkulator

Hexadecimal (base 16) compactly represents binary nibbles and appears in memory addresses, color codes (#RRGGBB), and MAC addresses. This Hex Kalkulator converts between hex and decimal and supports hex addition — streamlining debugging, web design, and low-level programming tasks without manual digit tables.

Cara menggunakan

  1. Enter a hex value (0–9, A–F) to convert to decimal.
  2. Enter decimal to obtain hex with optional uppercase formatting.
  3. Add two hex numbers with carry at 16.
  4. Prefix with 0x optionally for C-style literals.
  5. Verify nibble alignment when working with bytes (two hex digits).

Matematika / Logika di baliknya

Each hex digit represents four binary bits. Decimal value = Σ digit × 16^position. Digits A–F represent 10–15.

Contoh nyata

  • 0xFF = 255 decimal (full byte).
  • 0x2A = 42 decimal.
  • Color #1E90FF uses three byte-wide hex pairs for RGB.

FAQ

Is hex case sensitive?

A–F and a–f are equivalent; style guides differ on uppercase for readability.

How do negative hex numbers work?

In fixed-width two's complement, 0xFFFFFFFF may represent −1 in 32-bit signed int.

Can I multiply hex numbers?

Multiplication converts to decimal or applies hex long multiplication; addition and conversion cover most quick tasks.

Bagikan alat
Hex Kalkulator — Hexadecimal Converter & Math | 08 Tech Group