Chmod Calculator
Convert interactively between Unix octal permissions (755) and symbolic notation (rwxr-xr-x).
Free Interactive Unix Chmod Permissions Calculator
Our free chmod calculator lets you toggle Read ($4$), Write ($2$), and Execute ($1$) permission bits for Owner, Group, and Public classes — or type a 3-digit octal mode like 755, 644, or 600 — to see the corresponding POSIX symbolic string and shell command immediately.
About the Chmod Calculator
How It Works & POSIX File Mode Bits
In POSIX-compliant operating systems (Linux, macOS, BSD), standard file permissions are stored as three 3-bit octal digits representing Owner ($u$), Group ($g$), and Others ($o$). Within each triad, the high bit ($2^2 = 4$) grants read access (r), the middle bit ($2^1 = 2$) grants write access (w), and the low bit ($2^0 = 1$) grants execute/traverse access (x).
Related Calculators & Tools
Parse cron expressions online — get a plain-English description and the next 10 run times.
Generate SHA-256, SHA-384, SHA-512, SHA-1, and MD5 cryptographic hashes in your browser using Web Crypto.
Apply AND, OR, XOR, NOT, NAND, NOR and bit shifts to decimal, hex, or binary numbers with aligned bit-column visualization.
Convert Unix timestamps to human-readable dates and back, in seconds or milliseconds, UTC or local time — with a live current-timestamp readout.
Authoritative Sources & Standards
- IEEE Std 1003.1 (POSIX.1) — File Mode Bits & chmod Utility Specification — The Open Group / IEEE
Frequently Asked Questions
How are octal chmod numbers (like 755 or 644) calculated?
Each digit represents Owner, Group, and Public permissions respectively, formed by summing Read (4) + Write (2) + Execute (1). For example, 7 = 4+2+1 (rwx), 5 = 4+0+1 (r-x), and 4 = 4+0+0 (r--).
What is the difference between chmod 755 and chmod 644?
chmod 644 (rw-r--r--) is standard for regular files (owner can read/write, everyone else can read). chmod 755 (rwxr-xr-x) adds execute permission and is standard for directories and executable scripts.