Number System Converter

Number System Converter — Binary, octal, decimal and hex — converted live, with Free to use online, no sign-up; runs 100% in your browser on ScopeTreasure.

In short: Binary, octal, decimal and hex — converted live, with every step shown. Free to use in your browser — no sign-up.

What is Number System Converter?

Number System Converter turns a number between binary, octal, decimal and hexadecimal, and shows the working step by step — the place-value expansion one way and the divide-and-keep-the-remainder method the other way.

How to use this tool

  1. Type your number in the box.
  2. Tell the tool which base it is in: binary, octal, decimal or hexadecimal.
  3. Read the same number in all four bases at once.
  4. Follow Step 1 to see how the number becomes decimal, digit by digit.
  5. Follow Step 2 to see the divide-by-the-base steps that build the binary, octal and hex answers.

About this tool

Computers count in binary, with only 0 and 1, while people count in decimal, with 0 to 9. Programmers also use octal (base 8) and hexadecimal (base 16) as a short way to write long binary numbers. This tool converts between all four and shows the working, so it is a study aid as well as a converter.

To turn any base into decimal, multiply each digit by its place value and add the results. In binary 101101, the places are 32, 16, 8, 4, 2 and 1, so the value is 32 + 0 + 8 + 4 + 0 + 1 = 45. In hex 2D, the places are 16 and 1, so the value is 2 × 16 + 13 = 45. The tool lists every one of these steps.

To turn decimal into another base, divide by the new base again and again and keep the remainders. For 45 into binary: 45 ÷ 2 = 22 remainder 1, 22 ÷ 2 = 11 remainder 0, 11 ÷ 2 = 5 remainder 1, 5 ÷ 2 = 2 remainder 1, 2 ÷ 2 = 1 remainder 0, 1 ÷ 2 = 0 remainder 1. Reading the remainders from bottom to top gives 101101. The same method with 8 and 16 gives 55 and 2D.

Hexadecimal uses letters for the digits above 9: A is 10, B is 11, C is 12, D is 13, E is 14 and F is 15. One hex digit holds exactly four binary digits, which is why programmers like it: the byte 10110101 is just B5 in hex. Octal works the same way with three binary digits per digit.

The tool checks your digits as you type. A binary number can only hold 0 and 1, so a 2 in a binary number is flagged at once, with the digit named. Numbers up to 64 digits are accepted, and long numbers stay exact because the tool uses BigInt maths instead of ordinary floating-point numbers.

Students use this tool for digital logic, computer science and exam practice, where every mark depends on showing the steps. It is also handy when reading colours, memory addresses or file permissions, which are often written in hex or octal. Everything runs in your browser, with no sign-up and no upload.

Example — the number 45 in decimal:

Type 45 and pick Decimal. The tool shows 101101 in binary, 55 in octal and 2D in hexadecimal. The binary steps are 45 ÷ 2 = 22 remainder 1, 22 ÷ 2 = 11 remainder 0, 11 ÷ 2 = 5 remainder 1, 5 ÷ 2 = 2 remainder 1, 2 ÷ 2 = 1 remainder 0, 1 ÷ 2 = 0 remainder 1 — remainders from bottom to top: 101101. Check it back: 32 + 8 + 4 + 1 = 45.

Frequently asked questions

How do I convert decimal to binary?
Type the number, pick Decimal, and read the binary answer at once. The tool also lists the divide-by-2 steps: for 45, the remainders from bottom to top give 101101.
What is the difference between binary, octal and hexadecimal?
They are counting systems with different bases: binary uses 2 digits (0, 1), octal uses 8 (0–7), decimal uses 10 (0–9) and hexadecimal uses 16 (0–9, A–F). The same value can be written in any of them — 45 in decimal is 101101 in binary, 55 in octal and 2D in hex.
Why do programmers use hexadecimal?
One hex digit holds exactly four binary digits, so long binary numbers become short and readable. The byte 10110101 is just B5 in hex. Colours, memory addresses and error codes are usually written in hex for the same reason.
How do I convert binary back to decimal?
Multiply each binary digit by its place value (1, 2, 4, 8, 16…) and add them up. For 101101 that is 32 + 0 + 8 + 4 + 0 + 1 = 45. The tool shows every step under Step 1.
What do the letters A to F mean in hexadecimal?
They are the digits above 9: A is 10, B is 11, C is 12, D is 13, E is 14 and F is 15. So hex 2D means 2 × 16 + 13 = 45.
Why does the tool say a digit is not allowed?
Each base only allows its own digits: binary allows only 0 and 1, octal only 0–7. A 2 in a binary number, or an 8 in an octal number, is not a valid digit, so the tool names it and asks you to fix it.
Can it convert very long numbers?
Yes, up to 64 digits. Long numbers stay exact because the tool uses BigInt maths, which does not round large values the way ordinary decimal maths can.
Is this converter free, and is my data stored?
Yes, it is free, with no sign-up and no account. The conversion runs in your browser and nothing you type is saved or sent anywhere.

Related Converters tools