Decimal till Hex
Konvertera valfritt bas 10-tal till hexadecimal direkt. Skriv in ett värde och se konverteringen i realtid.
⚡ Snabb konvertering
Ogiltiga tecken för vald bas
⚙️ Livekonverteringsdiagram
🕑 Senaste konverteringar
Vad är decimal till hexadecimal
Att konvertera decimal till hexadecimal innebär att ändra ett tal från bas 10-talsystemet till bas 16. Decimalsystemet använder tio siffror (0–9). Hexadecimalsystemet lägger till sex symboler — hex-siffrorna A–F.
Programmerare föredrar hexadecimal eftersom det passar perfekt med binära tal. Varje hex-siffra representerar exakt fyra binära bitar.
🔄 Basjämförelse — Se ett tal i varje bas
Decimalt talsystem
Decimalsystemet är bas 10-talsystemet du använder dagligen. Varje sifferposition representerar en potens av 10.
📊 Decimala platsvärden — Interaktiv uppdelning
Hexadecimalt talsystem
Hexadecimalsystemet är ett bas 16-talsystem. Det använder sexton symboler: siffrorna 0–9 och hex-siffrorna A–F.
🔢 Hex-sifferutforskare — Klicka på valfri siffra
Klicka på en hex-siffra ovan för detaljer
Hur man konverterar decimal till hexadecimal
Standardmetoden är den upprepade divisions- och restalgoritmen. Ta heltalet, dela med 16 och anteckna resten.
Till exempel, konvertera 255: dela 255 med 16, kvoten är 15 och resten 15. Eftersom 15 motsvarar F, är hex-resultatet FF.
⚡ Prova — Interaktivt divisionsdiagram
Decimal till hexadecimal Formel
Formeln använder upprepad division med basen (16).
Steg-för-steg konverteringsmetod
Använd visualiseraren nedan för att se den upprepade divisions- och restalgoritmen i aktion.
Ange ett decimaltal ovan och klicka på "Visualisera"
för att se konverteringen animerad steg för steg.
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 →