Smart Calculator

IPv4 Subnet Calculator

IPv4 Subnet Calculator

Calculate subnet details from IPv4 address and subnet mask. Get network address, broadcast address, host range, and advanced networking information.

Network Configuration
Enter IPv4 address and subnet mask to calculate subnet details

Include binary representation, wildcard mask, and IPv6 mappings

Understanding IPv4 Subnetting

Key Concepts

  • Network Address: First address in subnet (all host bits = 0)
  • Broadcast Address: Last address in subnet (all host bits = 1)
  • Host Range: Usable addresses between network and broadcast
  • CIDR Notation: /24 means first 24 bits are network portion

IP Classes (Legacy)

  • Class A: 0-127 (8-bit network, 24-bit host)
  • Class B: 128-191 (16-bit network, 16-bit host)
  • Class C: 192-223 (24-bit network, 8-bit host)
  • Class D: 224-239 (Multicast)
  • Class E: 240-255 (Experimental)

Example Calculation

IP: 192.168.1.130/24

Subnet mask: 255.255.255.0

Network: 192.168.1.0

Broadcast: 192.168.1.255

Host range: 192.168.1.1 - 192.168.1.254

Total addresses: 2^(32-24) = 256

Usable hosts: 256 - 2 = 254

Private IP Ranges

  • 10.0.0.0/8: 10.0.0.0 - 10.255.255.255
  • 172.16.0.0/12: 172.16.0.0 - 172.31.255.255
  • 192.168.0.0/16: 192.168.0.0 - 192.168.255.255