qalc is the command-line interface for Qalculate!, a powerful multipurpose calculator designed for both everyday arithmetic and advanced mathematical work. It can evaluate a single expression supplied as an argument or operate interactively with history, completion and configurable settings.
The calculator combines flexible expression parsing with numerical and symbolic computation. Expressions can mix numbers, functions, variables, constants, units, matrices, vectors, dates and times. Results can be presented in exact or approximate form.
This is free and open source software.
Key Features
- Offers interactive and non-interactive operating modes.
- Provides command and expression history with completion.
- Supports arithmetic, logical, bitwise and comparison operators.
- Performs calculations using arbitrary-precision rational and floating-point numbers.
- Handles complex numbers, infinite values and mixed fractions.
- Provides exact and approximate results.
- Supports symbolic simplification and factorisation.
- Performs differentiation and definite or indefinite integration.
- Solves equations, systems of equations and inequalities.
- Includes more than 400 mathematical, statistical, financial and scientific functions.
- Offers more than 400 units with automatic and explicit conversion.
- Converts currencies using regularly updated exchange rates.
- Includes mathematical and physical constants with uncertainty information.
- Supports uncertainty propagation and interval arithmetic.
- Works with matrices, vectors and data sets.
- Handles dates, times, time zones and multiple calendar systems.
- Supports numerous number bases and Roman numerals.
- Provides an optional RPN calculation mode.
- Creates plots through Gnuplot.
- Allows users to define custom functions, variables and units.
Website: github.com/qalculate/libqalculate
Support:
Developer: Hanna Knutsson
License: GNU General Public License v2.0

qalc is written in C++. Learn C++ with our recommended free books and free tutorials.
Related Software
| Terminal-Based Calculators | |
|---|---|
| Genius | Desktop calculator, an educational tool in mathematics, and for research |
| Numbat | High precision scientific calculator supporting physical units |
| kalker | Calculator with math syntax |
| calc | C-style arbitrary precision calculator |
| concalc | Parser-algorithm of extcalc |
| wcalc | Uses intuitive expressions and implicit multiplication |
| pcalc | Terminal calculator made for programmers |
| bcal | Storage expression calculator |
| numr | Text calculator for natural language expressions |
| kalc | Complex numbers, 2d/3d graphing, arbitrary precision calculator |
| clac | Stack-based calculator with postfix notation |
| CalcPy | Calculator and advanced math solver using Python, IPython and SymPy |
| fortbite | Powerful mathematical calculator leveraging Fortran’s strengt |
| abacus | Simple interactive calculator CLI |
| Daisy | General-purpose TUI scientific calculator |
| Quich | Just an advanced terminal calculator |
| orpie | curses-based RPN calculator |
| Squiid | Advanced calculator supporting both RPN and algebraic input |
| mucalc | Convenient calculator for the command line |
| HIP35 | HP-35 RPN calculator emulator |
| csc | All calculations are done using 64 bit binary floating point arithmetic |
| RCalc | Reverse Polish Notation calculator |
| ec | RPN calculator with array operations and quotations |
| coriolinus-calc | CLI calculator app and library |
| spigot | Streaming exact real calculator |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |


Please read our Comment Policy before commenting.