Decimal (base 10)
Decimal (base 10) is the everyday number system, using the digits 0 through 9. It is the default base for almost all human-facing numbers — from prices to phone numbers to scientific measurements.
255 (dec) = FF (hex)
Convert decimal numbers to hexadecimal numbers exactly, for any size. Convertitive parses your input as a BigInt — so 64-bit values, 256-bit hex strings, and even larger numbers round-trip without rounding. For quick reference: 255 dec = FF hex, and 1024 dec = 400 hex.
Type a decimal integer in the From field. Allowed characters: 0 through 9.
The To field updates as you type. For example, the decimal value 255 equals FF in hexadecimal.
Use the copy button to grab the result. You can change either base from its dropdown without leaving the page.
Fifty representative values. Every row is computed exactly by the same BigInt-based converter that powers the widget above.
| Decimal (dec) | Hexadecimal (hex) |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
| 4 | 4 |
| 5 | 5 |
| 6 | 6 |
| 7 | 7 |
| 8 | 8 |
| 9 | 9 |
| 10 | A |
| 11 | B |
| 12 | C |
| 13 | D |
| 14 | E |
| 15 | F |
| 16 | 10 |
| 17 | 11 |
| 18 | 12 |
| 19 | 13 |
| 20 | 14 |
| 24 | 18 |
| 31 | 1F |
| 32 | 20 |
| 36 | 24 |
| 42 | 2A |
| 48 | 30 |
| 50 | 32 |
| 63 | 3F |
| 64 | 40 |
| 100 | 64 |
| 127 | 7F |
| 128 | 80 |
| 200 | C8 |
| 255 | FF |
| 256 | 100 |
| 500 | 1F4 |
| 511 | 1FF |
| 512 | 200 |
| 1000 | 3E8 |
| 1023 | 3FF |
| 1024 | 400 |
| 2048 | 800 |
| 4096 | 1000 |
| 8192 | 2000 |
| 16384 | 4000 |
| 32768 | 8000 |
| 65535 | FFFF |
| 65536 | 10000 |
| 1048576 | 100000 |
Decimal (base 10) is the everyday number system, using the digits 0 through 9. It is the default base for almost all human-facing numbers — from prices to phone numbers to scientific measurements.
Hexadecimal (base 16) uses digits 0–9 plus the letters A–F to encode the values 10–15. It is the dominant compact notation for binary data: every two hex digits represent exactly one byte. Used universally for memory addresses, color codes (#RRGGBB), and cryptographic hashes.