Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Binary number
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Octal=== {{Main|Octal}} Binary is also easily converted to the [[octal]] numeral system, since octal uses a radix of 8, which is a [[power of two]] (namely, 2<sup>3</sup>, so it takes exactly three binary digits to represent an octal digit). The correspondence between octal and binary numerals is the same as for the first eight digits of [[hexadecimal]] in the table above. Binary 000 is equivalent to the octal digit 0, binary 111 is equivalent to octal 7, and so forth. {| class="wikitable" style="text-align:center" !Octal!!Binary |- | 0 || 000 |- | 1 || 001 |- | 2 || 010 |- | 3 || 011 |- | 4 || 100 |- | 5 || 101 |- | 6 || 110 |- | 7 || 111 |} Converting from octal to binary proceeds in the same fashion as it does for [[hexadecimal]]: :65<sub>8</sub> = 110 101<sub>2</sub> :17<sub>8</sub> = 001 111<sub>2</sub> And from binary to octal: :101100<sub>2</sub> = 101 100<sub>2</sub> grouped = 54<sub>8</sub> :10011<sub>2</sub> = 010 011<sub>2</sub> grouped with padding = 23<sub>8</sub> And from octal to decimal: :65<sub>8</sub> = (6 Γ 8<sup>1</sup>) + (5 Γ 8<sup>0</sup>) = (6 Γ 8) + (5 Γ 1) = 53<sub>10</sub> :127<sub>8</sub> = (1 Γ 8<sup>2</sup>) + (2 Γ 8<sup>1</sup>) + (7 Γ 8<sup>0</sup>) = (1 Γ 64) + (2 Γ 8) + (7 Γ 1) = 87<sub>10</sub>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)