The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.
One of a set of tools we're offering as a way of saying thank you for being a part of the community.
http://msdn.microsoft.com/library/en-us/vcmfc98/html/_mfc_ccombobox.3a3a.drawitem.asp