IdaCalc is a lightweight programming calculator plugin for IDA Pro, designed to simplify calculations during reverse engineering or low-level programming tasks. It supports hexadecimal, decimal, binary, common bitwise operations, and unsigned arithmetic with configurable bit widths. Clipboard integration and a history feature make repeated calculations easy.
- Supports hexadecimal, decimal, and binary numbers.
- Common operations:
+,-,*,/, bitwise&,|,^,<<,>>. - Unsigned mode with configurable bit width (8, 16, 32, 64).
- Converts results automatically to hex, decimal, and binary.
- Copy results to clipboard as hex, decimal, or little-endian hex bytes.
- History feature: click on previous expressions to reuse them.
- Hotkey support:
Ctrl+Shift+Cto open the calculator quickly.
-
Copy
IdaCalc-x.x.pyinto your IDA Propluginsdirectory:<IDA_INSTALL_DIR>/plugins/ -
Restart IDA Pro if it was already running.
-
Open the calculator with Ctrl+Shift+C or via the IDA Plugins menu.
-
Enter an expression in the input box, e.g:
0x12345678 - 0x67 -
Click Calculate or press Enter.
-
View results in Hex, Decimal, or Binary.
-
Click Copy Hex, Copy Dec, or Copy as Hex Bytes to copy results to the clipboard.
-
Double-click a previous calculation in the History section to reuse it.
| Operator | Description |
|---|---|
+ |
Addition |
- |
Subtraction |
* |
Multiplication |
/ |
Integer division |
^ |
Power |
& |
Bitwise AND |
| |
Bitwise OR |
<< |
Left shift |
>> |
Right shift |
- Python 3.x support in IDA
- PySide6 installed (
pip install PySide6if needed)
Feel free to open issues or submit pull requests. Suggestions for additional operations, UX improvements, or bug fixes are welcome. Future versions for other IDA releases may be added.
MIT License — see LICENSE for details.
