Base Converter (2 / 8 / 10 / 16)
Convert an integer between binary, octal, decimal and hexadecimal.
Input Data
Value
Source base (2/8/10/16).
Results
Decimal result.
255
Binary form.
11111111
Octal form.
377
Hexadecimal form.
FF
Explanatory note about the result.
FF (16) → dec 255
At a glance:Parse the value in the source base, then re-emit in each target base (2/8/10/16). Complements binary-converter and ascii.
Formula
value = Σ d_i × base^i.
How to Use
- Enter a value and its base.
- The tool shows all four representations.
Case Studies
255 (decimal) → FF hex, 11111111 bin
255 = 0xFF = 11111111₂.
FAQ
Why hexadecimal?
It is compact for binary, widely used in programming and colors.
Related Tools
References
Content review: Calculatorism Science Team. Results are for reference only; please refer to the relevant authorities for the official figures.