← Back to all tools

🌐 IP Subnet Calculator

Calculate subnets, CIDR ranges, and available hosts

About IP Subnet Calculator

Calculate IP subnets, CIDR notation, network addresses, broadcast addresses, subnet masks, wildcard masks, and the number of usable hosts. This tool runs entirely in your browser — no data is sent to any server.

How to Use IP Subnet Calculator

  1. Enter an IP address and subnet mask (or CIDR notation)
  2. View the network address, broadcast address, and usable range
  3. See the number of available hosts
  4. Check wildcard mask for ACL configuration
  5. Convert between CIDR, subnet mask, and wildcard mask

About IP Subnet Calculator

Subnetting divides a large network into smaller, manageable segments — fundamental to network design and IP address management. Every network engineer needs to calculate subnet boundaries, usable host ranges, and broadcast addresses. This calculator takes an IP address with either a subnet mask (255.255.255.0) or CIDR notation (/24) and computes: network address, broadcast address, first and last usable host IPs, total hosts, and wildcard mask. It's essential for designing network topologies, configuring routers and firewalls, planning IP allocation, troubleshooting connectivity, and passing networking certifications (CCNA, CompTIA Network+).

Frequently Asked Questions

What is subnetting?

Dividing a network into smaller segments. A /24 network (256 IPs) can be split into two /25 networks (128 IPs each) or four /26 networks (64 each). This improves security, management, and reduces broadcast traffic.

How many hosts in a /24?

254 usable hosts. A /24 has 256 total addresses, minus 1 for network address and 1 for broadcast. Formula: 2^(32-prefix) - 2 = usable hosts. /24 = 2^8 - 2 = 254.

What's a wildcard mask?

The inverse of the subnet mask — used in Cisco ACLs and OSPF configuration. For subnet 255.255.255.0, wildcard is 0.0.0.255. Calculate by subtracting each octet from 255.

What's the difference between /24 and 255.255.255.0?

They're the same thing — different notations. /24 means 24 bits for the network portion (CIDR notation). 255.255.255.0 is the dotted decimal representation of those 24 bits all set to 1.

Why can't I use the network and broadcast addresses?

The network address (all host bits 0) identifies the subnet itself. The broadcast address (all host bits 1) sends to all hosts on the subnet. Neither can be assigned to a specific device.

Related Tools

IP Address Generator → IP Lookup → DNS Lookup → Binary Calculator →