Chmod Calculator
Tick read, write and execute for owner, group and others to get the chmod number and the rwx form, or type a number like 755 to read it.
Chmod Calculator turns read, write and execute permissions for owner, group and others into the octal number and the rwx form used by chmod, or reads a number such as 755 back into plain words. Setuid, setgid and the sticky bit are covered.
How do Unix file permissions work?
Octal permissions
Each of owner, group and others gets one digit: read is 4, write is 2 and execute is 1, added together. So 7 is all three, 6 is read and write, 5 is read and execute. 755 means the owner can do everything and everyone else can read and run.
Special bits
An optional leading digit: 4 is setuid, 2 is setgid and 1 is the sticky bit, which on a shared folder stops people deleting each other's files.
Why use Chmod Calculator?
- Both directions. Tick boxes to get a number, or type a number to see what it allows.
- Ready command. Copy chmod 644 filename straight into your terminal.
- Plain summary. Each group is spelled out, such as "Others can: read".
How to use Chmod Calculator, step by step

- Open Chmod Calculator and choose how to start. Tick permissions, or type an octal number.
- Set the permissions. The number, the rwx form and the command update straight away.
- Copy the command. Replace filename with your file or folder.
Frequently asked questions
What do 644 and 755 mean?
644 lets the owner read and write and everyone else only read, the usual setting for files. 755 adds execute for everyone, the usual setting for folders and scripts.
Why is 777 a bad idea?
It lets every user on the system change or replace the file. Use it only when you understand exactly who can reach the machine.
What does a capital S or T mean?
The special bit is set but execute is not, which is usually a mistake.
Looking for the long version? The guides cover each of these jobs in depth.