Duodecimal (Base 12) to Hexadecimal (Base 16) Converter

Convert duodecimal numbers to hexadecimal.

FF

193 (base 12) = FF (base 16)

Digits in base 12: 0 to 9 and A to B. Digits in base 16: 0 to 9 and A to F.

How to convert Duodecimal to Hexadecimal

Every positional number system works the same way: a digit is worth its own value times the base raised to the power of its position. In base 12 the place values, from the right, are 120 = 1, 121 = 12, 122 = 144 and so on.

Most pairs have no direct trick, so go through decimal, the base we all calculate in. First turn the base 12 number into decimal, then divide by 16 and read the remainders from the bottom up. Two short steps, and you can check the number in the middle.

The method

decimal value = each digit × its place value, all added upplace values in base 12: 1, 12, 144, 1728, 20736, and so ondivide by 16, keep the remainder, repeat until the quotient is 0the answer is the remainders read from last to firstdigits in base 12: 0 to 9 and A to Bdigits in base 16: 0 to 9 and A to F

Worked example 1: 39 from duodecimal to hexadecimal

Step 1: base 12 to decimal39 (base 12) = 3 × 121 + 9 × 120= 36 + 9= 45Step 2: decimal to base 1645 ÷ 16 = 2 remainder 13 (D)2 ÷ 16 = 0 remainder 2Read the remainders from the bottom up: 2D39 (base 12) = 2D (base 16)

Letters stand for values from 10 up: A = 10, B = 11, C = 12 and so on. Remainders come out last digit first, which is why you read them from the bottom up. Digits that are 0 add nothing to the sum, so they are left out of the expansion.

Worked example 2: 193 from duodecimal to hexadecimal

Step 1: base 12 to decimal193 (base 12) = 1 × 122 + 9 × 121 + 3 × 120= 144 + 108 + 3= 255Step 2: decimal to base 16255 ÷ 16 = 15 remainder 15 (F)15 ÷ 16 = 0 remainder 15 (F)Read the remainders from the bottom up: FF193 (base 12) = FF (base 16)

Worked example 3: 6B4 from duodecimal to hexadecimal

Step 1: base 12 to decimal6B4 (base 12) = 6 × 122 + 11 × 121 + 4 × 120= 864 + 132 + 4= 1,000Step 2: decimal to base 161,000 ÷ 16 = 62 remainder 862 ÷ 16 = 3 remainder 14 (E)3 ÷ 16 = 0 remainder 3Read the remainders from the bottom up: 3E86B4 (base 12) = 3E8 (base 16)

Need the other direction? Open the Hexadecimal to Duodecimal converter.

Duodecimal to Hexadecimal examples

The decimal number 255 is written 193 in duodecimal and FF in hexadecimal.

Common Duodecimal to Hexadecimal values
DuodecimalHexadecimalDecimal
111
222
777
888
AA10
13F15
141016
282032
544064
8464100
193FF255
6B43E81000

Where Duodecimal to Hexadecimal comes up

Duodecimal (base 12) uses 0 to 9 plus A for ten and B for eleven. Twelve divides evenly by 2, 3, 4 and 6. That is why dozens, the 12-hour clock, twelve inches to a foot and twelve months feel natural. A few mathematicians even argue it is a better base than ten.

Hexadecimal (base 16) uses 0 to 9 and A to F, and each hex digit stands for exactly four bits, so one byte is always two hex digits. You see it in web colours like #FF8800, memory addresses, MAC addresses, hash values and byte dumps.

Going to a larger base packs more value into each digit, so the result is shorter. The number 255 needs 3 digits in duodecimal and 2 in hexadecimal.

Duodecimal to Hexadecimal FAQ

How do I convert duodecimal to hexadecimal?

Convert to decimal first by adding up each digit times its place value, then divide that decimal number by 16 repeatedly and read the remainders from last to first.

Which digits does duodecimal use?

Base 12 uses the digits 0 to 9 and A to B. For example, C is not a valid digit in base 12. Letters are not case sensitive on this converter, and results are shown in capitals.

Will the hexadecimal number be longer or shorter?

Shorter. Going to a larger base packs more value into each digit, so the result is shorter. Roughly 0.9 hexadecimal digits for every duodecimal digit. The number 255 needs 3 digits in duodecimal and 2 in hexadecimal.

What is 193 in hexadecimal?

193 in duodecimal is FF in hexadecimal. Both are the decimal number 255.

Can I convert negative numbers or fractions?

The converter handles whole numbers, and a leading minus sign works for negatives. Fractions use a different method, where you repeatedly multiply the fractional part by the new base, and they are not supported here.