A chmod value
493 in decimal equals 755 in octal — the number behind the common Unix chmod 755 permission.
Convert decimal numbers to octal (base 8) instantly — free online converter.
About
Octal numbers still turn up in Unix permission codes and in C-style literals that start with a leading zero, so converting decimal to octal is mostly about translating a familiar everyday number into that older base-8 notation.
Repeated division works here too, dividing by 8 instead of 2: 493 ÷ 8 = 61 r 5, 61 ÷ 8 = 7 r 5, and 7 ÷ 8 = 0 r 7, so 493 is 755 in octal. That's exactly the permission number chmod 755 uses, one of the few places you'll still meet octal in everyday work.
Examples
3 worked examples
493 in decimal equals 755 in octal — the number behind the common Unix chmod 755 permission.
64 in decimal equals 100 in octal.
10 converts to 12 in octal — one group of eight plus two.
FAQ
Quick answers to common questions about the Decimal to Octal Converter.
Type your decimal number above, with decimal selected as the input base. The octal value appears instantly in the results table — nothing is uploaded anywhere.
Divide the number by 8 repeatedly and keep each remainder: 493 ÷ 8 = 61 remainder 5, 61 ÷ 8 = 7 remainder 5, 7 ÷ 8 = 0 remainder 7. Reading the remainders bottom to top gives 755.
493 in decimal is 755 in octal — the same number behind the common Unix chmod 755 permission setting (read/write/execute for the owner, read/execute for everyone else).
Yes. It's free, with no sign-up and no limit on how many numbers you convert.
Yes — the same converter works in both directions. Select octal as the input base instead, or use the dedicated octal to decimal converter page.
Up to 9,007,199,254,740,991 — beyond that the conversion won't be exact, and the tool will tell you so.
Each octal digit holds exactly three bits — read, write and execute — so one digit describes one group of users. The same permissions written in decimal, 493 for 755, hide that structure completely.
Negative whole numbers work and keep their minus sign, so -8 becomes -10. Fractions such as 8.5 aren't accepted — the tool converts whole numbers only.
Mainly in Unix file permissions and in some escape sequences, such as \101 for the letter A in C strings. Hex has replaced octal almost everywhere else, because it maps more neatly onto 8-bit bytes.
Did Decimal to Octal Converter work for you?