Back to All Tools

IP Subnet Calculator

Enter an IPv4 address and CIDR prefix to calculate your network's broadcast address, wildcard mask, and total usable host range.

IPv4 Subnet Calculator

/24
/1/32

Network Address

192.168.1.0

Broadcast Address

192.168.1.255

Usable Host Range

192.168.1.1 - 192.168.1.254

Total Usable Hosts

254

Subnet Mask

255.255.255.0

Wildcard Mask

0.0.0.255

IP Class

Class C

CIDR Notation

/24

Binary IP

11000000.10101000.00000001.00000001

Binary Mask

11111111.11111111.11111111.00000000

IP Subnet Calculator: IPv4 Networking & CIDR

Subnetting is the backbone of modern IP networking. It allows IT engineers to divide a massive, single network block into smaller, highly efficient, and secure sub-networks (subnets). The Calculay IP Subnet Calculator instantly computes critical network metrics—including the Network Address, Broadcast Address, Subnet Mask, and Usable Host Range—using Classless Inter-Domain Routing (CIDR) notation.

Why Do We Subnet?

If a corporation is given a standard Class B IP address block, it contains over 65,000 available IP addresses on a single flat network. If 1,000 computers are connected to that single network, the constant "broadcast traffic" (computers yelling across the network to find printers or servers) would cause massive packet collisions, grinding the network speed to a halt.

Subnetting solves this by creating logical boundaries. By changing the subnet mask, an engineer can slice that giant network into 50 smaller networks, each containing just a few hundred computers. This isolates broadcast traffic, significantly boosts network speed, and allows for strict firewall security rules between departments (e.g., isolating the HR subnet from the Guest Wi-Fi subnet).

Understanding CIDR Notation

Historically, networks were divided rigidly into Class A, B, and C. Today, we use CIDR (Classless Inter-Domain Routing), denoted by a slash and a number (e.g., 192.168.1.0/24).

  • The /24 means that exactly 24 bits out of the 32-bit IPv4 address are permanently locked in to identify the Network.
  • This leaves 8 bits (32 - 24 = 8) available for Host IP addresses.
  • Because 2 to the power of 8 is 256, a /24 subnet provides 256 total IPs.

Network and Broadcast Boundaries

Out of those 256 IPs, you cannot assign all of them to computers. The very first IP in the block (e.g., 192.168.1.0) is strictly reserved as the Network Address to identify the subnet itself. The very last IP in the block (e.g., 192.168.1.255) is strictly reserved as the Broadcast Address, used to send a message to every device on that subnet simultaneously. This leaves exactly 254 "Usable Hosts" for actual devices.