IP Calculator Online - Subnet

IP Subnet Calculator

Simple IP calculator, which you can use by simply enterign the needed data. All calculation will be done automatically. This tool may not work with some browsers, so if you think this is so, try visiting this page using a different browser. Sorry for the inconvenience...

javascript subnet calculator

The funny thing about a JavaScript Subnet Calculator is that JavaScript integers are only 16 bit. In order to do easy bit shifting you need 32 bit integers. This code weaves it's way through that issue by storing IP address octets in arrays with 4 integers. View source to see/grab the code.

You can use CIDR Netmask in the Network IP field (eg: Change the network class, network IP, subnet mask, or number of hosts to trigger calculations. This code does work on most browsers including FireFox, Safari, iPhone, iTouch, Android, Blackberry and even IE.

Class A B C
Network IP
Subnet Mask
Wildcard Mask
Mask Bits
Subnet ID

if you have suggestions or comments, feel free to post them on the developer's guest book.

You can find a working version of this calculator also here: IP Calculator.


  1. Online calculators with the provision to add the required values are also available. The common values that can be entered on these calculators are initial deposits, periodic deposits, interest rates, and the number of years. The frequency with which the periodic deposit is made can also be found on the same calculator!

    High Interest Savings Account

  2. An IP (Internet Protocol) address is a logical address of a device in a computer network using IP protocol (works on Layer 3 of ISO/OSI model). IP addresses are used on the Internet. IP addresses are stored as 32-bit binary numbers, but they are displayed as four decimal numbers divided with a dot (dot-decimal notation), example An IP address indicates the logical location of a device. An IP address range is from to Public addresses are managed by IANA (Internet Assigned Numbers Authority) and blocks of addresses are allocated to Local Internet Registries. These address blocks correspondent to geological locations.
    If you want to find the IP address of your computer (often a private address), you can use a command ipconfig or ipconfig /all on Windows OS or ifconfig on Linux OS.