decimalcalc
Binary Suite•4-Bit Nibble Mapping

Binary to Hex Converter

Convert binary sequences to hex (Base-16) with 4-bit nibble grouping, byte formatting, and color inspection.

Binary → Hex
Swap: Hex → Dec
4-Bit Nibble GroupingPad to multiple of 4
1111 1111
Preset binary values:
Hexadecimal (0x)
0xFF
Standard: FF₁₆
Byte SpacedFF
Decimal255
ASCII CharNon-printable
Color Preview (24-bit Hex)
#0000FF
fx

How Binary to Hex Conversion Works

1Step 1: Pad the binary integer digits to the left with zeros until the length is a multiple of 4.
2Step 2: Split the binary string into 4-bit nibbles: [1111] [1111].
3Step 3: Convert each 4-bit chunk to its hexadecimal digit: 1111₂ = F₁₆.
4Step 4: Combine the hex digits with the 0x prefix → 0xFF.
5Step 5: Decimal representation: 255.

4-Bit Binary to Hexadecimal Conversion Chart

Every 4 bits of binary (one nibble) map directly to one hexadecimal digit (0–9, A–F).

4-Bit BinaryHex DigitDecimalWord DescriptionAction
000000Zero
000111One
001022Two
001133Three
010044Four
010155Five
011066Six
011177Seven
100088Eight
100199Nine
1010A10Ten (0xA)
1011B11Eleven (0xB)
1100C12Twelve (0xC)
1101D13Thirteen (0xD)
1110E14Fourteen (0xE)
1111F15Fifteen (0xF)

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→
0xHex

Decimal to Hex

Base-16 hex with byte spacing & RGB preview

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→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 binary to hex (hexadecimal)?▼

To convert binary to hex: 1) Group the binary digits into sets of 4 bits (nibbles) starting from right to left for the integer part, padding the leftmost group with zeros if needed. 2) Convert each 4-bit group into its equivalent hexadecimal digit (0-9, A-F). 3) Combine the hexadecimal digits with the '0x' prefix.

02Why is 4 bits equal to 1 hex digit?▼

Because 2⁴ = 16. A 4-bit binary group has exactly 16 possible states (0000₂ to 1111₂), perfectly corresponding to the 16 hexadecimal digits (0 through F).

03How do you convert fractional binary to hex?▼

For the fractional part after the radix point, group bits into sets of 4 from left to right (padding with trailing zeros if necessary), then replace each 4-bit group with its corresponding hex digit. For example, 0.101₂ = 0.1010₂ = 0.A₁₆.