NETWORK, DATA, AND DIGITAL MEDIA
Binary, Decimal and Hex Converter
Convert safe whole numbers between binary, decimal, and hexadecimal with all three representations shown.
Review your result
Your result
Ready when you are.
Enter your values and select Calculate. Your result stays on this device.
How it works
Parse the entered digits in the selected source base, then express the same integer in the target base.
Assumptions
Whole nonnegative integers only. Input is limited to JavaScript safe integers for exact browser arithmetic.
About this calculator
Use this base converter for computer-science homework, network checks, and quick binary-decimal-hex comparisons. All three representations appear together after conversion.
How to use it
- Enter a whole number using digits valid for its current base.
- Choose binary, decimal, or hexadecimal as the source.
- Choose the target base and calculate.
- Compare the result with the additional binary, decimal, and hexadecimal rows.
Use case
binary converter: a clear planning check
Choose a source and target base, convert the whole number, and compare its base-2, base-10, and base-16 forms together.
Convert a safe whole number among binary, decimal, and hexadecimal representations.
Source and update
Last reviewed: 2026-08-22
NIST — Prefixes for binary multiplesFrequently asked questions
What is binary 1010 in decimal?
Binary 1010 equals decimal 10.
Can hexadecimal use letters?
Yes. Hexadecimal uses digits 0–9 and letters A–F.
Does this convert negative or fractional values?
No. This version is intentionally limited to nonnegative whole numbers.
Keep exploring