Convert between Decimal, Binary, Octal, and Hex
Convert decimal numbers to binary, hexadecimal, and octal formats with our free Decimal Converter. Supports both integer and fractional decimal values. Essential for programmers, computer science students, and engineers working with different number systems in software development, embedded systems, and digital electronics.
Enter a decimal number in the input field.
View instant conversions to binary, hexadecimal, and octal.
Click any result to copy it to your clipboard.
Toggle between signed and unsigned representations.
Divide the decimal number by 2 repeatedly, recording the remainder each time. Read the remainders from bottom to top to get the binary representation. For example: 13 / 2 = 6 R1, 6/2 = 3 R0, 3/2 = 1 R1, 1/2 = 0 R1 -> binary 1101.
Hexadecimal (base-16) is used in computing for memory addresses, color codes (#FF0000), MAC addresses, and representing binary data compactly. Each hex digit represents exactly 4 binary digits.
Yes, our converter handles decimal fractions by converting both the integer and fractional parts separately, giving you accurate binary, hex, and octal representations.