This chmod calculator turns ticked read, write and execute boxes into a chmod number and symbolic notation, and it works the other way too. It is made for anyone who manages Linux or Unix files, from server admins to people using a hosting file manager. Everything runs in your browser, and it is free to use.
How to use the chmod calculator
- Tick the permissions you want: read, write and execute for the owner, the group and everyone else. The number updates as you click.
- Or go the other direction. Type a number such as 644 and see which boxes it switches on.
- Check the symbolic notation, for example rwxr-xr-x. It should match what you expect to see in a directory listing.
- Copy the chmod command.
- Paste it into your terminal, or enter the number in your hosting file manager's permissions box.

This tool pairs well with the .htaccess Redirect Generator. If you do this kind of job often, the Border Radius Generator and the PX to REM Converter can save you time too.
If you only need a standard setting, start from one of the common presets and adjust from there.
How do chmod numbers work?
Each permission has a value. Read is 4, write is 2 and execute is 1. You add the values together for each of the three groups: owner, group and others. That gives you three digits.
| Permission | Letter | Value |
|---|---|---|
| Read | r | 4 |
| Write | w | 2 |
| Execute | x | 1 |
Take 755. The owner gets 7 (4+2+1), so read, write and execute. The group gets 5 (4+1), so read and execute. Others also get 5. In symbolic notation that is rwxr-xr-x.

Common chmod values at a glance
| Number | Symbolic | Typical use |
|---|---|---|
| 644 | rw-r--r-- | Regular files such as HTML, CSS and images |
| 755 | rwxr-xr-x | Folders and scripts that need to run |
| 600 | rw------- | Private files only the owner should read or edit |
| 700 | rwx------ | Private folders or scripts for the owner alone |
| 777 | rwxrwxrwx | Anyone can read, write and run. Avoid it. |
Which permissions should a website use?
Use chmod 644 for files and chmod 755 for folders. That lets the web server read your files and enter your directories, while only you can change them. Most websites run fine with these two settings.
Folders need the execute bit because, on a directory, execute means "allowed to enter". A folder set to 644 often looks empty or throws an error, even though the files inside are fine.
What is this tool good for?
- Setting up a website. Check the right values before you fix a folder through FTP or a hosting file manager.
- Reading an unfamiliar number. Someone's guide says 750. Type it in and see who gets what.
- Translating a listing. You see -rw-r----- in a terminal and want the number for a script.
- Learning. Tick boxes and watch the digits change. It is a quick way to understand Linux file permissions without memorising tables.
- Writing documentation. Copy the exact chmod command into a README or a deployment note.
Tips for best results
- Give the least access that still works. If a file only needs to be read, do not make it writable by the group or others.
- Think in three digits. The first is you, the second is your group, the third is everyone else.
- Keep private files private. Config files with passwords are better at 600 than 644.
- Check the symbolic notation as well as the number. If the letters look wrong, the number is wrong.
- Test after changing. Reload the page or run the script once to confirm nothing broke.
Common problems and mistakes
Using 777 to fix an error
It is tempting when something says "permission denied". But 777 lets everyone on the system write to that file. Work out what the file actually needs, and set that instead.
Setting every file to 755
Ordinary files rarely need to be executable. Setting 644 on files and 755 on folders is cleaner and safer.
Mixing up the digits
Typing 557 instead of 755 gives others more access than the owner. Look at the symbolic result before you apply a number.
Changing the wrong thing
The chmod command only changes permissions. If a file still cannot be read, the cause may be its owner or group, not its mode.
Is my data safe?
You are not uploading anything. The calculation happens in your browser, so you can try values freely.
