I've always suspected such a tool must exist in a typical *nix environment but never bothered to search for it. This is very helpful. Thanks for the simple example!
There's also an interactive mode if you leave out the positional arguments. That's my go-to CLI calculator, it knows enough arithmetic and the understanding of units is a nice bonus.