Skip to content
UnitChart

Convert decimal to octal

Decimal (base 10) to octal (base 8). Type a value below, or use the reference table further down.

255 (decimal) = 377 (octal)

Divide repeatedly by 8 and read the remainders from last to first. 255 in base 8 is 377.

How to convert decimal to octal

Divide repeatedly by 8 and read the remainders from last to first. 255 in base 8 is 377.

Conversions here use arbitrary-precision integers, so values beyond 64 bits convert exactly rather than being rounded.

decimal to octal conversion table

Use this decimal to octal chart for quick reference.

decimal to octal conversion table
Decimal (base 10)Octal (base 8)
00
11
22
33
44
55
66
77
810
911
1012
1113
1214
1315
1416
1517
1620
3240
64100
100144
127177
128200
255377
256400
5121000
10001750
10231777
10242000
40957777
409610000
65535177777
65536200000

Common decimal to octal values

89101632641001282552564935115121000

What is decimal?

Decimal is base 10, the everyday number system, using the digits 0 to 9. Each place is worth ten times the one to its right.

What is octal?

Octal is base 8, using the digits 0 to 7. One octal digit encodes exactly three bits, which is why Unix file permissions are written as octal numbers such as 755.

Frequently asked questions

How do you convert decimal to octal?

Divide repeatedly by 8 and read the remainders from last to first. 255 in base 8 is 377.

What is 255 decimal in octal?

255 in decimal is 377 in octal. In plain decimal that value is 255.

What digits does decimal use?

Decimal is base 10 and uses 0-9. Decimal is base 10, the everyday number system, using the digits 0 to 9. Each place is worth ten times the one to its right.

Other base conversions