A terminal calculator for programmers working with binary, hexadecimal, and decimal numbers, bitwise operations, and custom operand sizes.
Programmer Calculator (pcalc) is a terminal-based tool designed for software developers and embedded engineers who need to perform calculations involving multiple number representations and bit-level manipulations. It provides an efficient interface for working with binary, hexadecimal, and decimal numbers simultaneously, addressing the limitations of clunky online tools. The tool supports custom operand sizes, bitwise operations, and a customizable interface to maximize productivity in hardware-close programming tasks.
Software developers, embedded engineers, and anyone working close to the hardware, such as those developing emulators (e.g., Nintendo Gameboy Emulator) or systems programming, who require frequent bit-level calculations and multi-representation number handling.
Developers choose pcalc for its terminal-based efficiency, allowing seamless multitasking without switching to online tools, and its flexibility in handling complex expressions with operator precedence, custom bit-widths, and a highly customizable interface that can be tailored to individual workflows.
Terminal calculator made for programmers working with multiple number representations, sizes, and overall close to the bits
Allows simultaneous use of binary, hexadecimal, and decimal numbers in expressions like '0xff + 0b101101 - 5', eliminating the need for separate conversion tools.
Includes AND, OR, XOR, shifts, rotates, NOR, and endianness swaps, covering most low-level programming needs directly from the terminal.
Enables toggling history, number representations, and colors via commands or aliases, allowing users to tailor the display to their workflow.
Supports 1 to 64-bit widths with commands like '16bit', making it ideal for embedded systems where data types vary.
Lacks floating-point support, limiting its usefulness for scientific or financial calculations that require decimal precision.
Building from source requires ncurses library, which may not be pre-installed, adding setup complexity for some users.
Primarily available via Homebrew or AUR, with source build as an alternative; not widely packaged for all Linux distributions or Windows native.
:partly_sunny: The right way to check the weather
A VIM-inspired filemanager for the console
Tasks, boards & notes for the command-line habitat
weather app for the terminal
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.