Online Network Tools www.ipdistance.com


Your IP Address: 54.198.118.102

Network Node Calculator

Enter the TCP/IP Address:
Enter the Subnet Mask:


Network Note Generator Tutorial

This calculator will calculate the network address, the host address and the broadcast address for a given TCP/IP address and subnet mask. Follow these steps to use above calculator:

1. Enter IP Address you want to calculate.
2. Enter subnet mask address related to above IP Address.

Step by Step Guide

Example:
IP Address: 192.168.0.1
Subnet mask: 255.255.255.0

These are actually fairly straightforward calculations. The easiest way to do it is to depict both the ip address and the subnet mask in binary. Take 192.168.0.1 with subnet mask 255.255.255.0 listed in binary:
          ip address: 11000000.10101000.00000000.00000001
         subnet mask: 11111111.11111111.11111111.00000000
If you do a binary AND between these two numbers, you get the network address:
          ip address: 11000000.10101000.00000000.00000001
         subnet mask: 11111111.11111111.11111111.00000000
		      -----------------------------------AND
     network address: 11000000.10101000.00000000.00000000
which translated back to dotted decimal notation is 192.168.0.0

To get the host portion, invert the subnet mask and again perform a binary AND with the ip address:
          ip address: 11000000.10101000.00000000.00000001
inverted subnet mask: 00000000.00000000.00000000.11111111
		      -----------------------------------AND
        host portion: 00000000.00000000.00000000.00000001
which translated back to dotted decimal notation is 0.0.0.1

To obtain the broadcast address, again it is simplest to look at it in binary. Take the inverted subnet mask and perform a binary XOR with the network address:
     network address: 11000000.10101000.00000000.00000000
inverted subnet mask: 00000000.00000000.00000000.11111111
		      -----------------------------------XOR
   broadcast address: 11000000.10101000.00000000.11111111
which translated back to dotted decimal notation is 192.168.0.255