644rw-r--r--chmod 644 filenamePermission Grid
| Owner | Group | Others | |
|---|---|---|---|
| Read | |||
| Write | |||
| Execute |
Manual Input
Special Permissions
Common Presets
How to Calculate Linux File Permissions
- 1
Select permissions using the visual grid
Click the checkboxes in the permission grid to toggle Read, Write, and Execute permissions for Owner, Group, and Others. Each combination updates the numeric and symbolic output instantly, so you can see the result as you build your permission set. - 2
Choose a common preset or enter an octal value
Use the common presets like 644, 755, or 777 to quickly set standard permission configurations. Alternatively, type a three- or four-digit octal number directly into the numeric field and the grid will update to reflect your input. - 3
Configure special permissions if needed
Enable SUID, SGID, or the Sticky Bit for advanced scenarios. SUID (4000) runs executables as the file owner, SGID (2000) runs them as the group, and the Sticky Bit (1000) prevents other users from deleting files they do not own in shared directories. - 4
Copy the chmod command and apply it
Copy the generated chmod command with a single click and paste it into your terminal. The command includes both the permission value and a placeholder filename you can replace with your actual file or directory path.
Common Use Cases
Web Server File Permissions
Deployment Script Permissions
Shared Directory Configuration
SSH Key and Config Security
Why Use Our Chmod Calculator?
The chmod command is one of the most essential tools in Linux and Unix system administration. It controls who can read, write, and execute files and directories, forming the first line of defense in your server's security. This free chmod calculator converts between numeric (octal) and symbolic permission formats instantly, so you never have to memorize octal codes or count permission bits manually.
Each permission digit represents a combination of Read (4), Write (2), and Execute (1). The first digit applies to the file owner, the second to the group, and the third to all other users. Advanced scenarios require a fourth digit for special permissions: SUID (4), SGID (2), and the Sticky Bit (1). This calculator handles all four digits and displays the full symbolic representation alongside the octal value. Pair it with the Regex Tester when parsing permission strings from ls -l output, or use the Cron Expression Generator to schedule permission audits on your servers.
Whether you are hardening a production web server, configuring SSH keys, setting up shared directories, or writing deployment scripts, getting file permissions right prevents security vulnerabilities and silent failures. Use the Diff Checker to compare permission configurations across environments, or the Base64 Encoder when encoding permission data for configuration files. All processing runs entirely in your browser -- nothing is uploaded to any server, keeping your workflow fast and private.
How It Compares
Most chmod reference charts online are static images or tables that require you to look up values manually. Dedicated tools like chmod-calculator.com and permissions-calculator.org offer basic conversion but lack special permission support and preset shortcuts. This chmod calculator provides a fully interactive visual grid where you click to set permissions and see the octal, symbolic, and full chmod command update in real time. SUID, SGID, and Sticky Bit are first-class features, not afterthoughts.
Unlike server-based permission tools, this calculator runs entirely in your browser. There is no signup, no usage tracking, and no data leaves your device. For developers who frequently switch between numeric and symbolic notation, the instant two-way conversion and one-click command copying eliminate the need to keep a chmod cheat sheet open in another tab.