Octal to Hexadecimal
Turn Octal numbers into Hexadecimal in your browser. Every digit is converted exactly, even for very long values, and nothing is sent to a server.
Free Runs locally No signup
Binary
10101101Octal
255Decimal
173Hexadecimal
ADSpaces and underscores are ignored; 0b, 0o and 0x prefixes are supported.
Common conversions
| Octal | Hexadecimal |
|---|---|
| 1 | 1 |
| 2 | 2 |
| 4 | 4 |
| 10 | 8 |
| 12 | A |
| 20 | 10 |
| 377 | FF |
Leading zeros are dropped; longer values follow the same digit weights.
Frequently asked questions
How do I convert Octal to Hexadecimal?
Each Octal digit is multiplied by its place value, then the total is written using Hexadecimal digits. The table above shows the pattern for small values.
Can I convert fractions?
No. This converter works with unsigned integers only. Convert the integer part first and handle the fraction separately.
How large can the numbers be?
Up to 200 characters, which covers values far beyond 64-bit range. Precision stays exact because the conversion uses big integers.
Related conversions
Hexadecimal to Octal Octal to Decimal Octal to Binary Binary to Decimal Decimal to Binary Decimal to Hexadecimal
Open the full unit converter