645 Octal to Hexadecimal
645 octal = 1A5 hexadecimal
645 written in hexadecimal is 1A5, the number 421 in everyday decimal.
645 octal = 1A5 hexadecimal
How to convert 645 to hexadecimal
Step 1: Octal to decimal
Multiply each digit by 8 to the power of its position (0 on the right), then add:
| Digit | Place value | Digit × place |
|---|---|---|
6 | 82 = 64 | 384 |
4 | 81 = 8 | 32 |
5 | 80 = 1 | 5 |
384 + 32 + 5 = 421
Step 2: Decimal to hexadecimal
Divide by 16 repeatedly and keep the remainders. Reading the remainders from the last one to the first gives the hexadecimal digits:
| Division | Quotient | Remainder (digit) |
|---|---|---|
| 421 ÷ 16 | 26 | 5 |
| 26 ÷ 16 | 1 | A (10) |
| 1 ÷ 16 | 0 | 1 |
Result: 421 = 1A5 in hexadecimal.
645 (octal) in other systems
| Binary | 110100101 |
| Decimal | 421 |
| Roman numerals | CDXXI |
| Duodecimal | 2B1 |
| Ternary | 120121 |
| Base 36 | BP |
| Vigesimal | 111 |
| Quaternary | 12211 |
| Quinary | 3141 |
| Senary | 1541 |
Nearby octal to hexadecimal conversions
About the number 421
- 421 is an odd number.
- 421 is a prime number.
- Written in binary it needs 9 bits, so it fits in 2 bytes.
Reverse conversion
Frequently asked questions
What is 645 in hexadecimal?
645 in octal is 1A5 in hexadecimal (the number 421 in decimal).