Discover
Random

Chmod Calculator

Convert interactively between Unix octal permissions (755) and symbolic notation (rwxr-xr-x).

Owner (User)
Group
Public (Others)

Free Interactive Unix Chmod Permissions Calculator

Our free chmod calculator lets you toggle Read ($4$), Write ($2$), and Execute ($1$) permission bits for Owner, Group, and Public classes — or type a 3-digit octal mode like 755, 644, or 600 — to see the corresponding POSIX symbolic string and shell command immediately.

About the Chmod Calculator

How It Works & POSIX File Mode Bits

In POSIX-compliant operating systems (Linux, macOS, BSD), standard file permissions are stored as three 3-bit octal digits representing Owner ($u$), Group ($g$), and Others ($o$). Within each triad, the high bit ($2^2 = 4$) grants read access (r), the middle bit ($2^1 = 2$) grants write access (w), and the low bit ($2^0 = 1$) grants execute/traverse access (x).

Authoritative Sources & Standards

  1. IEEE Std 1003.1 (POSIX.1) — File Mode Bits & chmod Utility Specification — The Open Group / IEEE

Frequently Asked Questions

How are octal chmod numbers (like 755 or 644) calculated?

Each digit represents Owner, Group, and Public permissions respectively, formed by summing Read (4) + Write (2) + Execute (1). For example, 7 = 4+2+1 (rwx), 5 = 4+0+1 (r-x), and 4 = 4+0+0 (r--).

What is the difference between chmod 755 and chmod 644?

chmod 644 (rw-r--r--) is standard for regular files (owner can read/write, everyone else can read). chmod 755 (rwxr-xr-x) adds execute permission and is standard for directories and executable scripts.

Embed Chmod Calculator

Copy and paste this HTML snippet to embed this interactive calculator on your website or blog:

Discover more tools

Surprise me