Chmod Calculator
Convert between octal (755) and symbolic (rwxr-xr-x) Linux file permissions. See a visual permission grid with detailed breakdowns for Owner, Group, and Other.
How Does the Chmod Calculator Work?
The Chmod Calculator is a free online tool that converts Linux and Unix file permissions between octal (numeric) and symbolic notation. File permissions in Unix-like operating systems control who can read, write, and execute files and directories. The chmod command (short for "change mode") is used to modify these permissions, and understanding the notation is essential for system administrators, developers, and anyone working with Linux servers.
Every file and directory in a Unix-like system has three sets of permissions: one for the owner (user who created the file), one for the group (users who share a common group), and one for others (everyone else). Each set can include read (r), write (w), and execute (x) permissions. In octal notation, each permission is represented by a number: read is 4, write is 2, and execute is 1. The sum of these values gives the permission digit for each category.
Understanding Octal Permission Values
Read (r) = 4
Write (w) = 2
Execute (x) = 1
Example: 755
Owner: 7 = 4+2+1 (rwx) — full access
Group: 5 = 4+0+1 (r-x) — read and execute
Other: 5 = 4+0+1 (r-x) — read and execute
Common Permission Values
Certain permission combinations are used frequently in Linux system administration:
777(rwxrwxrwx) — full access for everyone. Use with extreme caution as it allows any user to read, modify, and execute the file.755(rwxr-xr-x) — standard for directories and executable scripts. The owner has full control while others can read and execute.644(rw-r--r--) — standard for regular files. The owner can read and write, while others can only read.700(rwx------) — private directory or executable. Only the owner has any access.600(rw-------) — private file. Only the owner can read and write. Commonly required for SSH keys and configuration files containing secrets.444(r--r--r--) — read-only for everyone. Useful for protecting important configuration files from accidental modification.
When to Use Chmod
You need to set correct file permissions when deploying web applications, configuring SSH keys (which require 600 or 400), setting up cron jobs, managing shared directories on multi-user systems, and securing sensitive configuration files. Incorrect permissions are one of the most common causes of "permission denied" errors on Linux servers. Web servers like Apache and Nginx require specific permission settings on document roots, scripts, and upload directories to function correctly while maintaining security.
This calculator eliminates the need to memorize permission values by letting you type an octal code like 755 and instantly see the symbolic representation, or enter symbolic notation like rwxr-xr-x to get the numeric equivalent. The visual grid makes it easy to verify exactly which permissions are granted to each user category before running the chmod command on your server.