Skip to main contentSkip to navigation

Subnet Calculator

Calculate subnet masks and network ranges with CIDR notation, IP ranges, and network information.

Calculate subnet masks, network ranges, broadcast addresses, and host counts for IPv4 addresses with CIDR notation support.

Subnet Calculator
Enter an IP address and subnet information to calculate network details

Number of network bits (0-32)

How to Use Subnet Calculator

What It Calculates

  • Network and broadcast addresses
  • Usable IP address ranges
  • Total and available host counts
  • Subnet masks and wildcard masks
  • IP class determination

Common Subnet Sizes

  • /24: 256 addresses, 254 usable (home networks)
  • /25: 128 addresses, 126 usable (small offices)
  • /26: 64 addresses, 62 usable (departments)
  • /27: 32 addresses, 30 usable (small groups)
Common Use Cases

Network Planning

  • Calculate subnet sizes for departments
  • Plan IP address allocation
  • Design network architecture
  • Optimize address space usage

Troubleshooting

  • Verify network configurations
  • Check IP address assignments
  • Validate subnet boundaries
  • Debug connectivity issues

About This Tool

This tool processes all data locally in your browser for maximum privacy and security. No data is sent to any server.