Example: ,

Example: or as a number of bits per network address:

Calculation exampleExample for IP address 127.0.0.1 with netmask 255.255.255.0

Address 127.0.0.1 01111111.00000000.00000000.00000001
Netmask 255.255.255.0 = 24 11111111.11111111.11111111.00000000
Wildcard 0.0.0.255 00000000.00000000.00000000.11111111
Network 127.0.0.0/24 (Class A) 01111111.00000000.00000000.00000000
Broadcast 127.0.0.255 01111111.00000000.00000000.11111111
Start range 127.0.0.1 01111111.00000000.00000000.00000001
End range 127.0.0.254 01111111.00000000.00000000.11111110
IP type Private — Used for loopback addresses to the local host.
Hosts 254