Skip to main content
DevTools24

Subnet Calculator

Calculate IPv4 subnet information including network address, broadcast, usable hosts, and CIDR notation.

/0/8/16/24/32
Common:

About Subnetting

  • • CIDR (Classless Inter-Domain Routing) notation specifies the network portion of an IP
  • • /24 means 24 bits for network, 8 bits for hosts (256 addresses, 254 usable)
  • • Network address is the first address, broadcast is the last
  • • Usable hosts exclude network and broadcast addresses (except /31 and /32)

IP Subnetting - Technical Details

Subnetting divides IP networks into smaller segments. CIDR notation (e.g., /24) indicates how many bits are used for the network portion. Understanding subnets is essential for network design and security.

Command-line Alternative

# Check your subnet on Linux/macOS\nip addr show  # Linux\nifconfig | grep netmask  # macOS\n\n# Calculate with ipcalc\nipcalc 192.168.1.0/24

Reference

View Official Specification