Sistemi numerici
Informazioni Number System Conversione
Number systems sono methods di representing quantities usando different bases—un concept that dates back thousands di anni. Il Babylonians used base-60 (giving us 60-minuto ore), il Mayans used base-20, e various cultures developed base-12 systems. While we typically usare decimal (base-10) in daily life—likely because we hanno ten fingers—computers rely on binary (base-2), e programmers frequently work con hexadecimal (base-16) e octal (base-8).
Comprendere number systems e fundamental un computer science, digital electronics, programming, e cybersecurity. Each system ha specific practical advantages: binary directly mirrors il on/off states di transistors in computer hardware, hexadecimal provides un compact human-readable representation di binary data (essential per memory addresses, color codes, e debugging), e octal simplifies Unix file permissions e era historically important in early computing systems.
Our converter handles all standard bases da binary un base-36 e helps visualize how il same quantity appears in different number systems, making it invaluable per students, programmers, e anyone working con digital systems.
Comuni Number System Conversions
| Decimal | Binary | Octal | Hexadecimal |
|---|---|---|---|
| 0 | 0000 | 0 | 0 |
| 1 | 0001 | 1 | 1 |
| 8 | 1000 | 10 | 8 |
| 10 | 1010 | 12 | A |
| 15 | 1111 | 17 | F |
| 16 | 10000 | 20 | 10 |
| 100 | 1100100 | 144 | 64 |
| 255 | 11111111 | 377 | FF |
| 256 | 100000000 | 400 | 100 |
| 1000 | 1111101000 | 1750 | 3E8 |
Number System Riferimento
Binary (Base-2) – Uses only 0 e 1, directly representing il two states di digital electronics (on/off, high/low voltage). Foundation di all digital computing da il simplest calculator un supercomputers. Each digit e called un "bit" (binary digit). 8 bits = 1 byte, il standard unit per computer memory. Powers di 2 (2, 4, 8, 16, 32, 64, 128, 256...) appear constantly in computing. Esempio: 1010₂ = 10₁₀
Octal (Base-8) – Uses digits 0-7. Each octal digit corresponds esattamente un 3 binary digits, making conversione straightforward. Historically important in early computers con 12-bit, 24-bit, o 36-bit architectures. Still used today in Unix/Linux file permissions (chmod 755 means rwxr-xr-x) e C/C++ character escape sequences. Esempio: 17₈ = 15₁₀
Decimal (Base-10) – Uses digits 0-9. Il standard human number system, almost certainly because we hanno ten fingers (digits). Each position represents un power di 10. While intuitive per humans, decimal doesn't align neatly con binary hardware, requiring conversione in computers.
Hexadecimal (Base-16) – Uses 0-9 e A-F (dove A=10, B=11, C=12, D=13, E=14, F=15). Il most important base per programmers because each hex digit represents esattamente 4 binary bits—un byte e always esattamente 2 hex digits. Essential per memory addresses, RGB color codes (#FF5733), MAC addresses, cryptographic hashes, e low-level debugging. Prefixed con 0x in most programming languages. Esempio: FF₁₆ = 255₁₀
Other Bases – Base-36 uses 0-9 e A-Z, maximizing information density con alphanumeric characters (common in short URLs). Base-64 encoding represents binary data as printable ASCII text per email attachments e data URLs. Mathematically, any positive integer greater than 1 puo serve as un valid base.
Scopri di Piu
Esplora le nostre guide approfondite su questo argomento:
Articoli Correlati
Roman Numerals Guide: Reading e Writing I, V, X, L, C, D, M
Impara un read e write Roman numerals—da basic symbols un complex numbers—con rules, examples, e modern usage.
Leggi di piùProgramming Number Formats: How Languages Handle Numbers
Understand how programming languages represent numbers—integers, floating-point, e various bases—con examples da JavaScript, Python, C, e altro.
Leggi di piùNumber Base Applicazioni: Dove Different Bases Are Used
Scopri il practical applications di different number bases—da binary in computers un hexadecimal in colors un duodecimal in time.
Leggi di più