Octal (Base 8) to Duodecimal (Base 12) Converter

Convert octal numbers to duodecimal.

193

377 (base 8) = 193 (base 12)

Digits in base 8: 0 to 7. Digits in base 12: 0 to 9 and A to B.

How to convert Octal to Duodecimal

Every positional number system works the same way: a digit is worth its own value times the base raised to the power of its position. In base 8 the place values, from the right, are 80 = 1, 81 = 8, 82 = 64 and so on.

Most pairs have no direct trick, so go through decimal, the base we all calculate in. First turn the base 8 number into decimal, then divide by 12 and read the remainders from the bottom up. Two short steps, and you can check the number in the middle.

The method

decimal value = each digit × its place value, all added upplace values in base 8: 1, 8, 64, 512, 4096, and so ondivide by 12, keep the remainder, repeat until the quotient is 0the answer is the remainders read from last to firstdigits in base 8: 0 to 7digits in base 12: 0 to 9 and A to B

Worked example 1: 55 from octal to duodecimal

Step 1: base 8 to decimal55 (base 8) = 5 × 81 + 5 × 80= 40 + 5= 45Step 2: decimal to base 1245 ÷ 12 = 3 remainder 93 ÷ 12 = 0 remainder 3Read the remainders from the bottom up: 3955 (base 8) = 39 (base 12)

Letters stand for values from 10 up: A = 10, B = 11, C = 12 and so on. Remainders come out last digit first, which is why you read them from the bottom up. Digits that are 0 add nothing to the sum, so they are left out of the expansion.

Worked example 2: 377 from octal to duodecimal

Step 1: base 8 to decimal377 (base 8) = 3 × 82 + 7 × 81 + 7 × 80= 192 + 56 + 7= 255Step 2: decimal to base 12255 ÷ 12 = 21 remainder 321 ÷ 12 = 1 remainder 91 ÷ 12 = 0 remainder 1Read the remainders from the bottom up: 193377 (base 8) = 193 (base 12)

Worked example 3: 1750 from octal to duodecimal

Step 1: base 8 to decimal1750 (base 8) = 1 × 83 + 7 × 82 + 5 × 81= 512 + 448 + 40= 1,000Step 2: decimal to base 121,000 ÷ 12 = 83 remainder 483 ÷ 12 = 6 remainder 11 (B)6 ÷ 12 = 0 remainder 6Read the remainders from the bottom up: 6B41750 (base 8) = 6B4 (base 12)

Need the other direction? Open the Duodecimal to Octal converter.

Octal to Duodecimal examples

The decimal number 255 is written 377 in octal and 193 in duodecimal.

Common Octal to Duodecimal values
OctalDuodecimalDecimal
111
222
777
1088
12A10
171315
201416
402832
1005464
14484100
377193255
17506B41000

Where Octal to Duodecimal comes up

Octal uses the digits 0 to 7, and each octal digit stands for exactly three bits. Unix file permissions such as chmod 755 are written in octal, and it also appears in older machine listings where word sizes divide by three.

Duodecimal (base 12) uses 0 to 9 plus A for ten and B for eleven. Twelve divides evenly by 2, 3, 4 and 6. That is why dozens, the 12-hour clock, twelve inches to a foot and twelve months feel natural. A few mathematicians even argue it is a better base than ten.

Going to a larger base packs more value into each digit, so the result is shorter. The number 255 needs 3 digits in octal and 3 in duodecimal.

Octal to Duodecimal FAQ

How do I convert octal to duodecimal?

Convert to decimal first by adding up each digit times its place value, then divide that decimal number by 12 repeatedly and read the remainders from last to first.

Which digits does octal use?

Base 8 uses the digits 0 to 7. For example, 8 is not a valid digit in base 8.

Will the duodecimal number be longer or shorter?

Shorter. Going to a larger base packs more value into each digit, so the result is shorter. Roughly 0.84 duodecimal digits for every octal digit. The number 255 needs 3 digits in octal and 3 in duodecimal.

What is 377 in duodecimal?

377 in octal is 193 in duodecimal. Both are the decimal number 255.

Can I convert negative numbers or fractions?

The converter handles whole numbers, and a leading minus sign works for negatives. Fractions use a different method, where you repeatedly multiply the fractional part by the new base, and they are not supported here.