Decimal Converter
Convert decimal to binary, octal, and hexadecimal. Essential for computer science and programming.
Result
- Binary (Base 2)
- -
- Octal (Base 8)
- -
- Hexadecimal (Base 16)
- -
Conversion Guide
Conversion
Decimal to Binary
Divide by 2, collect remainders
Repeatedly divide by 2, read remainders bottom to top
Decimal to Hex
Divide by 16, collect remainders
Repeatedly divide by 16, convert 10-15 to A-F
Step-by-Step Scenario
Example Scenario
Decimal
255
Divide by 16
- 255 ÷ 16 = 15 remainder 15 (F)
Divide by 16 and get remainder
Continue
- 15 ÷ 16 = 0 remainder 15 (F)
Additional Examples
Common Value
Decimal: 255
Binary
11111111
Hex
FF
Small Value
Decimal: 10
Binary
1010
Hex
A
Characteristics of Decimal
Base-10 System
Decimal uses base-10 with digits 0-9. Each position represents a power of 10. This is our everyday number system.
Multiple Conversions
Convert decimal to binary, octal, and hexadecimal simultaneously. Essential for understanding different number systems.
Real-Time Conversion
Convert decimal instantly as you type. All number systems are calculated simultaneously for easy comparison.
Programming Essential
Understanding decimal conversion is essential for programming, computer science, and working with different number systems.
Important Notes
- Decimal (base-10) uses digits 0-9. Each position represents a power of 10 (1, 10, 100, 1000...).
- To convert decimal to binary: repeatedly divide by 2 and collect remainders. Read remainders from bottom to top.
- To convert decimal to hexadecimal: repeatedly divide by 16 and collect remainders. Convert 10-15 to A-F.
- To convert decimal to octal: repeatedly divide by 8 and collect remainders. Read from bottom to top.
- 8-bit decimal can represent 0-255. This is 2⁰- 1. In binary: 11111111, in hex: FF, in octal: 377.
Frequently Asked Questions
Find answers to common questions about decimal conversion.