Hex Calculator

58 / 100 SEO Score
Hex Calculator - Hexadecimal Operations & Conversions

Hexadecimal Calculation Tools

Use these calculators to perform hexadecimal operations and conversions between hexadecimal and decimal values.

Advertisement Space

Hexadecimal Operations

8AB + B78 = ?

Hexadecimal to Decimal

DAD (hex) = ? (decimal)

Decimal to Hexadecimal

170 (decimal) = ? (hex)

Advertisement Space

Understanding Hexadecimal System

What is the Hexadecimal System?

The hexadecimal number system (hex) functions virtually identically to the decimal and binary systems. Instead of using a base of 10 or 2 respectively, it uses a base of 16. Hex uses 16 digits including 0-9, just as the decimal system does, but also uses the letters A, B, C, D, E, and F (equivalent to a, b, c, d, e, f) to represent the numbers 10-15.

Every hex digit represents 4 binary digits, called nibbles, which makes representing large binary numbers simpler. For example, the binary value of 1010101010 can be represented as 2AA in hex. This helps computers to compress large binary values in a manner that can be easily converted between the two systems.

Hex/Decimal Conversion Table

Hex Decimal Hex Decimal
0 0 8 8
1 1 9 9
2 2 A 10
3 3 B 11
4 4 C 12
5 5 D 13
6 6 E 14
7 7 F 15

How Hexadecimal Conversion Works

Converting between decimal and hex involves understanding the place values of the different number systems. The hexadecimal system uses base 16, which means each digit represents a power of 16.

Example: Convert 2AA hex to decimal

2AA = (2 × 16²) + (A × 16¹) + (A × 16⁰)

= (2 × 256) + (10 × 16) + (10 × 1)

= 512 + 160 + 10 = 682

To convert decimal to hex:

  1. Find the largest power of 16 that is less than or equal to the number
  2. Divide the number by this power of 16 to get the quotient
  3. Multiply the quotient by the power of 16 and subtract from the number
  4. Repeat with the remainder until the result is 0
  5. The hex number is the sequence of quotients written from left to right

Hexadecimal Addition

Hex addition follows the same rules as decimal addition with the only difference being the added numerals A through F.

Example: 8AB + B78

B (11) + 8 = 19 (13 in hex, carry 1)

A (10) + 7 + 1 (carry) = 18 (12 in hex, carry 1)

8 + B (11) + 1 (carry) = 20 (14 in hex)

Result: 1423

Advertisement Space

© 2023 Hex Calculator | All Rights Reserved

Scroll to Top