Decimal to Octal Converter
Convert base-10 decimal numbers to base-8 octal with successive division proofs, 3-bit binary triplets, and UNIX chmod file permission mapping.
Base-8 Repeated Division Step-by-Step Proof
Decimal & Octal Radix Cross Reference
Standard base-10 values, octal notations, 3-bit binary triplets, and UNIX chmod file permissions.
| Decimal | Octal (0o) | Binary Triplets | UNIX Permission / Description | Action |
|---|---|---|---|---|
| 0 | 0o0 | 000 | --- (No permissions) | |
| 1 | 0o1 | 001 | --x (Execute only) | |
| 7 | 0o7 | 111 | rwx (Full 3-bit) | |
| 8 | 0o10 | 001 000 | 8¹ (Base-8 shift) | |
| 64 | 0o100 | 001 000 000 | 8² (Square) | |
| 255 | 0o377 | 011 111 111 | 8-bit Max (0xFF) | |
| 420 | 0o644 | 110 100 100 | rw-r--r-- (File default) | |
| 493 | 0o755 | 111 101 101 | rwxr-xr-x (Exec default) | |
| 511 | 0o777 | 111 111 111 | rwxrwxrwx (All access) | |
| 4095 | 0o7777 | 111 111 111 111 | 12-bit Max (0xFFF) |
Related Conversion Tools
Convert raw binary bitstreams into Decimal, Hexadecimal nibbles, and Octal UNIX permissions with step-by-step proofs.
Math Practice & Quiz
Interactive math & CS problems with unpaywalled step-by-step proofs
Student Notebook
Save problem sets & export clean PDF homework sheets
STEM Cheat Sheets
Sig Figs, IEEE-754 float anatomy & powers of 2
Decimal Calculator
Add, subtract, multiply & divide with column arithmetic proofs
Fraction Calculator
Add, subtract, multiply, divide & simplify fractions
Fraction to Decimal
Convert fractions & mixed numbers to exact decimals & repeating cycles
Decimal to Fraction
Mixed & improper fractions with GCD steps
Hexadecimal to Decimal
Convert Base-16 (0x) to Base-10 decimals with power expansion
Decimal to Hex
Base-16 hex with byte spacing & RGB preview
Base-N Radix Converter
Convert numbers between any radix base 2 through 36 with polynomial steps
Bitwise & Two's Complement Calculator
Interactive bitwise AND, OR, XOR, NOT, shifts & two's complement
IEEE-754 Floating-Point Converter
Interactive 32-bit & 64-bit IEEE-754 floating point visualizer
Binary to Decimal
Convert base-2 bits to base-10 decimal & fractions
Binary to Hexadecimal
Convert 4-bit nibbles to Base-16 hexadecimal (0x)
Binary to Octal
Convert 3-bit triplets to Base-8 octal & UNIX permissions
Octal to Decimal
Convert Base-8 octal to decimal with powers of 8
Binary to ASCII Text
Convert binary bits (0s and 1s) to readable ASCII text & characters
ASCII to Binary
Convert ASCII text and Unicode characters to 8-bit binary bits
ASCII to Decimal
Convert ASCII text and Unicode characters to decimal byte sequences
Decimal to ASCII
Convert decimal codes & byte arrays to ASCII text
Decimal to Binary
Base-2 bits & IEEE-754 32-bit float inspection
Decimal to Percent
Percentage, basis points (bps) & gauge
Decimal to Inches
1/16″ to 1/64″ fractional inches & metric ruler
Decimal Hours & Timecard Calculator
Timecard punch hours, breaks, gross wages & FLSA rounding
Decimal to Minutes
HH:MM:SS timecodes & payroll work logs
Frequently Asked Questions
Everything you need to know about decimal conversions, accuracy, and formulas.
01How do you convert decimal to octal?▼
To convert a decimal integer to octal: repeatedly divide the decimal number by 8 and record the remainder of each division. When the quotient becomes 0, read the remainders in reverse order (from last to first). For fractional parts, repeatedly multiply the fractional component by 8 and record the integer portion.
02What is the prefix '0o' in octal?▼
The '0o' prefix (zero followed by lowercase 'o') is the modern programming standard used in JavaScript (ES6+), Python 3, Rust, Ruby, and Go to represent base-8 octal numeric literals, preventing confusion with decimal numbers.
03How does octal relate to UNIX chmod file permissions?▼
In UNIX, Linux, and macOS, file permissions are represented as 3-digit octal numbers (e.g., 755 or 644). Each octal digit represents 3 permission bits: Read (4 / 100₂), Write (2 / 010₂), and Execute (1 / 001₂). For example, 755 translates to User=rwx (7), Group=r-x (5), and Others=r-x (5).