ip address subnet calculator in JavaScript:

/
dot quad binary quad integer count
address: unset unset unset
netmask: unset unset unset unset
network: unset unset unset
broadcast: unset unset unset unset

Notes:

  • Netmask is the number of bits filled from the high bit to low, then padded with zeros to be 32.
  • Network is a logical AND between the address and netmask: 1 & 1 = 1, 1 & 0 = 0, 0 & 1 = 0, 0 & 0 = 0
  • Broadcast is a logical OR between the address and the NOT netmask (bits flipped).