Numbers Converter
Convert between any numeral systems instantly. No registration, no data stored.
How Numbers Conversion Works
All number conversions use Decimal (Base-10) as the intermediate base:
Example: "FF" (hex) → 255 (decimal) → "11111111" (binary)
Actual Calculation
Why Trust This Converter?
Conversion Formula
Accuracy & Standards
Numeral System Relationship
Numeral System Comparison
| System | Base | Digits | Used In |
|---|---|---|---|
| Binary | 2 | 0-1 | 💻 Computing |
| Octal | 8 | 0-7 | 💻 Computing |
| Decimal | 10 | 0-9 | 🌍 Everyday |
| Hex | 16 | 0-9, A-F | 💻 Computing |
| Base-12 | 12 | 0-9, A-B | 📐 Measurement |
| Base-20 | 20 | 0-9, A-J | 🌍 Historical |
| Base-36 | 36 | 0-9, A-Z | 🔢 Encoding |
| Roman | - | I,V,X,L,C,D,M | 📚 Historical |
My Presets
Most Used Today
How We Calculated
Try These Conversions
Quick Conversion Table
Select systems and click a value above
Learn About Numeral Systems
Recent Conversions
No recent conversions
Real-World Number Examples
Popular Number Conversions
Search Systems
How This Converter Works
This numbers converter uses Decimal (Base-10) as the intermediate base for all conversions.
Step 1: Parse input value according to the "From" system
Step 2: Convert to Decimal as intermediate
Step 3: Convert Decimal to the "To" system
Real Examples
Limitations
- • This tool is for informational purposes only
- • Roman numerals limited to 1-3999
- • Very large numbers may display in scientific notation
Trust & Privacy
All calculations are performed locally in your browser. No personal information is stored or shared.
References
References were selected from recognized standards organizations and are reviewed periodically for accuracy.
Editorial Process
The CalculatorKits editorial team reviews this tool periodically.
- Conversion formula accuracy
- Unit definitions and standards
- User guidance and clarity
- Educational content
Last reviewed: July 2026
Frequently Asked Questions
Enter a number, select the "From" and "To" systems, and the result appears instantly.
We support binary, octal, decimal, hex, base-5, base-12, base-20, base-36, and Roman numerals.
Yes, it uses standard numeral system definitions and is accurate for all supported systems.
Select "Hexadecimal" as From and "Decimal" as To, then enter your hex value (e.g., FF).
Yes, your recent conversions are saved locally in your browser.
📍 Numbers Converter — For educational and informational use only
Numbers Converter: Convert Binary, Decimal, Octal, Hexadecimal, Roman Numerals and More
The same number can look completely different depending on the number system being used.
For example, the decimal number 255 can be written as 11111111 in binary, 377 in octal, and FF in hexadecimal. The value has not changed. Only its representation has changed.
That is where a numbers converter becomes useful.
The CalculatorKits Numbers Converter lets you convert numbers between binary, decimal, octal, hexadecimal, Roman numerals, and several other bases. The tool uses decimal as an intermediate base, so a value can be converted from one supported system to another without you having to perform the calculations manually.
It supports more than 10 numeral systems and is designed for students, programmers, developers, engineers, and anyone who needs to work with different ways of representing numbers.
Quick Answer
Here are some of the most useful number system conversions:
| Decimal | Binary | Octal | Hexadecimal | Roman |
|---|---|---|---|---|
| 1 | 1 | 1 | 1 | I |
| 5 | 101 | 5 | 5 | V |
| 10 | 1010 | 12 | A | X |
| 15 | 1111 | 17 | F | XV |
| 16 | 10000 | 20 | 10 | XVI |
| 31 | 11111 | 37 | 1F | XXXI |
| 42 | 101010 | 52 | 2A | XLII |
| 100 | 1100100 | 144 | 64 | C |
| 255 | 11111111 | 377 | FF | CCLV |
| 2024 | 11111100100 | 3744 | 7E8 | MMXXIV |
For example:
255 decimal = 11111111 binary = 377 octal = FF hexadecimal
The CalculatorKits converter uses decimal as its internal intermediate system when moving between supported bases.
What Is a Numbers Converter?
A numbers converter changes the representation of a numerical value from one numeral system to another.
A numeral system is a structured way of writing numbers using a particular set of symbols and positional rules.
The systems most commonly encountered in computing and mathematics are:
- Binary, base 2
- Octal, base 8
- Decimal, base 10
- Hexadecimal, base 16
The CalculatorKits Numbers Converter also supports additional bases and Roman numerals. Its current interface includes systems such as base 5, base 12, base 20, and base 36 alongside the major computing bases.
Unicode also recognizes that numerical notation can range from familiar decimal notation to non decimal systems and Roman numerals.
Why Do Different Number Systems Exist?
Humans normally use decimal because it is the number system we learn for everyday counting.
Computers, however, operate at a much lower level using binary states. Binary represents values using only two symbols:
0 and 1
Hexadecimal and octal provide shorter ways of writing binary values.
For example, the binary value:
11111111
contains eight binary digits.
The same value can be written as:
FF
in hexadecimal.
This makes hexadecimal much easier to read when working with computer memory, machine data, programming, debugging, and other technical information.
NIST documentation describes hexadecimal as base 16 using the symbols 0 through 9 and A through F, while octal is base 8 using digits 0 through 7.
Use the CalculatorKits Numbers Converter
The easiest way to convert between number systems is to use the CalculatorKits Numbers Converter.
The interface follows a simple From and To workflow.
How to Convert a Number
- Enter the number you want to convert.
- Select the number system of your input.
- Select the number system you want as the result.
- View the converted value.
- Copy the result if needed.
- Choose another conversion when you are ready.
For example, to convert hexadecimal FF to decimal:
Input: FF
From: Hexadecimal
To: Decimal
Result: 255
The calculator can also show the conversion using decimal as the intermediate representation.
What Is a Number Base?
The base of a number system tells you how many symbols are available before the system moves to the next positional place.
Decimal is base 10 because it uses:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Binary is base 2:
0, 1
Octal is base 8:
0 through 7
Hexadecimal is base 16:
0 through 9 and A through F
The letters in hexadecimal represent values above 9:
| Hex digit | Decimal value |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
| 4 | 4 |
| 5 | 5 |
| 6 | 6 |
| 7 | 7 |
| 8 | 8 |
| 9 | 9 |
| A | 10 |
| B | 11 |
| C | 12 |
| D | 13 |
| E | 14 |
| F | 15 |
This is why hexadecimal can represent 16 different values with a single digit.
Decimal Number System
Decimal is the standard number system used in everyday life.
It is positional, meaning that the value of a digit depends on its position.
Consider:
582
The calculation is:
5 × 10² + 8 × 10¹ + 2 × 10⁰
Therefore:
500 + 80 + 2 = 582
The same positional principle works in binary, octal, and hexadecimal. The only difference is the base.
Binary Number System
Binary is base 2 and uses only:
0 and 1
Each position represents a power of 2.
For example:
1011₂
can be expanded as:
1 × 2³ + 0 × 2² + 1 × 2¹ + 1 × 2⁰
Therefore:
8 + 0 + 2 + 1 = 11
So:
1011₂ = 11₁₀
Binary is fundamental to digital computing because electronic systems can represent two distinct states conveniently.
Decimal to Binary
To convert a decimal integer to binary manually, repeatedly divide the number by 2 and record the remainders.
For example, convert 42 to binary.
| Division | Quotient | Remainder |
|---|---|---|
| 42 ÷ 2 | 21 | 0 |
| 21 ÷ 2 | 10 | 1 |
| 10 ÷ 2 | 5 | 0 |
| 5 ÷ 2 | 2 | 1 |
| 2 ÷ 2 | 1 | 0 |
| 1 ÷ 2 | 0 | 1 |
Read the remainders from bottom to top:
101010
Therefore:
42 decimal = 101010 binary
The CalculatorKits Numbers Converter can perform this conversion instantly.
Binary to Decimal
To convert binary to decimal, multiply each binary digit by the corresponding power of 2.
For example:
101010₂
Starting from the right:
0 × 2⁰
1 × 2¹
0 × 2²
1 × 2³
0 × 2⁴
1 × 2⁵
Therefore:
0 + 2 + 0 + 8 + 0 + 32 = 42
So:
101010₂ = 42₁₀
The general formula is:
Decimal = Σ digit × 2ⁿ
where the exponent starts at zero on the rightmost digit.
Hexadecimal Number System
Hexadecimal is base 16.
It uses 16 symbols:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
The letters represent decimal values from 10 through 15.
Hexadecimal is popular in computing because each hexadecimal digit corresponds exactly to four binary bits.
For example:
F = 1111
and:
A = 1010
Therefore:
AF = 1010 1111
This compact relationship makes hexadecimal particularly convenient for displaying binary based information.
Decimal to Hexadecimal
To convert decimal to hexadecimal manually, repeatedly divide the number by 16 and record the remainders.
For example, convert 255 to hexadecimal.
255 ÷ 16 = 15 remainder 15
The decimal value 15 corresponds to F.
The quotient 15 corresponds to another F.
Therefore:
255₁₀ = FF₁₆
This is one of the most common hexadecimal conversions.
Another example:
100 decimal = 64 hexadecimal
because:
6 × 16 + 4 = 100
Hexadecimal to Decimal
To convert hexadecimal to decimal, multiply each digit by a power of 16.
For example:
2A₁₆
The A represents 10.
Therefore:
2 × 16¹ + 10 × 16⁰
= 32 + 10
= 42
So:
2A₁₆ = 42₁₀
This is why:
42 decimal = 2A hexadecimal
and:
2A hexadecimal = 42 decimal
Binary to Hexadecimal
Binary and hexadecimal have a particularly convenient relationship.
Every hexadecimal digit corresponds to exactly four binary bits.
| Binary | Hex |
|---|---|
| 0000 | 0 |
| 0001 | 1 |
| 0010 | 2 |
| 0011 | 3 |
| 0100 | 4 |
| 0101 | 5 |
| 0110 | 6 |
| 0111 | 7 |
| 1000 | 8 |
| 1001 | 9 |
| 1010 | A |
| 1011 | B |
| 1100 | C |
| 1101 | D |
| 1110 | E |
| 1111 | F |
For example:
11111111
Group the bits into sets of four:
1111 1111
Then convert each group:
1111 = F
1111 = F
Therefore:
11111111₂ = FF₁₆
This direct relationship is one reason hexadecimal is so useful in programming and computer engineering.
Hexadecimal to Binary
The reverse process works the same way.
Suppose you have:
3A
Convert each hexadecimal digit separately:
3 = 0011
A = 1010
Therefore:
3A = 00111010
The leading zeros are important when you are representing each hexadecimal digit as exactly four bits.
Octal Number System
Octal is base 8.
It uses:
0, 1, 2, 3, 4, 5, 6, 7
The digits 8 and 9 are not valid octal digits.
For example:
52₈
means:
5 × 8¹ + 2 × 8⁰
= 40 + 2
= 42₁₀
Therefore:
52 octal = 42 decimal
The same value can also be written as:
101010 binary
or:
2A hexadecimal
So:
52₈ = 42₁₀ = 101010₂ = 2A₁₆
Decimal to Octal
To convert decimal to octal, repeatedly divide by 8.
For example:
42 ÷ 8 = 5 remainder 2
The quotient is 5, which is already a single octal digit.
Therefore:
42₁₀ = 52₈
Another example:
255 decimal = 377 octal
because:
3 × 8² + 7 × 8¹ + 7 × 8⁰
= 192 + 56 + 7
= 255
Octal to Decimal
To convert octal to decimal, multiply each digit by a power of 8.
For example:
377₈
becomes:
3 × 8² + 7 × 8¹ + 7 × 8⁰
= 192 + 56 + 7
= 255
Therefore:
377₈ = 255₁₀
Binary to Octal
Binary can also be converted to octal through grouping.
Each octal digit corresponds to three binary bits.
For example:
101010₂
Group from the right:
101 010
Then:
101 = 5
010 = 2
Therefore:
101010₂ = 52₈
This is another reason different bases are useful. Binary values can be compressed into shorter octal or hexadecimal representations.
Base 5, Base 12, Base 20 and Base 36
Not every number system is limited to binary, octal, decimal, and hexadecimal.
The CalculatorKits Numbers Converter also supports several additional bases. Its current system comparison includes base 5, base 12, base 20, and base 36.
For a positional number system, the same basic principle applies.
In base 5, the available digits are:
0, 1, 2, 3, 4
In base 12, the system requires twelve symbols or a convention for representing values 10 and 11.
Base 36 is particularly compact because it can use the digits 0 through 9 and letters A through Z.
The important point is that the base determines the positional values.
Roman Numerals
Roman numerals work differently from binary, decimal, octal, and hexadecimal.
Instead of being a standard positional radix system, Roman numerals use symbols with established numerical values and combination rules. Unicode classifies Roman numerals among non positional or algorithmic numeral representations rather than ordinary decimal radix digits.
The main Roman numeral symbols are:
| Symbol | Value |
|---|---|
| I | 1 |
| V | 5 |
| X | 10 |
| L | 50 |
| C | 100 |
| D | 500 |
| M | 1000 |
Examples include:
IV = 4
IX = 9
XL = 40
XC = 90
CD = 400
CM = 900
The CalculatorKits Numbers Converter supports Roman numeral conversion, with Roman numeral input limited to the conventional range of 1 through 3999.
For a dedicated two way Roman numeral workflow, the Roman Numeral Converter is also available.
Decimal to Roman Numerals
Suppose you want to convert:
2024
into Roman numerals.
Break it into standard Roman components:
2000 + 20 + 4
which gives:
MM + XX + IV
Therefore:
2024 = MMXXIV
This is a good example of why Roman numerals should not be treated like a normal positional base.
The Unicode Standard notes that Roman numerals are appropriate for positive integer writing rather than ordinary decimal style numeric representation.
Roman Numerals to Decimal
To interpret:
MMXXIV
the symbols represent:
M + M + X + X + IV
which equals:
1000 + 1000 + 10 + 10 + 4
= 2024
For common Roman numeral values, a converter is much faster than manually checking each symbol and subtraction rule.
Number System Conversion Formula
The general positional notation formula for a number in base b is:
Value = Σ digit × bⁿ
where the rightmost digit has an exponent of zero.
For example:
1011₂
becomes:
1 × 2³ + 0 × 2² + 1 × 2¹ + 1 × 2⁰
For hexadecimal:
2A₁₆
becomes:
2 × 16¹ + 10 × 16⁰
For octal:
52₈
becomes:
5 × 8¹ + 2 × 8⁰
This positional formula is the mathematical foundation behind ordinary base conversions.
How the CalculatorKits Numbers Converter Works
CalculatorKits uses decimal as the intermediate base.
The process can be summarized as:
Input → Convert to Decimal → Convert to Target Base
For example:
FF hexadecimal
becomes:
255 decimal
and then:
255 decimal → 11111111 binary
So:
FF₁₆ = 255₁₀ = 11111111₂
This intermediate approach provides a consistent way to move between different supported systems.
Common Number Conversion Examples
Here are several useful conversions in one place:
| Conversion | Answer |
|---|---|
| 10 decimal to binary | 1010 |
| 10 decimal to hexadecimal | A |
| 10 decimal to octal | 12 |
| 16 decimal to binary | 10000 |
| 16 decimal to hexadecimal | 10 |
| 16 decimal to octal | 20 |
| 42 decimal to binary | 101010 |
| 42 decimal to octal | 52 |
| 42 decimal to hexadecimal | 2A |
| 100 decimal to binary | 1100100 |
| 100 decimal to octal | 144 |
| 100 decimal to hexadecimal | 64 |
| 255 decimal to binary | 11111111 |
| 255 decimal to octal | 377 |
| 255 decimal to hexadecimal | FF |
| 2024 decimal to hexadecimal | 7E8 |
| 2024 decimal to Roman | MMXXIV |
Real World Uses of Number Systems
Number conversion is not just an academic exercise.
Programming
Programmers frequently encounter hexadecimal and binary values when working with low level data, memory, bit operations, debugging, and data structures.
Web Development
Hexadecimal is widely used for color notation.
For example:
#FF0000
represents red in the familiar RGB hexadecimal format.
The CalculatorKits Numbers Converter page uses this as a practical example of hexadecimal representation.
Computer Memory
Memory addresses and low level computer values are often represented using hexadecimal because it is more compact than binary.
For example:
0x1000 = 4096 decimal
This does not mean that the computer is using a different value. It is another representation of the same numerical value.
Computer Science Education
Students learning binary arithmetic, computer architecture, digital logic, and programming often need to move between decimal, binary, octal, and hexadecimal.
Historical and Formal Numbering
Roman numerals still appear in dates, book chapters, clock faces, events, outlines, and historical references.
Common Number Conversion Mistakes
1. Using an invalid digit
Binary allows only:
0 and 1
Octal allows:
0 through 7
Hexadecimal allows:
0 through 9 and A through F
Therefore:
10201 is not a valid binary number.
Similarly:
89 is not a valid octal number.
2. Forgetting the base
The value:
10
does not necessarily mean decimal ten.
It could mean:
10₂ = 2 decimal
10₈ = 8 decimal
10₁₀ = 10 decimal
10₁₆ = 16 decimal
The base is part of the meaning.
3. Treating hexadecimal letters as ordinary letters
In hexadecimal:
A = 10
B = 11
C = 12
D = 13
E = 14
F = 15
So 1A hexadecimal is not a word or text string. It is a numerical representation.
4. Confusing representation with value
These are different representations of the same value:
42 decimal
101010 binary
52 octal
2A hexadecimal
The representation changes, but the underlying numerical value remains 42.
5. Assuming Roman numerals are positional
Roman numerals do not work like ordinary base systems.
For example:
IV = 4
because I is placed before V under the standard subtractive convention.
Leading Zeros in Binary
You may sometimes see:
1010
and elsewhere:
00001010
These values are numerically identical.
The leading zeros simply indicate a fixed width.
For example, in an 8 bit representation:
10 decimal = 00001010 binary
In a 16 bit representation:
10 decimal = 0000000000001010 binary
This is common in programming and computer architecture.
Leading zeros can therefore be important for presentation even though they do not change the numerical value.
Exact Conversion vs Rounding
Integer base conversion is exact.
For example:
255 decimal = FF hexadecimal
There is no rounding involved.
The same is true for:
42 decimal = 101010 binary
This is different from converting physical measurements where decimal approximations may be involved.
The CalculatorKits Numbers Converter states that its conversions are exact and that there is no rounding until final display. It also performs calculations in the browser.
For very large values, however, the tool notes that display limitations can occur, including possible scientific notation.
Four Related CalculatorKits Tools
If you work regularly with number systems, these four CalculatorKits tools are especially useful:
- Data Storage Converter for converting bits, bytes, KB, MB, GB, TB, KiB, MiB, and other storage units.
- Binary Calculator for adding, subtracting, multiplying, and dividing binary numbers.
- Hex Calculator for performing arithmetic directly with hexadecimal values.
- Roman Numeral Converter for converting standard numbers to Roman numerals and Roman numerals back to numbers.
Frequently Asked Questions
What is a number converter?
A number converter changes a numerical value from one representation or base to another.
For example:
255 decimal = FF hexadecimal
The value stays the same while the notation changes.
What is 255 in binary?
255 decimal = 11111111 binary
What is 255 in hexadecimal?
255 decimal = FF hexadecimal
What is 255 in octal?
255 decimal = 377 octal
What is 42 in binary?
42 decimal = 101010 binary
What is 42 in hexadecimal?
42 decimal = 2A hexadecimal
What is 42 in octal?
42 decimal = 52 octal
What is the difference between binary and decimal?
Binary is base 2 and uses only 0 and 1.
Decimal is base 10 and uses digits 0 through 9.
What is the difference between hexadecimal and decimal?
Hexadecimal is base 16, while decimal is base 10.
Hexadecimal uses 0 through 9 plus A through F.
Why is hexadecimal used in computing?
Hexadecimal provides a compact way to represent binary information. One hexadecimal digit corresponds to four binary bits.
Why is binary used in computers?
Binary provides a simple two state representation that maps naturally to digital electronic systems.
Is octal still used?
Yes. Although hexadecimal is more common in many modern programming contexts, octal remains relevant in areas such as Unix file permissions, legacy systems, and computer science education.
What is the base of hexadecimal?
Hexadecimal is base 16.
What is the base of octal?
Octal is base 8.
What is the base of binary?
Binary is base 2.
What is the base of decimal?
Decimal is base 10.
Can I convert hexadecimal directly to binary?
Yes.
Each hexadecimal digit corresponds to four binary bits.
For example:
A = 1010
F = 1111
Therefore:
AF = 10101111
Can I convert binary directly to hexadecimal?
Yes. Divide the binary digits into groups of four from the right and convert each group into one hexadecimal digit.
Can I convert octal to binary?
Yes. Each octal digit corresponds to three binary bits.
For example:
5 = 101
2 = 010
Therefore:
52 octal = 101010 binary
What is MMXXIV in decimal?
MMXXIV = 2024
What is 2024 in Roman numerals?
2024 = MMXXIV
What is the Roman numeral for 3999?
Under the conventional Roman numeral range supported by the CalculatorKits Numbers Converter:
3999 = MMMCMXCIX
The CalculatorKits tool limits Roman numeral conversion to 1 through 3999.
Does the CalculatorKits Numbers Converter support custom bases?
Yes. The tool supports multiple numeral systems beyond the most common binary, decimal, octal, and hexadecimal systems, including additional bases such as base 5, base 12, base 20, and base 36.
Is the Numbers Converter useful for programming?
Yes. It can be useful for understanding and checking binary, hexadecimal, octal, decimal, and related representations during programming and computer science work.
It should not, however, be treated as a cryptographic validation tool.
Does the Numbers Converter store my numbers?
The CalculatorKits page states that calculations are performed locally in the browser and that numbers and conversion data are not uploaded or stored.
Is the CalculatorKits Numbers Converter free?
Yes. The tool is available for free online use and does not require registration.
Key Takeaways
A numbers converter changes the way a numerical value is written without changing the underlying value.
The four most important systems are:
Binary = base 2
Octal = base 8
Decimal = base 10
Hexadecimal = base 16
Some useful relationships are:
42 decimal = 101010 binary
42 decimal = 52 octal
42 decimal = 2A hexadecimal
255 decimal = 11111111 binary
255 decimal = 377 octal
255 decimal = FF hexadecimal
Roman numerals are different because they are not an ordinary positional radix system. They use symbols and combination rules to represent positive integers.
For quick conversions, the CalculatorKits Numbers Converter removes the need to repeatedly perform division, multiplication, positional notation, or symbol based conversion manually.
For students, it provides a useful way to understand how the same value appears in different systems. For programmers and developers, it can make binary, octal, decimal, and hexadecimal work faster. For anyone working with Roman numerals or less common bases, it provides the same basic convenience.
The most important concept to remember is simple: the representation can change while the numerical value stays exactly the same.
References
- NIST, Example of a Numeric and Alphanumeric Technique for Conversion
- Unicode Standard, Chapter 22: Numerals
- Unicode Standard, Chapter 5: Handling Numbers
- Unicode Standard, Number Forms
- Unicode CLDR, Numbering Systems
Written and reviewed by the CalculatorKits Editorial Team
Last Updated: September 10, 2026