ipcalc

Calculate various network masks, etc. from a given IP address

http://jodies.de/ipcalc

Current versions:

stable 0.41

JSON API for ipcalc

Formula code on GitHub

Fork me on GitHub