Base12 to Hex Converter
Convert a base12 (duodecimal) value — digits 0-9 plus A and B — into its hexadecimal equivalent.
How to Convert Base12 to Hex
Convert through decimal, the common ground for any two bases without a clean digit relationship. Multiply each base12 digit by 12 raised to its position (counting from 0 on the right) and add the results to get the decimal value, then convert that to hex.
Base12 to Hex Example, Step by Step
193 = FF
193 (base12) = 0xFF (hex)
193 (base12) = (1 x 12^2) + (9 x 12^1) + (3 x 12^0)
= 144 + 108 + 3 = 255
255 decimal = FF hex| Step | Description | Result |
|---|---|---|
| Convert digit 1 | 1 at the 12^2 place: 1 x 144 = 144 | 144 |
| Convert digit 9 | 9 at the 12^1 place: 9 x 12 = 108 | 108 |
| Convert digit 3 | 3 at the 12^0 place: 3 x 1 = 3 | 3 |
| Add and convert to hex | 144 + 108 + 3 = 255 decimal = FF hex | FF |
Common Mistakes When Converting Base12 to Hex
- Misreading A or B's value — A is 10, B is 11, not their hex-style meanings extended further.
- Using the wrong place-value base (16 instead of 12) when multiplying out digits.
- Forgetting the final conversion step from decimal back to hex.
Frequently Asked Questions
What is base12?
Also called duodecimal or dozenal, base12 is a positional numeral system using 12 digits: 0-9, then A (ten) and B (eleven). It divides evenly by 2, 3, 4, and 6, which dozenal advocates argue makes fractions cleaner than base10.
How do you convert base12 to hex?
Convert the base12 value to decimal first — multiply each digit by 12 raised to its position and sum the results — then convert that decimal value to hex normally.
What do A and B represent in base12?
A is 10 and B is 11 — the same idea as hex's A-F, just stopping two digits earlier since base12 only needs two letters beyond 0-9.
Who actually uses base12?
It's mostly a niche mathematical and historical interest — some clocks, measurement systems (12 inches per foot, 12 months), and dozenal-advocacy communities use or reference base12, but it's not common in mainstream computing.
Is base12 used in programming the way hex is?
No — hex is standard because it aligns with binary (16 = 2^4). Base12 doesn't have a clean relationship with binary, so it isn't used for representing computer data.
Can this handle large base12 values?
Yes — the underlying engine uses arbitrary-precision arithmetic, so large base12 inputs still convert accurately.