Hex Calculator

It supports hex addition, subtraction, multiplication, division, hex to decimal, decimal to hex, and hex to binary conversions.

Hexadecimal Calculator

= ?

Hexadecimal to Decimal

Hexadecimal: = ?

Decimal to Hexadecimal

Decimal: = ?

Hexadecimal to Binary

Hexadecimal: = ?

Hex/Decimal/Binary Conversion

Hex0123456789ABCDEF10
Decimal012345678910111213141516
Binary00000001001000111000101011001111000100110101011110011011110111110000

Hex Addition Method

Add each pair of hexadecimal digits from right to left. If the sum is 16 or more, carry 1 to the next column, just like decimal addition.

Example: 9DA + C12 = 15EC

Hex Addition Example

Hex Subtraction Method

Subtract each digit from right to left. If a digit in the top number is smaller than the digit below it, borrow 1 from the next column, which equals 16 in hexadecimal.

Example: C12 - 9DA = 238

Hex Subtraction Example

Hex Multiplication Method

Multiply each digit of the bottom number by the top number, starting from the rightmost digit. Shift each partial product one position to the left for each new digit, then add the partial products together.

Example: 9DA × C12 = 76E954

Hex Multiplication Example

Hex Division Method

Divide the hexadecimal dividend by the hexadecimal divisor using long division in base 16. The quotient and remainder are shown after each step.

Example: 9DAF8 ÷ C1 = D12 Remainder: 66

Hex Division Example

Hexadecimal to Decimal Conversion Formula

Decimal value = Σ (hex digit × 16position)

Example: CBA

CBA = (12 × 162) + (11 × 161) + (10 × 160) = 3258

Hexadecimal to Decimal Conversion Example

Decimal to Hexadecimal Conversion Method

Divide the decimal number by 16 repeatedly. Record the remainder each time. Convert any remainder from 10 to 15 into A to F. Read the remainders in reverse order to get the hexadecimal result.

Example: 280

280 ÷ 16 = 17 remainder 8
17 ÷ 16 = 1 remainder 1
1 ÷ 16 = 0 remainder 1
Therefore, 28010 = 11816

Decimal to Hexadecimal Conversion Example

Hexadecimal to Binary Conversion Formula

Each hexadecimal digit corresponds to 4 binary bits.

Example: A12

A = 1010, 1 = 0001, 2 = 0010
So, A1216 = 1010000100102

Hexadecimal to Binary Conversion Example

Hexadecimal Multiplication Table

x123456789ABCDEF10
1123456789ABCDEF10
22468ACE10121416181A1C1E20
3369CF1215181B1E2124272A2D30
448C1014181C2024282C3034383C40
55AF14191E23282D32373C41464B50
66C12181E242A30363C42484E545A60
77E151C232A31383F464D545B626970
88101820283038404850586068707880
99121B242D363F48515A636C757E8790
AA141E28323C46505A646E78828C96A0
BB16212C37424D58636E79848F9AA5B0
CC1824303C4854606C7884909CA8B4C0
DD1A2734414E5B6875828F9CA9B6C3D0
EE1C2A38465462707E8C9AA8B6C4D2E0
FF1E2D3C4B5A69788796A5B4C3D2E1F0
10102030405060708090A0B0C0D0E0F0100

Reference

Write Reply to This Calculator

Leave a Reply

Your email address will not be published. Required fields are marked *

^