answersLogoWhite

0

There are built in octal to hexadecimal converters in popular spreadsheets such as Excel. In Excel it is "oct2hex(number)".


To do it manually, you will need to divide up the octal number into strings of length four and convert these to hexadecimal strings of length three. There are 4096 of these but some (0 to 127 in decimal) of them are given below:


0000 = 000, 0001 = 001, 0002 = 002, 0003 = 003, 0004 = 004, 0005 = 005, 0006 = 006, 0007 = 007,

0010 = 008, 0011 = 009, 0012 = 00A, 0013 = 00B, 0014 = 00C, 0015 = 00D, 0016 = 00E, 0017 = 00F,

0020 = 010, 0021 = 011, 0022 = 012, 0023 = 013, 0024 = 014, 0025 = 015, 0026 = 016, 0027 = 017,

0030 = 018, 0031 = 019, 0032 = 01A, 0033 = 01B, 0034 = 01C, 0035 = 01D, 0036 = 01E, 0037 = 01F,

0040 = 020, 0041 = 021, 0042 = 022, 0043 = 023, 0044 = 024, 0045 = 025, 0046 = 026, 0047 = 027,

0050 = 028, 0051 = 029, 0052 = 02A, 0053 = 02B, 0054 = 02C, 0055 = 02D, 0056 = 02E, 0057 = 02F,

0060 = 030, 0061 = 031, 0062 = 032, 0063 = 033, 0064 = 034, 0065 = 035, 0066 = 036, 0067 = 037,

0070 = 038, 0071 = 039, 0072 = 03A, 0073 = 03B, 0074 = 03C, 0075 = 03D, 0076 = 03E, 0077 = 03F,


0100 = 040, 0101 = 041, 0102 = 042, 0103 = 043, 0104 = 044, 0105 = 045, 0106 = 046, 0107 = 047,

0110 = 048, 0111 = 049, 0112 = 04A, 0113 = 04B, 0114 = 04C, 0115 = 04D, 0116 = 04E, 0117 = 04F,

0120 = 050, 0121 = 051, 0122 = 052, 0123 = 013, 0124 = 054, 0125 = 055, 0126 = 056, 0127 = 057,

0130 = 058, 0131 = 059, 0132 = 05A, 0133 = 01B, 0134 = 05C, 0135 = 05D, 0136 = 05E, 0137 = 05F,

0140 = 060, 0141 = 061, 0142 = 062, 0143 = 023, 0144 = 064, 0145 = 065, 0146 = 066, 0147 = 067,

0150 = 068, 0151 = 069, 0152 = 06A, 0153 = 02B, 0154 = 06C, 0155 = 06D, 0156 = 06E, 0157 = 06F,

0160 = 070, 0161 = 071, 0162 = 072, 0163 = 033, 0164 = 074, 0165 = 075, 0166 = 076, 0167 = 077,

0170 = 078, 0171 = 079, 0172 = 07A, 0173 = 03B, 0174 = 07C, 0175 = 07D, 0176 = 73E, 0177 = 07F,


For octals starting 02 and 03, the first digit of the hex is 1

For octals starting 02 and 03, the first digit of the hex is 2

For octals starting 02 and 03, the first digit of the hex is 3

and so on.


User Avatar

Wiki User

8y ago

What else can I help you with?