Calc - A command-line calculator

January 12, 2019

Calc is an interactive calculator which provides for easy large numeric calculations, but which also can be easily programmed for difficult or long calculations.

I don’t do advanced math myself, but if you like command-line tools and need to do math (advanced or not) this application should be something for you.

It features both a CLI and a simple TUI. The TUI looks like this:

$ calc
C-style arbitrary precision calculator (version
Calc is open software. For license details type:  help copyright
[Type "exit" to exit, or "help" for help.]

; 3 * (4 + 1)
; 3 * 19^43 - 1
; . % (2^127-1)

And the CLI looks about the same:

$ calc '3 * (4 + 1)'

Since I’m not into math I’m not going to talk about all the features, but you can read more about them on their webpage ‘What is Calc?’.


The package seems to be named calc in most distributions, except for the Debian family where it’s named apcalc.


No Comments

Use the e-mail form, if you wish to leave feedback for this post. Markdown is supported. [Terms of service]