decimalcalc
Hexadecimal Engine•Base-16 Radix & Byte Analysis

Decimal to Hexadecimal Converter

Convert base-10 numbers to base-16 hex with byte formatting, ASCII character decoding, and live RGB color palette preview.

Decimal → Hexadecimal
Swap: Hex → Dec
RGB Color Preview#0000FF
CSS: rgb(0, 0, 255)
R: 0 G: 0 B: 255
Sample values:
Hexadecimal (0x)
0xFF
Byte Spaced FormatFF
ASCII Characterÿ (255)
32-Bit Padded0x000000FF
Copy hex value
fx

Base-16 Repeated Division Step-by-Step Proof

Type any decimal value above to generate step-by-step arithmetic proof.

Hexadecimal & Decimal Cross Reference

Standard Hex values, Binary equivalents, and character mappings.

DecimalHex (0x)Binary FormNotesAction
00x00000 0000Null
100xA0000 1010Ten
150xF0000 1111Fifteen
160x100001 000016¹
320x200010 0000Space (ASCII 32)
650x410100 0001'A' (ASCII 65)
2550xFF1111 11118-bit Max (255)
40950xFFF1111 1111 111112-bit Max
655350xFFFF16-bit 1s16-bit Max
167772150xFFFFFF24-bit 1sWhite (#FFFFFF)

Related Conversion Tools

Multi-Radix Suite
⚡ Binary Radix Tools

Convert raw binary bitstreams into Decimal, Hexadecimal nibbles, and Octal UNIX permissions with step-by-step proofs.

🎯Quiz

Math Practice & Quiz

Interactive math & CS problems with unpaywalled step-by-step proofs

Open Tool→
📓Notebook

Student Notebook

Save problem sets & export clean PDF homework sheets

Open Tool→
📚Reference

STEM Cheat Sheets

Sig Figs, IEEE-754 float anatomy & powers of 2

Open Tool→
+−×÷Arithmetic

Decimal Calculator

Add, subtract, multiply & divide with column arithmetic proofs

Open Tool→
➗Math

Fraction Calculator

Add, subtract, multiply, divide & simplify fractions

Open Tool→
½→0.1Math

Fraction to Decimal

Convert fractions & mixed numbers to exact decimals & repeating cycles

Open Tool→
½Math

Decimal to Fraction

Mixed & improper fractions with GCD steps

Open Tool→
0x→10Hex

Hexadecimal to Decimal

Convert Base-16 (0x) to Base-10 decimals with power expansion

Open Tool→
N→MRadix

Base-N Radix Converter

Convert numbers between any radix base 2 through 36 with polynomial steps

Open Tool→
&|^Logic

Bitwise & Two's Complement Calculator

Interactive bitwise AND, OR, XOR, NOT, shifts & two's complement

Open Tool→
FLTFloat

IEEE-754 Floating-Point Converter

Interactive 32-bit & 64-bit IEEE-754 floating point visualizer

Open Tool→
10Radix

Binary to Decimal

Convert base-2 bits to base-10 decimal & fractions

Open Tool→
B→H0x

Binary to Hexadecimal

Convert 4-bit nibbles to Base-16 hexadecimal (0x)

Open Tool→
B→8Oct

Binary to Octal

Convert 3-bit triplets to Base-8 octal & UNIX permissions

Open Tool→
0oOct

Decimal to Octal

Convert decimals to Base-8 octal & chmod permissions

Open Tool→
8→10Radix

Octal to Decimal

Convert Base-8 octal to decimal with powers of 8

Open Tool→
01→TDecode

Binary to ASCII Text

Convert binary bits (0s and 1s) to readable ASCII text & characters

Open Tool→
T→01Bits

ASCII to Binary

Convert ASCII text and Unicode characters to 8-bit binary bits

Open Tool→
T→10ASCII

ASCII to Decimal

Convert ASCII text and Unicode characters to decimal byte sequences

Open Tool→
10→TASCII

Decimal to ASCII

Convert decimal codes & byte arrays to ASCII text

Open Tool→
01Bits

Decimal to Binary

Base-2 bits & IEEE-754 32-bit float inspection

Open Tool→
%Rate

Decimal to Percent

Percentage, basis points (bps) & gauge

Open Tool→
″Scale

Decimal to Inches

1/16″ to 1/64″ fractional inches & metric ruler

Open Tool→
⏱Payroll

Decimal Hours & Timecard Calculator

Timecard punch hours, breaks, gross wages & FLSA rounding

Open Tool→
⏱Time

Decimal to Minutes

HH:MM:SS timecodes & payroll work logs

Open Tool→

Frequently Asked Questions

Everything you need to know about decimal conversions, accuracy, and formulas.

01How do you convert decimal to hexadecimal?▼

To convert decimal to hex: repeatedly divide the decimal number by 16 and write down the remainders. For remainders 10 through 15, replace with hexadecimal letters A through F (10=A, 11=B, 12=C, 13=D, 14=E, 15=F). Read the remainders from bottom to top to get the hexadecimal notation.

02What is the prefix '0x' in hexadecimal?▼

The '0x' prefix is a programming convention used in languages like JavaScript, C, Python, and Rust to indicate that the following characters represent a base-16 hexadecimal number rather than a standard base-10 decimal.

03How do hexadecimal numbers represent web colors?▼

In web design, colors are encoded as 24-bit hexadecimal integers `#RRGGBB`. The first two hex digits represent Red (0-255), the next two represent Green, and the last two represent Blue. For example, decimal 16711680 is hex `0xFF0000` (Pure Red).