Description
calc is an interactive, C-style calculator with arbitrary precision, built for large numeric calculations. Run it with no arguments to enter interactive mode, where you type expressions and it prints the results. Or pass a single command on the command line, and it runs that command and exits. It supports the usual arithmetic operators, plus exponentiation with ^, modulus with % and integer division with //, and its values can be very large. The special dot symbol stands for the result of the last command, which helps when you build up partial results or change the output mode and want to see the last answer again. Variables can hold intermediate values. The calculator can also be programmed for long or difficult calculations. The README has quick TL;DR sections for trying, installing and running calc, along with a longer description of its language. The source is public on GitHub.…
Highlights
- Arbitrary precision arithmetic
- Interactive mode or a single command
- Dot symbol for the last result
- Variables for intermediate values
- Programmable for long calculations
Ratings & Reviews
No ratings yet
Be the first to rate Calc.
People also visit
Calc FAQ
What is calc?
An interactive command-line calculator for very large numeric calculations, with a C-style syntax.
How do I run it?
Run it with no arguments for interactive mode, or pass one command as an argument and it runs that command and exits.
Which operators does it support?
Addition, subtraction, division and multiplication, plus ^ for exponentiation, % for modulus and // for integer division.
What is the dot?
The special dot symbol represents the result of the last command expression.
Can I program it?
Yes. The README says variables and programming are supported for more complex or long calculations.
What are the best Calc alternatives?
Popular alternatives to Calc include Numara Calculator, NerdCalci and CalcYou. See all Calc alternatives



