Numbers Converter
Convert integers between binary, octal, decimal and hexadecimal for programming and electronics.
hex = dec × —
Runs 100% offline & private
Conversion Formula
Exact mathematical ratioMultiply the Decimal value by —.
How to Convert Decimal to Hexadecimal Manually
Worked step-by-stepIdentify the conversion ratio
Establish the mathematical relationship: 1 Decimal (dec) = — Hexadecimal (hex) (or 1 hex = — dec).
Write down the conversion formula
Formula: hex = dec × —. (Multiply the Decimal value by —.)
Substitute 100 dec into the equation
Multiply/divide: 100 dec → — hex.
Conversion Matrix & Reference Table
Decimal to Hexadecimal common conversion benchmarks
| Decimal (dec) | Hexadecimal (Decimal) |
|---|---|
| 1 dec | — hex |
| 2 dec | — hex |
| 5 dec | — hex |
| 10 dec | — hex |
| 25 dec | — hex |
| 50 dec | — hex |
| 100 dec | — hex |
| 150 dec | — hex |
| 200 dec | — hex |
| 500 dec | — hex |
| 1000 dec | — hex |
Frequently Asked Questions
How many hexadecimal are in 1 decimal?
There are — Hexadecimal in 1 Decimal (1 dec = — hex). Conversely, 1 Hexadecimal equals — Decimal (1 hex = — dec).
What is the formula to convert decimal to hexadecimal?
The exact conversion formula is: hex = dec × —. Multiply the Decimal value by —.
How do you convert decimal to hexadecimal manually without a calculator?
To convert manually: take your value in Decimal and apply the formula (hex = dec × —). For example, 10 dec = — hex, and 100 dec = — hex.
What is 255 in hexadecimal?
FF. Each hex digit holds 4 bits, so one byte (0–255) is exactly two hex digits (00–FF).
What is binary 1010 in decimal?
10. Binary 11111111 = 255, and 10000000 = 128.
How do hex color codes work?
Colors like #FF0000 are three hex bytes: red=FF (255), green=00, blue=00 — pure red.
What is octal used for?
Base-8 digits (0–7). Classic uses: Unix file permissions (755) and legacy embedded systems. 8 decimal = 10 octal.