Hex, binary and decimal converter
Convert whole numbers between decimal, hexadecimal, binary and octal. Useful for register values, addresses and protocol data.
Calculator
Type in any field. The others follow.
- Bits needed
- bit
- Bytes needed
Largest value by word length
Select a row to load it into the calculator.
| Word length | Largest value | HEX | Levels |
|---|---|---|---|
| 15 | F | 16 | |
| 255 | FF | 256 | |
| 1 023 | 3FF | 1 024 | |
| 4 095 | FFF | 4 096 | |
| 16 383 | 3FFF | 16 384 | |
| 65 535 | FFFF | 65 536 | |
| 16 777 215 | FFFFFF | 16 777 216 | |
| 4 294 967 295 | FFFFFFFF | 4 294 967 296 |
Good to know
- The prefixes 0x, 0b and 0o are accepted. Spaces and underscores are ignored, so you can paste grouped values.
- Binary output is grouped in blocks of four bits, one block per hexadecimal digit.
- Numbers are whole and not negative. There is no length limit.
Related calculators
-
Unit converter
Resistance, capacitance, frequency, power, length, temperature and more, all units at once.
- kΩ
- nF
- MHz
- mil
- °C
-
ENOB and SINAD
Effective number of bits from SINAD, compared with an ideal converter.
- ENOB
- SINAD
- bit
- dB
-
Sample rate and memory depth
How long an oscilloscope captures at a sample rate, or the memory a capture needs.
- GS/s
- Mpts
- s
- div
From the calculation to the measurement
YOTAVIS supplies the instruments for it, with local advice, calibration and repair in Switzerland.