IP Subnet Calculator

Calculate subnet mask, network address, broadcast address, and usable host range from any IP address and CIDR prefix.

First octet of the IP address (0-255).

Second octet of the IP address (0-255).

Third octet of the IP address (0-255).

Fourth octet of the IP address (0-255).

CIDR prefix (0-32).

AI Financial Assistant

Beta

Ask questions about your calculation results

I can help you understand your results and explore your options. Try asking:

3 free questions per session

AI provides general information, not financial advice. Always consult a qualified professional.

What is Subnetting?

Subnetting is the practice of dividing a larger network into smaller, more manageable sub-networks (subnets). Each subnet operates as an independent network segment, improving security, reducing broadcast traffic, and making IP address allocation more efficient. Subnetting is a fundamental skill for network administrators and engineers.

Understanding CIDR Notation

CIDR (Classless Inter-Domain Routing) notation combines an IP address with a prefix length, written as IP/prefix (e.g., 192.168.1.0/24). The prefix indicates how many bits of the address identify the network portion. A /24 means the first 24 bits are the network address, leaving 8 bits (256 addresses) for hosts. Smaller prefixes mean larger networks.

Subnet Masks and Host Calculations

The subnet mask determines which portion of an IP address identifies the network and which identifies the host. A /24 subnet mask is 255.255.255.0, providing 254 usable host addresses (256 total minus the network and broadcast addresses). Understanding the relationship between CIDR prefix, subnet mask, and available hosts is essential for proper network planning.

Frequently Asked Questions