Convert 21 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 >= 21
80 = 1
81 = 8
82 = 64 <--- Stop: This is greater than 21
Since 64 is greater than 21, we use 1 power less as our starting point which equals 1
Build octal notation
Work backwards from a power of 1
We start with a total sum of 0:
81 = 8
The highest coefficient less than 7 we can multiply this by to stay under 21 is 2
Multiplying this coefficient by our original value, we get: 2 * 8 = 16
Add our new value to our running total, we get:
0 + 16 = 16
This is <= 21, so we assign our outside coefficient of 2 for this digit.
Our new sum becomes 16
Our octal notation is now equal to 2
80 = 1
The highest coefficient less than 7 we can multiply this by to stay under 21 is 5
Multiplying this coefficient by our original value, we get: 5 * 1 = 5
Add our new value to our running total, we get:
16 + 5 = 21
This = 21, so we assign our outside coefficient of 5 for this digit.
Our new sum becomes 21
Our octal notation is now equal to 25
Final Answer
We are done. 21 converted from decimal to octal notation equals 258.
Test Your Knowledge?
- Binary means base _?
- Octal means base _?
- Hexadecimal means base __?
What is the Answer?
We are done. 21 converted from decimal to octal notation equals 258.
How does the Base Change Conversions Calculator work?
Free Base Change Conversions Calculator - Converts a positive integer to Binary-Octal-Hexadecimal Notation or Binary-Octal-Hexadecimal Notation to a positive integer. Also converts any positive integer in base 10 to another positive integer base (Change Base Rule or Base Change Rule or Base Conversion)
This calculator has 3 inputs.
What 3 formulas are used for the Base Change Conversions Calculator?
Binary = Base 2
Octal = Base 8
Hexadecimal = Base 16
What 6 concepts are covered in the Base Change Conversions Calculator?
- base
- base change conversions
- binary
- Base 2 for numbers
- conversion
- a number used to change one set of units to another, by multiplying or dividing
- hexadecimal
- Base 16 number system
- octal
- base 8 number system