๐Ÿ’ฐ Financial Calculators โค๏ธ Health & Fitness Calculators ๐Ÿ“ Math Calculators ๐Ÿ”„ Conversion Calculators ๐Ÿ“Š Business Calculators ๐Ÿ—๏ธ Construction Calculators ๐Ÿ“… Date & Time Calculators ๐ŸŽ“ Education Calculators ๐Ÿš— Automotive Calculators ๐Ÿงฎ Everyday Calculators

Hexadecimal Calculator Online

Perform hexadecimal arithmetic (add, subtract, multiply, divide) and see results in hex, decimal, binary, and octal. Extended calculator adds bitwise operations and a colour converter. Professional mode supports 8/16/32/64-bit programmer mode with two's complement.

โšก Quick Calculator Get a fast estimate
0x
0x
0xFF + 0x1A
0x119
HEX (16)
119
DEC (10)
281
BIN (2)
100011001
OCT (8)
431
0xFF (255) + 0x1A (26) = 281
Value A
HEX (16)
FF
DEC (10)
255
BIN (2)
11111111
OCT (8)
377

How to Use the Hex Calculator

Type your hexadecimal values (digits 0โ€“9 and letters Aโ€“F) in the input fields. Non-hex characters are automatically filtered. Select an operation (+, โˆ’, ร—, รท) and see the result instantly in hex, decimal, binary, and octal.

The Extended Calculator below adds bitwise operations (AND, OR, XOR, NOT, shift left/right) and a hex colour converter. The Professional Calculator is a full programmer's calculator with 8/16/32/64-bit modes, two's complement, byte grouping, and history.

Need more detail?
๐Ÿ“Š Extended Calculator More options, charts, and scenario comparison
0x
0x
0xFF AND 0x0F
0x0F
Result in all bases
HEX
0x0F
DEC
15
BIN
1111
OCT
017
Quick Reference: Bitwise Truth Table
ABANDORXOR
00000
01011
10011
11110

Hexadecimal Quick Reference

HexDecimalBinaryOctal
0000000
99100111
A10101012
F15111117
FF25511111111377
100256100000000400
FFFF65,5351111111111111111177777
FFFFFF16,777,21524 ones77777777

Hex to Decimal Conversion Method

Hex to Decimal: ฮฃ (digit ร— 16^position) Position starts at 0 from the right. Example: 0x1A3 1 ร— 16ยฒ = 1 ร— 256 = 256 A ร— 16ยน = 10 ร— 16 = 160 3 ร— 16โฐ = 3 ร— 1 = 3 Total = 419 Decimal to Hex: Repeatedly divide by 16, collect remainders 419 รท 16 = 26 rem 3 โ†’ 3 26 รท 16 = 1 rem 10 โ†’ A 1 รท 16 = 0 rem 1 โ†’ 1 Read remainders upward: 0x1A3

Common Hex Values in Programming

Hex ValueDecimalUse Case
0x000Null byte, false, off
0x0F15Lower nibble mask
0xF0240Upper nibble mask
0xFF255Max byte, all bits set
0x7F127Max signed 8-bit value
0x80128Sign bit in 8-bit signed
0xFFFF65535Max unsigned 16-bit
0xDEAD57005Classic debug marker
Need full precision?
๐Ÿ”ฌ Professional Calculator Complete parameters, sensitivity analysis, and detailed breakdown

Programmer's Calculator

0x
0x
Arithmetic
Bitwise
0xFF + 0x01
0x00
Overflow โ€” result truncated to 8-bit
HEX
0x00
DEC
0
BIN
00000000
OCT
00
Byte Grouping (8-bit)
0x 00

Frequently Asked Questions

Hexadecimal (base 16) uses digits 0โ€“9 and Aโ€“F. One hex digit = 4 bits; two hex digits = 1 byte (0โ€“255). It is used in programming, CSS colours, memory addresses, MAC addresses, and everywhere compact binary representation is needed.
Multiply each digit by 16^position (right to left, starting at 0): 0xFF = (15ร—16) + (15ร—1) = 240 + 15 = 255. 0x1A3 = (1ร—256) + (10ร—16) + (3ร—1) = 256 + 160 + 3 = 419. Use the calculator above for instant conversion.
Bitwise operations act on individual bits: AND (both must be 1), OR (either is 1), XOR (exactly one is 1). Example: 0xFF AND 0x0F = 0x0F (bit masking). Used to set, clear, or toggle individual flags in embedded systems and networking.
Two's complement represents negative integers: flip all bits, then add 1. In 8-bit signed: โˆ’1 = 0xFF, โˆ’128 = 0x80, +127 = 0x7F. The Professional Calculator above shows two's complement interpretation for 8/16/32/64-bit values in signed mode.
CSS hex colours use #RRGGBB: each pair is a byte (00โ€“FF) for red, green, blue. #FF0000 = red, #00FF00 = green, #FFFFFF = white, #000000 = black. Our Colour Converter in the Extended Calculator converts hex โ†” RGB โ†” HSL with a live preview.

Related Calculators