Num: number utilities for mathematics

Num is a command line tool for mathematics and statistics data processing.
Num can calculate sum, median, quartiles, standard deviation, and much more.
Num can sort, map, filter, round, and use various input/output formats.

Num on Patreon: donate to help
Num on Twitter: @numcommand
Num on the web:


$ num sum median variance stddev data.txt
10 2.5 1.66667 1.29099


sudo curl -sSL -o /usr/local/bin/num && sudo chmod +x /usr/local/bin/num && (command -v uname >/dev/null 2>&1) && (uname | grep -q Darwin) && (command -v brew >/dev/null 2>&1) && (brew ls --versions gawk | grep -q gawk) || brew install gawk

For more on how to install please see the Install page.
To troubleshoot please see the Troubleshooting page.

Start using Num:

Project pages:

Programmer pages:

By Joel Parker Henderson