wcalc

Flexible command-line scientific calculator

Install

All systems
curl cmd.cat/wcalc.sh
Debian Debian
apt-get install wcalc
Ubuntu
apt-get install wcalc
image/svg+xml Kali Linux
apt-get install wcalc
Windows (WSL2)
sudo apt-get update sudo apt-get install wcalc
OS X
brew install wcalc
Raspbian
apt-get install wcalc

wcalc

Flexible command-line scientific calculator

Wcalc is a very capable calculator. It has standard functions (sin, asin, and sinh for example, in either radians or degrees), many pre-defined constants (pi, e, c, etc.), support for using variables, "active" variables, a command history, hex/octal/binary input and output, unit conversions, embedded comments, and an expandable expression entry field. It evaluates expressions using the standard order of operations. Wcalc uses intuitive expressions. For example, Wcalc will evaluate: 5sin 4!-7*2(4%6)^2 to be -221.96631678

w-calc