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)।
Share this article
Learn Faster with Numverto
Explore free number system converters, binary tools, EMI calculators, GST calculators, and educational guides.
About Numverto
Numverto Editorial Team
Numverto publishes educational content about number systems, computer science concepts, binary arithmetic, financial calculations, EMI formulas, GST calculations, and practical learning resources for students and professionals.
Article Metadata
Tags: hexadecimal, hindi, number systems, bca, btech
Last Updated: June 2026
Related Calculators
Related Articles
25 June 2026
Hexadecimal Color Codes in Web Design — Complete Guide
Learn how hex color codes work in CSS and web design. Understand RGB to hex conversion, color code formats (#RGB, #RRGGBB), and a complete reference table.
Read article →25 June 2026
Negative Numbers in Binary — Sign Bit, 1's and 2's Complement Explained
Learn how computers represent negative numbers using sign-magnitude, 1's complement, and 2's complement methods with reference tables and worked examples.
Read article →24 June 2026
Binary Number System क्या है — आसान भाषा में समझें
Binary number system की पूरी जानकारी हिंदी में। Binary क्या है, कैसे काम करता है, और decimal में कैसे convert करें — examples के साथ।
Read article →