Number Base Converter
Math CalculatorsConvert between binary, octal, decimal and hexadecimal
Number Base Converter: Convert between binary, octal, decimal and hexadecimal. Number Base Converter uses standard math formulas to compute accurate results instantly.
Decimal value
Conversion steps
- 1Decimal input 255; convert integer part by repeated division:
- 2To base 2:255 ÷ 2 = 127 R1 → 127 ÷ 2 = 63 R1 → 63 ÷ 2 = 31 R1 → 31 ÷ 2 = 15 R1 …(read remainders bottom-up)
- 3To base 16:255 ÷ 16 = 15 RF → 15 ÷ 16 = 0 RF(read remainders bottom-up)
0–15 quick table
| Dec | Bin | Oct | Hex |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 1 | 1 | 1 | 1 |
| 2 | 10 | 2 | 2 |
| 3 | 11 | 3 | 3 |
| 4 | 100 | 4 | 4 |
| 5 | 101 | 5 | 5 |
| 6 | 110 | 6 | 6 |
| 7 | 111 | 7 | 7 |
| 8 | 1000 | 10 | 8 |
| 9 | 1001 | 11 | 9 |
| 10 | 1010 | 12 | A |
| 11 | 1011 | 13 | B |
| 12 | 1100 | 14 | C |
| 13 | 1101 | 15 | D |
| 14 | 1110 | 16 | E |
| 15 | 1111 | 17 | F |
💡 Hex↔binary is 1 digit = 4 bits (F=1111); octal is 1 digit = 3 bits. Fractions like decimal 0.1 become infinite in binary (0.000110011…), shown to 12 digits.
Was this tool helpful?
How to Use
- Enter values or expressions: type directly into the Number Base Converter — keyboard friendly.
- Instant results: everything computes live as you type, no button needed.
- Follow the steps: the result panel shows full working and formula substitution.
- Copy or recompute: one-click copy; change any input to recalculate instantly.
Key Points
- Number Base Converter is a free online math tool — open and use, no sign-up.
- All calculations run locally in your browser; your data never leaves the device.
- Key capability: Convert between binary, octal, decimal and hexadecimal.
- Results come with formulas and reference tables so you can verify every number.
Formula & How It Works
Number Base Converter formula
FAQ
How do I use the Number Base Converter?
Are the results accurate?
Is it free? Do I need to sign up?
Does it work on mobile?
Is my data saved?
Related Tools
Basic Calculator
Add, subtract, multiply, divide with full keyboard supportHOTScientific Calculator
Trig, log, exponent, factorial · DEG/RAD modesHOTPercentage Calculator
Percent of, percentage share, and percent changeFraction Calculator
Add, subtract, multiply, divide fractions with simplificationPermutation & Combination Calculator
Permutations A(n,m) and combinations C(n,m)Random Number Generator
Custom range, integers or decimals, batch generationPrime Number Tools
Primality test, prime factorization and prime listsGCD & LCM Calculator
Greatest common divisor and least common multipleRelated Guides
Source & Updates
Standard mathematical formulas. All logic verified. Last updated: 2025-07
Last updated:
Formulas and content on this page are reviewed by the YiJianSuan team. For reference only — official sources prevail.
Maintained and periodically reviewed by the YiJianSuan editorial team — review process in ourEditorial Policy.
Cite this page: YiJianSuan. Number Base Converter[EB/OL]. https://www.yijiansuan.com/en/c/math/base-convert
Results provided by this tool are for reference only and do not constitute professional advice.