Why chmod 755 is really 493

A Unix file mode is one number written in base 8 — three permission triples, one digit each.

Number bases and coding · Level: Classic result · Updated on 2026-11-10

Type 755 into the base converter with the source base set to 8 and the decimal line reads 493: seven 64s, five 8s and five units. Type the place values out — 7*64+5*8+5 — and the workbench prints 493 the same way. Nothing in the number changed; only the base it was written in.

Octal survived because three bits fit one digit: 755 is 111 101 101 grouped, which is owner rwx, group r-x, other r-x. The same card shows the binary line as 111101101 with no separators at all — which is exactly why people find the octal shorthand easier than the binary, and why the shorthand looks arbitrary until the grouping is drawn in.

Answer

493

How to read it

Decimal DEC for the octal input 755. Grouped three bits at a time, 111 101 101 is rwxr-xr-x.

Source

The octal mode convention is in the Unix Programmer's Manual from the 1970s; the rwx = 4|2|1 bit weights come from the Unix file system itself

Work it in the calculator

These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.

This is an independent third-party tool site. It is not affiliated with, sponsored by, or authorised by Casio, Texas Instruments or their distributors. Model names and product names are trademarks of their respective owners and appear here only to identify devices.

The keystroke sequences in these manuals were written from this site's own layout data — the same data the online calculator renders — plus publicly available product facts. Specifications and regional configurations are confirmed against the physical device and the manufacturer's most recent material.