Abacus is a simple interactive calculator CLI with support for variables, lambdas, comparison checks, and math functions.
This is free and open source software.
Key Features
- History of expressions and Tab completion of all math functions and defined variables.
- Importing from file lets you keep variable and lambda definitions in a file and import it on load.
- Custom prompt symbol lets you use a custom string as a prompt prefix.
- Evaluate and exit lets you evaluate an expression and exit without entering REPL mode.
- All common operations (+ – * / ^ % etc).
- Last answers are saved in the variables ans and answer by default.
- Comparisons <, ==, >, <=, >=.
- E, Pi, Phi.
- Single arity functions: sqrt, cbrt, ln, log, log2, log10, floor, ceil, exp, sin, cos, tan, abs, round.
- Two arity functions (accept 2-tuples): round (number, digits of precision), log (number, base),
- N-arity functions (accept n-tuples): min, max, avg, from, until, reverse, nth
- Reserved names.
- Lambda expression support.
Website: github.com/viktordanov/abacus
Support:
Developer: Viktor Danov
License: MIT License

abacus is written in Go. Learn Go 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. |

