<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://bsccs.stoney-wiki.com/w/index.php?action=history&amp;feed=atom&amp;title=Octal%3A_Reading_%26_Conversion</id>
	<title>Octal: Reading &amp; Conversion - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://bsccs.stoney-wiki.com/w/index.php?action=history&amp;feed=atom&amp;title=Octal%3A_Reading_%26_Conversion"/>
	<link rel="alternate" type="text/html" href="https://bsccs.stoney-wiki.com/w/index.php?title=Octal:_Reading_%26_Conversion&amp;action=history"/>
	<updated>2026-05-04T20:08:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://bsccs.stoney-wiki.com/w/index.php?title=Octal:_Reading_%26_Conversion&amp;diff=58&amp;oldid=prev</id>
		<title>Bfh-sts: Created page with &quot;= Octal: Reading &amp; Conversion = This page introduces the octal numeral system, explains how it relates to binary, and shows how to convert between octal, decimal, and binary.  == Introduction == Octal uses base 8.   Digits are 0–7.   The number written as 10₈ means 8 in decimal.    Octal was more common in early computers, especially before hexadecimal became dominant.   It is still useful for compactly representing binary numbers grouped in 3 bits.  == Positional va...&quot;</title>
		<link rel="alternate" type="text/html" href="https://bsccs.stoney-wiki.com/w/index.php?title=Octal:_Reading_%26_Conversion&amp;diff=58&amp;oldid=prev"/>
		<updated>2025-10-20T13:36:02Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Octal: Reading &amp;amp; Conversion = This page introduces the octal numeral system, explains how it relates to binary, and shows how to convert between octal, decimal, and binary.  == Introduction == Octal uses base 8.   Digits are 0–7.   The number written as 10₈ means 8 in decimal.    Octal was more common in early computers, especially before hexadecimal became dominant.   It is still useful for compactly representing binary numbers grouped in 3 bits.  == Positional va...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Octal: Reading &amp;amp; Conversion =&lt;br /&gt;
This page introduces the octal numeral system, explains how it relates to binary, and shows how to convert between octal, decimal, and binary.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Octal uses base 8.  &lt;br /&gt;
Digits are 0–7.  &lt;br /&gt;
The number written as 10₈ means 8 in decimal.  &lt;br /&gt;
&lt;br /&gt;
Octal was more common in early computers, especially before hexadecimal became dominant.  &lt;br /&gt;
It is still useful for compactly representing binary numbers grouped in 3 bits.&lt;br /&gt;
&lt;br /&gt;
== Positional values in octal ==&lt;br /&gt;
Each column has a value 8 times the column to its right.  &lt;br /&gt;
This corresponds to powers of 8.&lt;br /&gt;
&lt;br /&gt;
From right to left:&lt;br /&gt;
* 8⁰ = 1&lt;br /&gt;
* 8¹ = 8&lt;br /&gt;
* 8² = 64&lt;br /&gt;
* 8³ = 512&lt;br /&gt;
* 8⁴ = 4096&lt;br /&gt;
* 8⁵ = 32 768&lt;br /&gt;
* 8⁶ = 262 144&lt;br /&gt;
* 8⁷ = 2 097 152&lt;br /&gt;
&lt;br /&gt;
Example: 76225₈ =  &lt;br /&gt;
7 × 8⁴ + 6 × 8³ + 2 × 8² + 2 × 8¹ + 5 × 8⁰  &lt;br /&gt;
= 7 × 4096 + 6 × 512 + 2 × 64 + 2 × 8 + 5 × 1  &lt;br /&gt;
= 28 672 + 3072 + 128 + 16 + 5  &lt;br /&gt;
= 31 893₁₀.&lt;br /&gt;
&lt;br /&gt;
== From decimal to octal ==&lt;br /&gt;
Method: Division by 8&lt;br /&gt;
1. Divide the decimal number by 8.&lt;br /&gt;
2. Record the remainder.&lt;br /&gt;
3. Repeat with the quotient until 0.&lt;br /&gt;
4. Read the remainders backwards.&lt;br /&gt;
&lt;br /&gt;
Example: Convert 83₁₀ to octal  &lt;br /&gt;
83 ÷ 8 = 10 remainder 3  &lt;br /&gt;
10 ÷ 8 = 1 remainder 2  &lt;br /&gt;
1 ÷ 8 = 0 remainder 1  &lt;br /&gt;
Result: 123₈.&lt;br /&gt;
&lt;br /&gt;
== Binary to octal ==&lt;br /&gt;
Binary can be grouped directly into octal digits.&lt;br /&gt;
* Each octal digit = 3 binary digits (bits).&lt;br /&gt;
* Group binary digits into blocks of 3, starting from the right.&lt;br /&gt;
* Convert each block to a single octal digit.&lt;br /&gt;
&lt;br /&gt;
Example: 101110₂ → group as 101 110 → 5 6 → 56₈.  &lt;br /&gt;
Check: 101110₂ = 46₁₀, and 56₈ = 46₁₀.&lt;br /&gt;
&lt;br /&gt;
== Octal to binary ==&lt;br /&gt;
Each octal digit expands to 3 binary digits.&lt;br /&gt;
&lt;br /&gt;
Example: 725₈ → 7 = 111, 2 = 010, 5 = 101 → 111010101₂.&lt;br /&gt;
&lt;br /&gt;
== Programming notes ==&lt;br /&gt;
In the C programming language, a number starting with 0 is interpreted as octal.  &lt;br /&gt;
* Example: 012 means 10 decimal, not twelve.  &lt;br /&gt;
* This can lead to confusion.  &lt;br /&gt;
* In modern languages, octal literals are often written with a prefix like 0o (Python, Rust).&lt;br /&gt;
&lt;br /&gt;
== Arithmetic in octal ==&lt;br /&gt;
Arithmetic is similar to decimal but carries occur after 7.&lt;br /&gt;
&lt;br /&gt;
Addition example: 57₈ + 25₈  &lt;br /&gt;
57₈ = 47₁₀, 25₈ = 21₁₀  &lt;br /&gt;
47 + 21 = 68  &lt;br /&gt;
68 in octal: 104₈.  &lt;br /&gt;
So 57₈ + 25₈ = 104₈.&lt;br /&gt;
&lt;br /&gt;
Subtraction and multiplication follow the same principles, always working with base 8.&lt;br /&gt;
&lt;br /&gt;
[[Category:Numeral Systems]]&lt;/div&gt;</summary>
		<author><name>Bfh-sts</name></author>
	</entry>
</feed>