Decimal to Hex Calculator
Convert decimal numbers to hexadecimal instantly with binary conversion
What is Hexadecimal?
Hexadecimal (often abbreviated as "hex") is a base-16 numeral system that uses sixteen distinct symbols. Unlike the decimal system (base-10) that uses digits 0-9, hexadecimal uses combinations of 0-9 and letters A-F to represent values.
Each hexadecimal digit represents four binary digits (bits), making it a more human-friendly way to represent binary data. This is why hexadecimal is widely used in computing, programming, and game development.
Why Use Hex in ROM Hacking?
ROM hacking involves modifying video game data stored in ROM files. Game developers and ROM hackers frequently use hexadecimal notation because:
- Memory Addresses: Game memory addresses are typically displayed in hex format, making it easier to locate and modify specific data locations.
- Cheat Codes: Many cheat code devices and software use hex notation for codes that modify game behavior, such as GameShark, Action Replay, and CodeBreaker.
- Data Values: Item quantities, Pokemon stats, and other game parameters are often stored in hex format, allowing precise modifications to game mechanics.
- Pointer Systems: Complex ROM modifications often use hex pointers to reference data locations within the ROM file.
How to Use This Calculator
-
1
Enter a decimal number (like
100) in the first field to convert it to hex and binary. -
2
Enter a hexadecimal value (like
64orFF) in the second field to convert it to decimal. - 3 Use the copy button to quickly copy the hex result to your clipboard for use in your ROM hacking projects.
Common Hex Values Reference
| Decimal | Hexadecimal | Binary |
|---|---|---|
| 0 | 0 | 0 |
| 1 | 1 | 1 |
| 10 | A | 1010 |
| 15 | F | 1111 |
| 16 | 10 | 10000 |
| 100 | 64 | 1100100 |
| 255 | FF | 11111111 |
| 1000 | 3E8 | 1111101000 |