Home · Everyday · Tech, Text & Media · Chmod Calculator

Chmod Calculator

chmod permissions both ways: rwxr-xr-x into octal, or an octal mode like 755 into its symbolic form.

Your figures

Example result — edit the figures to make it yours

755

Octal mode

Each group of three bits (read = 4, write = 2, execute = 1) sums to one octal digit, for owner, group and others in that order.

Ownerrwx
Groupr-x
Othersr-x
chmod commandchmod 755 <file>

What this calculator does

chmod permissions both ways: rwxr-xr-x into octal, or an octal mode like 755 into its symbolic form. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

Each triplet sums read 4, write 2, execute 1 into one octal digit

Each octal digit sums read (4), write (2) and execute (1) for owner, group and others, in that order.

The symbolic form lists rwx triplets in the same owner-group-others order, with − for absent permissions.

chmod changes permissions only — ownership is changed with chown.

Worked example

With the example inputs this page opens with, the result is 755 — octal mode. Each group of three bits (read = 4, write = 2, execute = 1) sums to one octal digit, for owner, group and others in that order.

Quick reference

Quick reference — the worked example in full
FigureValue
Octal mode755
Ownerrwx
Groupr-x
Othersr-x
chmod commandchmod 755 <file>

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Chmod Calculator work?

chmod permissions both ways: rwxr-xr-x into octal, or an octal mode like 755 into its symbolic form. Permissions · Direction → Converted mode. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Chmod Calculator need?

Permissions · Direction → Converted mode. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Chmod Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.