How to Calculate Chmod Permissions
Unix file permissions control who can read, write, and execute files. The numeric (755) and symbolic (rwxr-xr-x) notations are compact but confusing for many developers. This calculator lets you set permissions visually and understand exactly what each number means.
Try Chmod Calculator Now
Free, no signup. Works in your browser.
Open the Chmod Calculator
Navigate to the Chmod Calculator in the Bonus Tools category. You will see a 3x3 grid of checkboxes for Owner, Group, and Others, each with Read, Write, and Execute toggles.
Set permissions with checkboxes
Click checkboxes to enable or disable Read (4), Write (2), and Execute (1) for each permission class. The numeric value updates instantly — Owner 7 (rwx), Group 5 (r-x), Others 5 (r-x) gives you 755.
Or enter a numeric value
Type a three or four-digit numeric value like 644 or 0755 directly. The checkboxes update to reflect the permissions, and the symbolic notation shows the full rwx string.
Review the breakdown
The tool shows a human-readable summary: who can do what. For example, 755 means 'Owner can read, write, and execute. Group and others can read and execute.'
Copy the chmod command
Copy the full chmod command (e.g., `chmod 755 filename`) ready to paste into your terminal. The tool also shows the equivalent symbolic command: `chmod u=rwx,go=rx filename`.
Pro Tips
- *Use 644 for regular files (owner reads/writes, everyone else reads) and 755 for directories and scripts.
- *Never use 777 in production — it gives everyone full access. Use the minimum permissions necessary.
- *The execute bit on directories means 'permission to list contents', not 'run as a program'.
- *Use `chmod -R` to apply permissions recursively, but be careful — directories and files often need different permissions.
- *The sticky bit (1xxx) on /tmp prevents users from deleting each other's files.
Related Guides
How to Build a Docker Compose File
Generate Docker Compose YAML files with a visual builder. Configure services, volumes, networks, environment variables, and health checks without memorizing the syntax.
How to Build Cron Expressions
Build and understand cron expressions with a visual editor. Preview next run times and convert between crontab syntax and human-readable schedules.
How to URL Encode and Decode
Encode special characters for safe use in URLs or decode percent-encoded strings back to readable text. Handles UTF-8, query parameters, and full URIs.