← All tools
// NETWORK

CIDR Calculator online

Calculate subnet details from CIDR - network, broadcast, host range.

CIDR Calculator logo
by
CHUNKY
MUNSTER
CIDR / SUBNET CALCULATOR

Common CIDR Blocks

How to Use the CIDR Calculator

  1. Enter an IP address and prefix in CIDR notation (e.g., 192.168.1.0/24).
  2. The tool calculates the network address, broadcast address, and host range instantly.
  3. Read the total and usable IP counts for your specific subnet.
  4. Copy any value to your clipboard for firewall or cloud configuration.

CIDR Calculator (IP Subnetting) provides a fast way to determine the boundaries of an IP network based on its prefix length. This free online CIDR calculator tool outputs the subnet mask, first usable host, and last usable host, helping you avoid configuration errors in complex environments. Whether you are setting up a home router or a multi-region cloud VPC, understanding your usable IP range is critical for networking success.

Subnetting Logic and Broadcast Address Calculator

This ip subnet calculator uses bitwise logic to split addresses into network and host portions. A /24 prefix, for example, leaves 8 bits for hosts, resulting in 256 total addresses. After subtracting the network ID and the broadcast result found by our broadcast address calculator, you are left with 254 usable addresses. This ipv4 subnetting tool handles the binary math automatically, ensuring your cidr notation tool results are technically accurate for all standard subnet sizes from /0 to /32.

Frequently Asked Questions

What is the subnet mask for /24?

255.255.255.0 - the first 24 bits are all 1s (11111111.11111111.11111111.00000000), covering the first three octets.

Why are 2 addresses reserved in every subnet?

The first address (all host bits = 0) is the network address, used to identify the subnet itself. The last address (all host bits = 1) is the broadcast address. Neither can be assigned to a host.

What is a wildcard mask?

A wildcard mask is the bitwise inverse of a subnet mask. Where a subnet mask has 1s (network bits), the wildcard mask has 0s, and vice versa. Used in Cisco ACLs and routing protocols to specify which bits must match.

How do I check if two IP addresses are in the same subnet?

Apply the subnet mask (bitwise AND) to both addresses. If the results are equal, they are in the same subnet. For example, 192.168.1.50 AND 255.255.255.0 = 192.168.1.0; 192.168.1.200 AND 255.255.255.0 = 192.168.1.0 - same network.

Whether you're an IT student or a network engineer, this utility simplifies the subnetting process. For more network utilities, see also the Binary to IP converter and the MAC Address Generator. Bookmark this CIDR calculator for a fast, free online IP subnetting tool whenever you need to calculate network ranges.