Skip to main content

Decimal to Octal

Convert decimal numbers to octal.

What does this tool do?

Direct answerConverts a decimal integer to octal (base-8).
Key factSuccessive division by 8 with recorded remainders produces the octal digits.
ProcessingRuns locally in your browser; no data is sent to a server.

How to use

  1. Type a decimal number like 15.
  2. Click Convert.
  3. See the octal value.

Example

Input

15

Output

17

Who is this for?

This tool was built for people who need a fast answer in the browser — no install, no account, no data leaving the device.

Programmers working with low-level data, computer science students, and electronics hobbyists reading registers — anyone tired of converting number bases by hand.

Frequently asked questions

What is 15 in octal?

17.

Why does JS show 0o17?

Modern JS uses the 0o prefix for octal literals.

Negative numbers?

Supported — the sign is preserved.

More tools in this category