Command-line tool
calc
brew/calc
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Arbitrary precision calculator
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
cargo install calc
macOS
brew install calc cargo install calc
Linux
brew install calc cargo install calc
Start `calc` in interactive mode
calc
Perform a calculation in non-interactive mode
calc '85 * (36 / 4)'
Don't format the output (for use with [p]ipes)
calc -p '4/3 * pi() * 5^3'
Related command-line tools
- fend
Arbitrary-precision unit-aware calculator rust hacktoberfest calculator units-of-measure - fend-core
Arbitrary-precision unit-aware calculator - kalc
a complex numbers, 2d/3d graphing, arbitrary precision, vector/matrix, cli calculator with real-time output and… - bc
Arbitrary precision numeric processing language - bc-gh
Implementation of Unix dc and POSIX bc with GNU and BSD extensions - calc_rational
CLI calculator for rational numbers. - w-calc
Very capable calculator - speedcrunch
A free, open-source high-precision scientific calculator. Built for STEM professionals, students and teachers.
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents