Calculator Problems

How to Convert and Calculate Number Bases

A number base defines the digits and place values used to represent a number. Converting between bases is useful for programming, digital electronics, data inspection, and learning how computers represent values.

Last updated: 2 November 2026

Open Number Base Converter →

Step-by-step

  1. Identify the source base of your number.
  2. Check that each digit is valid for that base.
  3. Enter the value and select the target base.
  4. Convert the value and review the output.
  5. If accuracy is important, convert the result back to the original base and compare it with the input.

Common number bases

Decimal uses base 10, binary uses base 2, octal uses base 8, and hexadecimal uses base 16. Each system represents values with its own place-value rules.

Why conversions fail

A digit that is valid in one base may be invalid in another. For example, 2 is not a valid digit in a binary number. Always select the correct source base before converting.

Worked example

The decimal number 255 is FF in hexadecimal, 377 in octal and 11111111 in binary. Enter 255 with From base 10 and the tool shows all of them.

USE THE TOOL

Finish the task with DevUtilityKits

Use the relevant online utility, check the result, and continue with your development workflow.

Open Number Base Converter →
FAQ

Frequently asked questions

What is a number base?

A number base is the number of distinct digits used in a positional numeral system, including zero. It determines the place values of each digit.

Can the Number Base Converter handle large numbers?

Yes. It converts whole numbers between any bases from 2 to 36 and handles very large values exactly. It does not convert fractions.

How do I convert decimal to binary?

Divide by 2 repeatedly and read the remainders from last to first. 13 gives 1101.

What is the largest digit in base 8?

7. A base uses digits from 0 to one less than the base.