Binary / Hex / Decimal Converter
From Decimal
Convert a decimal number to binary, hex, and octal
Binary to Decimal
Enter binary digits to convert to decimal, hex, and octal
ASCII Value
Find the ASCII/Unicode value of a character (enter character code)
Formula
Decimal to Base N: repeatedly divide by N, collect remainders | Base N to Decimal: Σ(digit × N^position)
Frequently Asked Questions
How do I convert decimal to binary?
Divide the number by 2 repeatedly and record the remainders. Read the remainders bottom-to-top. Example: 13 ÷ 2 = 6r1, 6÷2=3r0, 3÷2=1r1, 1÷2=0r1 → 1101.
What is hexadecimal?
Hexadecimal (base 16) uses digits 0-9 and letters A-F (A=10, B=11... F=15). It's commonly used in programming for colors (#FF0000 = red), memory addresses, and compact binary representation.
You may also need
+
Scientific Calculator
Free online scientific calculator. Calculate trigonometric functions, logarithms, powers, roots, and factorials instantly.
MathR
Unit Converter
Free unit converter. Convert between metric and imperial units for length, weight, and temperature. Instant results, no signup required.
Conversion