Base Converter Visualizer
Convert between binary, octal, decimal, and hex — with steps you can follow.
Base Converter Visualizer
Base Reference Guide
Popular Number Bases
Use Cases
Bases in short
- Binary (2): 0–1 — bits, flags, low-level work
- Octal (8): 0–7 — Unix permissions still show it
- Decimal (10): everyday numbers
- Hex (16): 0–9A–F — colors, dumps, addresses
Place value is power of the base. Hex digit A is 10; F is 15.
Conversion sketch
- To decimal: sum digit × base^position
- From decimal: repeated divide by target base; remainders are digits
- Binary ↔ hex: group bits by 4 (one hex digit)
Practical notes
- Prefixed literals: 0b, 0o, 0x in many languages
- Signed integers often use two's complement — positive conversion ≠ signed bit patterns
- Prefer integer inputs when you need exact round-trips
Frequently Asked Questions
What bases can I convert?
Binary, octal, decimal, and hexadecimal are the common set. Some UIs allow other bases too.
Why learn hex if computers are binary?
Hex is a compact way to write binary (4 bits per digit). Easier to read than long 0/1 strings.
What does the visualizer show?
Place values and intermediate steps so you see why the answer is what it is — not just a black box.
Can I convert fractions?
Integer conversion is the main path. Fractional bases are trickier and may not be fully supported.
Related converters?
Also see number base converter and binary↔decimal.
Related tools
Related tools
Related Number Tools
Add/Subtract Percentage
Add or subtract percentages from numbers
Age Calculator
Calculate age from birth date
Angle Converter
Convert between angle units
Area Converter
Convert between area units
Armstrong Number Checker
Check if a number is an Armstrong number
Average Calculator
Calculate average of numbers
Binary ↔ Decimal Converter
Convert between binary and decimal
BMI Calculator
Calculate your Body Mass Index (BMI) using metric or imperial units. Get instant health category classification and personalized weight range recommendations.
Box Plot Generator
Generate box plots from data
Combinations Calculator
Calculate combinations