CIDR Calculator
IPNetwork, broadcast, mask, wildcard, host range and counts for any IPv4/IPv6 CIDR.
Use this from the command line
curl -s https://ipcow.com/api/tools/cidr-calculator \
-H 'content-type: application/json' \
-d '{"cidr":"10.0.0.0/22"}'