Decimal til Hex
Konverter ethvert base 10-tal til hexadecimal øjeblikkeligt. Indtast en værdi og se konverteringen i realtid.
⚡ Hurtig konvertering
Ugyldige tegn for den valgte base
⚙️ Live konverteringsdiagram
🕑 Seneste konverteringer
Hvad er decimal til hexadecimal
At konvertere decimal til hexadecimal betyder at ændre et tal fra base 10-talsystemet til base 16. Decimalsystemet bruger ti cifre (0–9). Hexadecimalsystemet tilføjer seks symboler — hex-cifrene A–F.
Programmører foretrækker hexadecimal, fordi det passer perfekt til binære tal. Hvert hex-ciffer repræsenterer præcis fire binære bits.
🔄 Basesammenligning — Se ét tal i hver base
Decimalt talsystem
Decimalsystemet er base 10-talsystemet, du bruger dagligt. Hver cifferposition repræsenterer en potens af 10.
📊 Decimale pladsværdier — Interaktiv nedbrydning
Hexadecimalt talsystem
Hexadecimalsystemet er et base 16-talsystem. Det bruger seksten symboler: cifrene 0–9 og hex-cifrene A–F.
🔢 Hex-ciffer udforsker — Klik på et ciffer
Klik på et hex-ciffer ovenfor for detaljer
Sådan konverteres decimal til hexadecimal
Standardmetoden er den gentagne divisions- og restalgoritme. Tag heltallet, divider med 16 og noter resten.
For eksempel, konverter 255: divider 255 med 16, kvotient er 15 og rest er 15. Da 15 svarer til F, er hex-resultatet FF.
⚡ Prøv det — Interaktivt divisionsdiagram
Decimal til hexadecimal Formel
Formlen bruger gentagen division med basen (16).
Trin-for-trin konverteringsmetode
Brug visualizeren nedenfor for at se den gentagne divisions- og restalgoritme i aktion.
Indtast et decimaltal ovenfor og klik på "Visualiser"
for at se konverteringen animeret trin for trin.
All Conversion Tools
Instantly convert between number systems, encodings, and formats with interactive step-by-step breakdowns.
Decimal to Hexadecimal
Base 10 → Base 16
Try Now →Hexadecimal to Decimal
Base 16 → Base 10
Try Now →Decimal to Binary
Base 10 → Base 2
Try Now →Binary to Decimal
Base 2 → Base 10
Try Now →Decimal to Octal
Base 10 → Base 8
Try Now →Octal to Decimal
Base 8 → Base 10
Try Now →Octal to Hexadecimal
Base 8 → Base 16
Try Now →Hexadecimal to Octal
Base 16 → Base 8
Try Now →Octal to Binary
Base 8 → Base 2
Try Now →Binary to Octal
Base 2 → Base 8
Try Now →Hexadecimal to Binary
Base 16 → Base 2
Try Now →Binary to Hexadecimal
Base 2 → Base 16
Try Now →Decimal to BCD
Convert decimal numbers to Binary Coded Decimal (B...
Try Now →Decimal to 2's Complement
Convert decimal integers (including negatives) to ...
Try Now →Binary to ASCII
Convert binary numbers to ASCII text characters. D...
Try Now →Binary to Gray Code
Convert standard binary to Gray code (reflected bi...
Try Now →Hex to ASCII
Convert hexadecimal values to ASCII text. Decode h...
Try Now →Hex to RGB
Convert hex color codes to RGB values instantly. S...
Try Now →RGB to Hex
Convert RGB color values to hexadecimal color code...
Try Now →ASCII to Hex
Convert ASCII text to hexadecimal representation. ...
Try Now →Hex to Text
Convert hexadecimal strings to readable text. Deco...
Try Now →Decimal to Fraction
Convert decimal numbers to simplified fractions. S...
Try Now →Decimal to Percent
Convert decimal values to percentages instantly wi...
Try Now →Number Base Converter
Convert numbers between any bases (2-36). Universa...
Try Now →Hexadecimal Reference
Complete hexadecimal reference with conversion tab...
Try Now →Hex to Unicode
Convert hexadecimal code points to Unicode charact...
Try Now →ASCII to Binary
Convert ASCII text to binary representation. See e...
Try Now →