Hexadecimal (Hex) क्या है — आसान भाषा में समझें
Hexadecimal number system की पूरी जानकारी हिंदी में। Hex क्या है, 0-9 और A-F क्यों use होते हैं, decimal और binary से कैसे convert करें।
Hexadecimal Number System क्या है?
🔧 अभी convert करें: Number System Converter — decimal, binary, octal, hex एक click में convert करें।
Hexadecimal (या “hex”) एक base-16 number system है। इसमें 16 symbols use होते हैं:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
जहाँ A=10, B=11, C=12, D=13, E=14, F=15 (decimal में)।
Hex में A से F क्यों?
Decimal system में 0-9 (10 symbols) होते हैं। Hexadecimal में 16 symbols चाहिए, तो 10-15 के लिए A-F letters use किए गए:
| Hex Digit | Decimal Value | Binary (4-bit) |
|---|---|---|
| 0 | 0 | 0000 |
| 1 | 1 | 0001 |
| 2 | 2 | 0010 |
| 3 | 3 | 0011 |
| 4 | 4 | 0100 |
| 5 | 5 | 0101 |
| 6 | 6 | 0110 |
| 7 | 7 | 0111 |
| 8 | 8 | 1000 |
| 9 | 9 | 1001 |
| A | 10 | 1010 |
| B | 11 | 1011 |
| C | 12 | 1100 |
| D | 13 | 1101 |
| E | 14 | 1110 |
| F | 15 | 1111 |
Key Point: एक hex digit = exactly 4 binary bits। इसीलिए programmers hex prefer करते हैं — binary को compact form में लिख सकते हैं।
Decimal vs Binary vs Hexadecimal — तुलना
| Decimal | Binary | Hexadecimal |
|---|---|---|
| 0 | 0000 | 0 |
| 5 | 0101 | 5 |
| 10 | 1010 | A |
| 15 | 1111 | F |
| 16 | 10000 | 10 |
| 100 | 1100100 | 64 |
| 200 | 11001000 | C8 |
| 255 | 11111111 | FF |
| 256 | 100000000 | 100 |
Decimal से Hex में Convert कैसे करें?
Method: Number को 16 से divide करते जाओ, remainder note करो।
Example: 255 को hex में convert करें
| Division | Quotient | Remainder |
|---|---|---|
| 255 ÷ 16 | 15 | 15 → F |
| 15 ÷ 16 | 0 | 15 → F |
नीचे से ऊपर पढ़ें: FF
Answer: 255 (decimal) = FF (hex) ✓
Example: 200 को hex में convert करें
| Division | Quotient | Remainder |
|---|---|---|
| 200 ÷ 16 | 12 | 8 → 8 |
| 12 ÷ 16 | 0 | 12 → C |
Answer: 200 (decimal) = C8 (hex) ✓
Hex से Decimal में Convert कैसे करें?
Method: हर digit को 16 की power से multiply करो (right side से start)।
Example: 1A3 को decimal में convert करें
1 × 16² + A × 16¹ + 3 × 16⁰
= 1 × 256 + 10 × 16 + 3 × 1
= 256 + 160 + 3
= 419
Answer: 1A3 (hex) = 419 (decimal)
Hexadecimal कहाँ Use होता है?
| Use Case | Example |
|---|---|
| Web Colors | #FF5733 (CSS color code) |
| Memory Addresses | 0x7FFF0000 |
| MAC Address | A4:B1:C2:D3:E4:F5 |
| Error Codes | 0x80070005 (Windows error) |
| Assembly Language | MOV AX, 0FFh |
| Unicode Characters | U+0041 = ‘A’ |
Binary और Hex का Shortcut
हर 4 binary bits = 1 hex digit। Binary को groups of 4 में divide करो:
Binary: 1101 0110 1010
Hex: D 6 A
Answer: 110101101010 = D6A
Hex to Decimal Converter से verify करें।
Related Tools
Related Articles
FAQ — अक्सर पूछे जाने वाले सवाल
Q: Hex में 0x prefix क्यों लगाते हैं?
A: Programming में 0x prefix compiler को बताता है कि ये hexadecimal number है, decimal नहीं। जैसे 0xFF = 255, बिना prefix के FF एक variable name लगेगा।
Q: Hex case-sensitive होता है?
A: नहीं — FF, ff, और Ff सब same value (255) represent करते हैं। Convention: addresses में uppercase, colors में lowercase आम है।
Q: 1 byte में कितने hex digits आते हैं? A: 2 hex digits = 1 byte (8 bits)। Range: 00 to FF (0 to 255)।
Q: Octal (base-8) vs Hexadecimal — कौन ज्यादा use होता है? A: Modern computing में hexadecimal ज्यादा popular है क्योंकि 1 hex digit = exactly 4 bits (nibble), जो byte-oriented architectures के लिए perfect fit है।
Q: Hex color code #000000 का मतलब क्या है? A: Black — Red=0, Green=0, Blue=0 (कोई light नहीं)। #FFFFFF = White (maximum light)।
Free tools
Learn faster with Numverto
Free number system converters, binary tools, EMI calculators, and more, with step-by-step working.
Written by
Numverto Editorial Team
Founder of Numverto. MCA graduate, full-stack developer, and lifelong learner who built this platform so every student gets the explanation, not just the answer.
Related tools
More from Numverto Blog
number systems
Number System Conversion Tricks and Shortcuts — BCA BTech Exam Guide
Quick tricks and shortcuts for binary, octal, decimal, and hexadecimal conversion for BCA/BTech exams. Memory tricks, quick reference tables, and common exam questions.
30 June 2026
SIP
SIP क्या है — Systematic Investment Plan हिंदी में पूरी जानकारी
SIP (Systematic Investment Plan) की पूरी जानकारी हिंदी में। SIP कैसे काम करता है, returns कैसे calculate होते हैं, शुरू कैसे करें।
30 June 2026
Discussion