Home » Binary Converter Tools » Decimal to Octal Converter
Enter a whole decimal number and get the exact octal value in seconds, with the division steps shown.
Last updated 13 November 2026
Everything runs in your browser, so your value never leaves your device. Whole numbers only for number base conversions.
A decimal to octal converter turns an everyday decimal number into an octal number, made of digits from 0 to 7. Octal is still used in file permissions, embedded systems and computing study, so students and developers meet it often.
The method is repeated division by 8. You divide by 8, write down the remainder, then divide the quotient again, until the quotient reaches 0. Reading the remainders from last to first gives the octal answer. This tool does those steps for you and shows them, so you can check every step.
Everything runs in your browser, so your number never leaves your device. The tool handles whole numbers exactly, with no rounding and no sign up.
Divide 42 by 8. The quotient is 5 and the remainder is 2. Write down 2.
Divide 5 by 8. The quotient is 0 and the remainder is 5. Write down 5.
Read the remainders from last to first: 52. So 42 in decimal is 52 in octal.
You can check the answer by place value: 5 times 8 plus 2 equals 42.
In octal, each position is worth 8 times the position to its right. From the right, the place values are 1, 8, 64, 512, and so on. The octal number 377 means 3 times 64 plus 7 times 8 plus 7, which is 192 plus 56 plus 7, which is 255. That is the same 255 the tool gives you, and it is the quickest way to check any answer by hand.
Octal lines up neatly with binary because 8 is 2 to the power 3. Each octal digit stands for exactly three binary digits, so 7 is 111, 5 is 101, and 3 is 011. That is why programmers group binary digits in threes when they read machine values, and why octal still shows up in computing study. If you work with binary too, the Binary to Decimal Converter and the Text to Binary Converter on this site cover the other directions.
The best known use of octal is Unix file permissions. Every file has three permission digits, one for the owner, one for the group, and one for everyone else. Each digit adds read as 4, write as 2, and execute as 1, so 7 means read plus write plus execute and 5 means read plus execute. The classic example is 493 in decimal, which is 755 in octal: divide 493 by 8 to get 61 remainder 5, divide 61 by 8 to get 7 remainder 5, then divide 7 by 8 to get 0 remainder 7, and read the remainders from last to first. So chmod 755 gives the owner full access and gives everyone else read and execute access.
Octal shows up wherever three binary digits are easier to read than a long string of ones and zeroes. Embedded systems and older hardware use octal addresses and register values, and computing courses teach octal beside binary and hex because the three bases show the same idea in different sizes. File permissions are the one place most people still meet octal in real work, which is why 755 is worth knowing. If you need the same number in another base, try the Decimal to Hex Converter, the Hex to Decimal Converter, or the Octal to Hex Converter.
The chart below lists every whole number from 0 to 64 with its octal value. Two handy values past the chart are 100 in decimal is 144 in octal, and 1000 in decimal is 1750 in octal. You can verify any row instantly with the converter above.
| Input | Output |
|---|---|
| 0 in decimal | 0 in octal |
| 1 in decimal | 1 in octal |
| 2 in decimal | 2 in octal |
| 3 in decimal | 3 in octal |
| 4 in decimal | 4 in octal |
| 5 in decimal | 5 in octal |
| 6 in decimal | 6 in octal |
| 7 in decimal | 7 in octal |
| 8 in decimal | 10 in octal |
| 9 in decimal | 11 in octal |
| 10 in decimal | 12 in octal |
| 11 in decimal | 13 in octal |
| 12 in decimal | 14 in octal |
| 13 in decimal | 15 in octal |
| 14 in decimal | 16 in octal |
| 15 in decimal | 17 in octal |
| 16 in decimal | 20 in octal |
| 17 in decimal | 21 in octal |
| 18 in decimal | 22 in octal |
| 19 in decimal | 23 in octal |
| 20 in decimal | 24 in octal |
| 21 in decimal | 25 in octal |
| 22 in decimal | 26 in octal |
| 23 in decimal | 27 in octal |
| 24 in decimal | 30 in octal |
| 25 in decimal | 31 in octal |
| 26 in decimal | 32 in octal |
| 27 in decimal | 33 in octal |
| 28 in decimal | 34 in octal |
| 29 in decimal | 35 in octal |
| 30 in decimal | 36 in octal |
| 31 in decimal | 37 in octal |
| 32 in decimal | 40 in octal |
| 33 in decimal | 41 in octal |
| 34 in decimal | 42 in octal |
| 35 in decimal | 43 in octal |
| 36 in decimal | 44 in octal |
| 37 in decimal | 45 in octal |
| 38 in decimal | 46 in octal |
| 39 in decimal | 47 in octal |
| 40 in decimal | 50 in octal |
| 41 in decimal | 51 in octal |
| 42 in decimal | 52 in octal |
| 43 in decimal | 53 in octal |
| 44 in decimal | 54 in octal |
| 45 in decimal | 55 in octal |
| 46 in decimal | 56 in octal |
| 47 in decimal | 57 in octal |
| 48 in decimal | 60 in octal |
| 49 in decimal | 61 in octal |
| 50 in decimal | 62 in octal |
| 51 in decimal | 63 in octal |
| 52 in decimal | 64 in octal |
| 53 in decimal | 65 in octal |
| 54 in decimal | 66 in octal |
| 55 in decimal | 67 in octal |
| 56 in decimal | 70 in octal |
| 57 in decimal | 71 in octal |
| 58 in decimal | 72 in octal |
| 59 in decimal | 73 in octal |
| 60 in decimal | 74 in octal |
| 61 in decimal | 75 in octal |
| 62 in decimal | 76 in octal |
| 63 in decimal | 77 in octal |
| 64 in decimal | 100 in octal |
If you need the same number in another base, or the reverse direction, try the Octal to Decimal Converter to go back, the Decimal to Binary Converter and the Decimal to Hex Converter for binary and hex, the Binary to Decimal Converter, the Binary to Hex Converter, the Hex to Decimal Converter, the Hex to Binary Converter, the Hex to Octal Converter, the Binary to Octal Converter, the Octal to Binary Converter, the Octal to Hex Converter, the Text to Binary Converter, the Text to Hex Converter, or the Text to ASCII Converter. Each one works the same way, in your browser, with the steps shown so you can check the answer.
Yes, it is completely free with no sign up.
No. This tool converts whole numbers only, so fractions and negative numbers give a plain error message.
The number is divided by 8 again and again, and the remainders are read from bottom to top to give the octal value.
No. All conversion happens in your browser on your own device, so your number never leaves your computer.
493 in decimal is 755 in octal. Divide 493 by 8 to get 61 remainder 5, divide 61 by 8 to get 7 remainder 5, then divide 7 by 8 to get 0 remainder 7, and read the remainders from last to first to get 755. It is the classic example because Unix file permissions use three octal digits, and 755 is the permission that gives the owner full access while everyone else can read and execute.
No. This tool converts whole numbers only, so a value with a decimal point gives a plain error message. To convert a fraction by hand, multiply the fraction by 8 again and again and write down the whole number part of each result. For example, 0.5 times 8 is 4.0, so 0.5 in decimal is 0.4 in octal.
Octal is used for Unix file permissions, embedded systems, and computing study. File permissions are the most common real use: each of the three digits stands for the owner, the group, or everyone else. Octal is also handy because each digit stands for exactly three binary digits, so long binary values are easier to read in octal.
Use place values. Multiply each octal digit by its place value, starting with 1 on the right, then 8, then 64, then 512, and add the results. For example, 377 in octal is 3 times 64 plus 7 times 8 plus 7, which is 192 plus 56 plus 7, which is 255. If the sum matches the decimal number you started with, the answer is right. You can also run the division steps in reverse with the tool above.