Decimal to octal converter
Enter a decimal number and get its octal value instantly, plus the other bases and the step-by-step working. Handles huge numbers, negatives and fractions.
Working for 202610
Divide by 8, keep the remainders
- DivisionQuotientRemainder
- 2026 ÷ 82532
- 253 ÷ 8315
- 31 ÷ 837
- 3 ÷ 803
Read the remainders from the bottom up: 3752.
How to convert decimal to octal
- Divide by 8 and note the remainder (0–7).
- Repeat with the quotient until it is 0.
- Read remainders bottom-up. 100 → 4, 4, 1 = 144.
Decimal is the base people count in, so it is the usual starting or ending point when you need a value a human can check. Octal survives mainly in Unix file permissions (chmod 755), in some older systems, and in C/Python literals such as 0o755.
Related conversions
Binary to octal · Octal to decimal · Decimal to binary · Decimal to hex · Hex to octal · any base 2–36 · signed (two's complement)
Questions people ask
How do you convert decimal to octal?
Divide by 8 and note the remainder (0–7). Repeat with the quotient until it is 0. Read remainders bottom-up. 100 → 4, 4, 1 = 144.
What is 2026 in octal?
2026 in decimal (base 10) is 3752 in octal (base 8).
Does it handle negative numbers and fractions?
Yes. A leading minus sign is kept, and digits after a point are converted too. Some fractions that end in one base repeat forever in another (0.1 in decimal is 0.000110011… in binary), so the result is cut at 24 digits and marked as repeating.
Is there a size limit?
No practical one. The converter uses arbitrary-precision integers (JavaScript BigInt), so 64-bit, 128-bit and longer values convert exactly, without rounding.