<-- Enter Number or Notation that will be converted
Conversion TypeBinaryOctalHexadecimalBase
Convert Decimal to:
 Base: 
Convert to Decimal from:
  

Convert 158 from decimal to octal

(base 8) notation:

Power Test

Raise our base of 8 to a power

Start at 0 and increasing by 1 until it is >= 158

80 = 1

81 = 8

82 = 64

83 = 512 <--- Stop: This is greater than 158

Since 512 is greater than 158, we use 1 power less as our starting point which equals 2

Build octal notation

Work backwards from a power of 2

We start with a total sum of 0:


82 = 64

The highest coefficient less than 7 we can multiply this by to stay under 158 is 2

Multiplying this coefficient by our original value, we get: 2 * 64 = 128

Add our new value to our running total, we get:
0 + 128 = 128

This is <= 158, so we assign our outside coefficient of 2 for this digit.

Our new sum becomes 128

Our octal notation is now equal to 2


81 = 8

The highest coefficient less than 7 we can multiply this by to stay under 158 is 3

Multiplying this coefficient by our original value, we get: 3 * 8 = 24

Add our new value to our running total, we get:
128 + 24 = 152

This is <= 158, so we assign our outside coefficient of 3 for this digit.

Our new sum becomes 152

Our octal notation is now equal to 23


80 = 1

The highest coefficient less than 7 we can multiply this by to stay under 158 is 6

Multiplying this coefficient by our original value, we get: 6 * 1 = 6

Add our new value to our running total, we get:
152 + 6 = 158

This = 158, so we assign our outside coefficient of 6 for this digit.

Our new sum becomes 158

Our octal notation is now equal to 236


Final Answer


We are done. 158 converted from decimal to octal notation equals 2368.