logo
logo

Octal to Decimal Converter

Convert octal (base-8) numbers to decimal (base-10) instantly. Step-by-step breakdown. Unix permission reference. 100% free.

Octal to Decimal Converter

Convert octal (base-8) numbers to decimal (base-10)

Digits 0-7 only

Result
🔢 Step-by-step breakdown • Interactive examples • Unix permissions reference

Free Octal to Decimal Converter – Convert Base-8 to Base-10 Online

Convert octal (base-8) numbers to decimal (base-10) instantly. See step-by-step conversion breakdown. Common values reference. Unix permissions explained. 100% free.

What Is Octal to Decimal Conversion?

Octal to decimal conversion transforms base-8 numbers (using digits 0-7) into base-10 numbers (our standard counting system). Octal was historically important in computing and remains crucial for Unix/Linux file permissions.

How to Use This Tool

Step 1: Enter Octal Number

Type digits 0-7 (no 8s or 9s).

Step 2: View Decimal Result

See the converted value instantly.

Step 3: Study Breakdown

Understand each digit's contribution.

Step 4: Copy Result

Copy for use elsewhere.

Conversion Method

Each octal digit represents a power of 8.

Example: Convert 754 to Decimal

7 × 8² = 7 × 64 = 448
5 × 8¹ = 5 × 8  = 40
4 × 8⁰ = 4 × 1  = 4
                 -----
Total:           492

So 754₈ = 492₁₀

Octal to Decimal Reference Table

OctalDecimalPower of 8
118⁰
108
10064
1000512
1000040968⁴
7763Max 2-digit
777511Max 3-digit
77774095Max 4-digit

Unix File Permissions

Octal is famously used for Unix/Linux file permissions:

OctalBinaryPermissionMeaning
0000---No permission
1001--xExecute only
2010-w-Write only
3011-wxWrite + Execute
4100r--Read only
5101r-xRead + Execute
6110rw-Read + Write
7111rwxFull permissions

Common Permission Examples

OctalMeaning
755Owner: rwx, Group: r-x, Others: r-x
644Owner: rw-, Group: r--, Others: r--
777Full permissions for everyone
600Owner only: rw-
400Owner only: r--

Why Octal Was Used Historically

Early computers used 12-bit, 24-bit, or 36-bit words, which divide evenly by 3. Since 3 bits = 1 octal digit, octal was a natural fit:

BitsOctal Digits
31
62
124
248
3612

Octal vs Hexadecimal

FeatureOctalHexadecimal
Base816
Digits0-70-9, A-F
Bits per digit34
Common useUnix permissionsMemory, colors
Prefix (C)0 (e.g., 0755)0x (e.g., 0xFF)

Common Use Cases

System Administration

  • Setting file permissions with chmod
  • Understanding permission masks (umask)

Legacy Systems

  • Working with older codebases
  • Reading historical documentation

Education

  • Learning number systems
  • Understanding base conversion

Programming

  • Writing octal literals (0755)
  • Parsing configuration files

Position Value Chart

Position543210
Power8⁵8⁴8⁰
Value3276840965126481

Frequently Asked Questions

What digits are valid in octal?

Only 0, 1, 2, 3, 4, 5, 6, 7. No 8s or 9s.

Why is 10 in octal equal to 8?

10₈ means 1×8¹ + 0×8⁰ = 8 in decimal.

Where is octal used today?

Primarily in Unix/Linux file permissions (chmod 755).

Is there a length limit?

No practical limit for this tool.