ToolNest

IP Subnet Calculator

CIDR, netmask and host rangeRuns locally · nothing uploaded

  • CIDR notation192.168.1.0/24
  • Network address192.168.1.0
  • Broadcast address192.168.1.255
  • First usable host192.168.1.1
  • Last usable host192.168.1.254
  • Usable hosts254
  • Total addresses256
  • Subnet mask255.255.255.0
  • Wildcard mask0.0.0.255
  • Address typePrivate (RFC 1918)
  • ClassC
  • IP in binary11000000.10101000.00000001.00001010
  • Mask in binary11111111.11111111.11111111.00000000
Prefix length reference
PrefixSubnet maskUsable hosts
/8255.0.0.016,777,214
/16255.255.0.065,534
/20255.255.240.04,094
/22255.255.252.01,022
/23255.255.254.0510
/24255.255.255.0254
/25255.255.255.128126
/26255.255.255.19262
/27255.255.255.22430
/28255.255.255.24014
/29255.255.255.2486
/30255.255.255.2522
Also works as:subnet calculatorcidr calculatoripv4 subnet mask

How to use

  1. 1Enter an IP with prefix, e.g. 10.0.0.1/16, or choose a mask.
  2. 2Read the network, broadcast and host range.
  3. 3Copy what you need.

FAQ

How many usable IPs in a /24?

256 addresses, 254 usable after the network and broadcast addresses; mask 255.255.255.0.

Which ranges are private?

10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 (RFC 1918).