Convertidor Binario, Hexadecimal y Decimal
Convertidor Binario, Hexadecimal y Decimal gratuito - convierte y compara opciones al instante. Sin registro.
Cargando calculadora
Preparando Convertidor Binario Hexadecimal Decimal...
Revisión y Metodología
Cada calculadora utiliza fórmulas estándar de la industria, validadas con fuentes oficiales y revisadas por un profesional financiero certificado. Todos los cálculos se ejecutan de forma privada en su navegador.
Cómo Usar el Convertidor Binario Hexadecimal Decimal
- 1. Ingresa tus valores - completa los campos de entrada con tus números.
- 2. Ajusta la configuración - usa los deslizadores y selectores para personalizar tu cálculo.
- 3. Ve los resultados al instante - los cálculos se actualizan en tiempo real a medida que cambias los valores.
- 4. Compara escenarios - ajusta los valores para ver cómo los cambios afectan tus resultados.
- 5. Comparte o imprime - copia el enlace, comparte los resultados o imprímelos para tus registros.
Binary Hex Decimal Converter
Convert numbers between binary (base 2), decimal (base 10), and hexadecimal (base 16) instantly. Enter a value in any base and the other two fields update automatically. This converter is used daily by software developers reading memory addresses, web designers decoding color codes, electronics engineers analyzing register values, and computer science students working through coursework.
How Number Base Conversion Works
Every number system assigns a place value to each digit position based on the base (radix). Binary multiplies each digit by powers of 2, decimal by powers of 10, and hexadecimal by powers of 16.
Decimal to binary — divide repeatedly by 2, collect remainders bottom-up. Example: 45 / 2 = 22 r1, 22 / 2 = 11 r0, 11 / 2 = 5 r1, 5 / 2 = 2 r1, 2 / 2 = 1 r0, 1 / 2 = 0 r1. Reading remainders upward gives 101101. Check: 32 + 8 + 4 + 1 = 45. Correct.
Binary to hex — group binary digits into sets of 4 from the right, then replace each group with its hex digit. Example: 101101 becomes 0010 1101 = 2D in hex.
Hex to decimal — multiply each digit by its power of 16 and sum. Example: 2D = (2 x 16) + (13 x 1) = 32 + 13 = 45.
Worked Examples
Example 1 — Web color code. A designer sees the CSS color #1A8FE3. Split into pairs: 1A = 26 red, 8F = 143 green, E3 = 227 blue. This is a medium-bright blue used in many UI button palettes.
Example 2 — Unix file permissions. chmod 755 sets permissions. 7 in binary is 111 (read + write + execute), 5 is 101 (read + execute). Knowing binary makes it immediately clear which permission bits are set without memorizing tables.
Example 3 — Debugging a register value. A microcontroller datasheet says a status register holds 0xC4. In binary that is 11000100. Bits 7, 6, and 2 are set. If those bits correspond to “overflow,” “carry,” and “interrupt pending,” the engineer can read the state directly from the bit pattern.
Reference Table
| Decimal | Binary | Hexadecimal | Notes |
|---|---|---|---|
| 0 | 0000 | 0 | Zero in all bases |
| 10 | 1010 | A | First letter digit in hex |
| 15 | 1111 | F | Maximum single hex digit |
| 16 | 10000 | 10 | One hex “column” turns over |
| 42 | 101010 | 2A | Fits in 6 bits |
| 127 | 1111111 | 7F | Max signed 8-bit value |
| 128 | 10000000 | 80 | Min unsigned 8-bit high half |
| 255 | 11111111 | FF | Max 1-byte (8-bit) value |
| 256 | 100000000 | 100 | First 9-bit number |
| 65535 | 1111111111111111 | FFFF | Max 16-bit (2-byte) value |
When to Use
- Reading or writing CSS/HTML color codes such as
#FF5733where each pair is one byte of RGB data. - Debugging memory dumps, hex editors, or binary files where addresses are shown in hex.
- Setting or reading bitfields in hardware registers, network packets, or file format headers.
- Working through computer science coursework on number systems, bitwise operations, or data representation.
- Understanding
chmodpermissions in Unix, IPv4 subnet masks, or MAC address notation.
Common Mistakes
- Confusing hex letters with decimal. The hex digit
Aequals 10, not 1. Writing#FF2A00and reading the2Aas “two-A” rather than 42 leads to wrong color math. Always translate letter digits to their decimal values first. - Forgetting leading zeros in nibble grouping. When converting binary to hex, pad the leftmost group to 4 bits. The binary number
1011must be grouped as1011(4 bits = B), not split incorrectly as1011. - Mixing up base prefixes. In code,
0xFFmeans hex 255,0b11111111means binary 255, and bare255means decimal 255. Dropping or misreading the prefix causes silent bugs that are hard to trace. - Assuming “0x” is part of the value. The
0xprefix is a notation convention, not digits. The number0x1Fis 31 in decimal — the0xcontributes nothing to the numeric value.
Quick Reference Benchmarks
| Bits | Bytes | Max Decimal | Max Hex | Common Use |
|---|---|---|---|---|
| 4 | 0.5 (nibble) | 15 | F | Single hex digit |
| 8 | 1 | 255 | FF | One byte, RGB channel, ASCII |
| 16 | 2 | 65,535 | FFFF | Port numbers, Unicode BMP |
| 24 | 3 | 16,777,215 | FFFFFF | 24-bit color (16M colors) |
| 32 | 4 | 4,294,967,295 | FFFFFFFF | IPv4 address, 32-bit int |
Tips
- Memorize the 16 hex-to-binary digit mappings: 0=0000 through 9=1001, A=1010, B=1011, C=1100, D=1101, E=1110, F=1111. These 16 patterns cover everything.
- Powers of 2 appear as a 1 followed by zeros in binary (2=10, 4=100, 8=1000, 16=10000). They are useful sanity-check anchors when doing manual conversions.
- If a decimal number ends in an even digit, its binary form ends in 0. If it ends in an odd digit, its binary form ends in 1. Use this to quickly spot-check your work.
- One hex digit equals exactly one nibble (4 bits), and two hex digits equal exactly one byte (8 bits). A 6-digit hex color like
#3A7FC1is always exactly 3 bytes of RGB data. - Most programming languages accept hex literals directly:
0xFFin C, Python, and JavaScript all equal 255. Use hex literals instead of decimal when working with bitmasks — they are easier to read and less error-prone. - To convert a large binary number to hex without a calculator, split from the right into groups of 4, convert each group independently, and concatenate the hex digits. This works for any length.
Preguntas Frecuentes
Que son las bases numericas y por que usamos diferentes?
Como se cuenta en binario?
Como se usan los numeros hexadecimales para los colores web?
Como se convierte manualmente entre binario, decimal y hexadecimal?
Donde se usan el binario y el hexadecimal en la programacion?
Explora Más Herramientas de Matemáticas y Ciencias
Calculadoras de Matemáticas y Ciencia Relacionadas
Calculadora de Edad
Calculadora de Edad gratuita - calcula al instante con nuestra herramienta en línea. Sin registro. Cálculos matemáticos precisos con resultados en tiempo real.
Matemáticas y CienciaCalculadora Básica
Calculadora Básica gratuita - calcula al instante con nuestra herramienta en línea. Sin registro. Cálculos matemáticos precisos con resultados en tiempo real.
Matemáticas y CienciaCalculadora de Fechas
Calculadora de Fechas gratuita - calcula al instante con nuestra herramienta en línea. Sin registro. Cálculos matemáticos precisos con resultados en tiempo real.
Matemáticas y CienciaCalculadora de Fracciones
Calculadora de Fracciones gratuita - calcula al instante con nuestra herramienta en línea. Sin registro. Cálculos matemáticos precisos con resultados en tiempo real.