Decimal → Hexadecimal

Convert decimal integers to hexadecimal (base 16) with step-by-step base 16 divisions.

n_{10} = h_k h_{k-1} \dots h_1 h_0 \text{ where } h_i \in \{0-9, A-F\}
Result

Step-by-Step Calculation & Explanation

Convert decimal to hexadecimal by repeatedly dividing by 16 and recording the remainders. Remainders from 10 to 15 are mapped to letters A through F.