Convert between octal 755 and symbolic rwxr-xr-x permissions.
| Permission | Read | Write | Execute |
|---|---|---|---|
| Owner | |||
| Group | |||
| Others |
🔒 Octal digits are Owner / Group / Others, each the sum of read (4), write (2), execute (1). A leading fourth digit encodes the special bits: setuid (4), setgid (2), sticky (1) — so 4755 means setuid + rwxr-xr-x. In symbolic form they appear as s/S and t/T over the execute slot.
Linux file permissions decide who can read, write, or execute every file — and chmod is how you change them. This calculator turns the abstract octal and symbolic notations into a clickable grid: tick the boxes and instantly see the octal value (755), the symbolic form (rwxr-xr-x), and a ready-to-paste chmod command. It also works in reverse — paste 644 or rwxr--r-- and the grid updates. Everything runs locally in your browser.
Each octal digit is the sum of read = 4, write = 2, execute = 1, and the three digits cover Owner, Group, and Others in that order. So 755 means the owner gets 4+2+1 (everything), while group and others get 4+1 (read + execute) — the standard for scripts and web directories. 644 (owner read/write, everyone else read-only) is the default for regular files, and 600 locks a file to its owner — the required mode for SSH private keys.
A fourth, leading octal digit encodes three special flags. setuid(4) makes an executable run with the file owner's privileges — that is how passwd edits /etc/shadow. setgid(2) does the same for the group, and on a directory it forces new files to inherit the directory's group. The sticky bit(1) on a directory lets only a file's owner delete it — essential for shared folders like /tmp (1777). In symbolic output they overlay the execute slot as s/S and t/T.
Resist chmod 777: world-writable files are a classic security hole, and the real fix is usually correcting ownership with chown. Remember that directories need the execute bit — without it you can list names (r) but cannot enter or access anything inside. Also note chmod is not recursive unless you pass -R, and recursive apply-every mode to a tree mixes files and folders — use find . -type d -exec chmod 755 + and a matching -type f pass instead.
The Chmod Calculator lets you figure out chmod calculatorinstantly, without reaching for a spreadsheet or doing the math by hand. Whether you're planning a budget, checking a loan, or working through homework, the tool applies the correct formula behind the scenes and shows the result the moment you enter your numbers.
Unlike a static chart or table, this calculator adapts to your exact inputs. You can adjust any value and see the outcome update in real time, which makes it easy to compare scenarios — for example, "what if the rate were 1% lower?" or "what if I paid an extra $50 a month?"
Common uses: people reach for this tool when they need to find a chmod 755 meaning, octal to symbolic permissions converter, linux file permission generator, or chmod command builder online.
Browser-based tools like this one have a few real advantages over installed software or manual methods:
The Chmod Calculator is based on the following formula:
octal digit = read(4) + write(2) + execute(1)
Variables: read: r permission, worth 4 write: w permission, worth 2 execute: x permission, worth 1 octal digit: one digit for each of owner, group, and others
Each of the three groups (owner, group, others) becomes one octal digit by adding the enabled permission values. rwx = 7, rw- = 6, r-x = 5.
Worked example: Step 1: Owner has rwx = 4 + 2 + 1 = 7. Step 2: Group has r-x = 4 + 0 + 1 = 5. Step 3: Others have r-- = 4 + 0 + 0 = 4. Result: chmod 754.
More tools you might find useful