Advertisement
Ad Space

Subnet Calculator

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

/
Subnet Details192.168.1.0/24
Network Address
192.168.1.0
Broadcast Address
192.168.1.255
First Usable Host
192.168.1.1
Last Usable Host
192.168.1.254
Subnet Mask
255.255.255.0
Wildcard Mask
0.0.0.255
CIDR Notation
/24
Total Addresses
256
Usable Hosts
254
IP Class
C
Network Type
Private (RFC 1918)
Binary Subnet Mask
11111111.11111111.11111111.00000000

Quick CIDR Reference

CIDRSubnet MaskHosts
/8255.0.0.016,777,214
/16255.255.0.065,534
/20255.255.240.04,094
/22255.255.252.01,022
/24255.255.255.0254
/25255.255.255.128126
/26255.255.255.19262
/27255.255.255.22430
/28255.255.255.24014
/29255.255.255.2486
/30255.255.255.2522
/31255.255.255.2542
/32255.255.255.2551
Advertisement
Ad Space

What is Subnetting?

Subnetting is the practice of dividing a larger IP network into smaller, more manageable sub-networks (subnets). Every IP address is divided into two parts: the network portion (which identifies the subnet) and the host portion (which identifies a specific device on that subnet). The subnet mask determines where this division occurs. Our Subnet Calculator takes an IP address and a CIDR prefix length (like /24) or subnet mask (like 255.255.255.0) and instantly calculates all the critical details: network address, broadcast address, first and last usable host addresses, total number of hosts, and the wildcard mask used in access control lists.

Understanding CIDR Notation

CIDR (Classless Inter-Domain Routing) notation is the modern way to express subnet masks. It appends a slash and a number to an IP address — for example, 192.168.1.0/24. The number after the slash indicates how many bits of the 32-bit address are used for the network portion. A /24 means the first 24 bits are the network part and the remaining 8 bits are for hosts, giving 254 usable addresses (2^8 - 2, minus the network and broadcast addresses). A /16 gives 65,534 hosts. A /32 represents a single host address. Understanding CIDR is essential for network engineers, system administrators, and anyone preparing for networking certifications.

Common Subnet Masks

The most commonly used subnet masks are /8 (255.0.0.0) for very large networks with over 16 million hosts, /16 (255.255.0.0) for large enterprise networks with 65,534 hosts, /24 (255.255.255.0) for typical local networks with 254 hosts, and /30 (255.255.255.252) for point-to-point links with just 2 usable hosts. In cloud computing, /28 and /27 subnets are popular for small server groups. When designing networks, always plan for growth by choosing a subnet size larger than your current needs.

Q&A

Frequently Asked Questions

Everything you need to know about this tool and benchmarks

Advertisement
Ad Space