IP Subnet Calculator
Calculate network address, broadcast, usable host range, and subnet mask for any IP and CIDR prefix.
Network Input
Valid IP address
0–32 (e.g. /24 = 255.255.255.0)
Common Subnets
/8 — Class A (Large enterprise)
/16 — Class B (Medium org)
/24 — Class C (Small office)
/25 — Small LAN split
/26 — Department subnet
/28 — Small segment
/30 — Point-to-point link
Network Address
192.168.1.0
First address in subnet
Subnet Mask
255.255.255.0
/24 CIDR notation
Broadcast Address
192.168.1.255
Last address in subnet
Usable Host Range
192.168.1.1 – 192.168.1.254
254 usable hosts
Network Details
Total Addresses
256
Usable Host Addresses
254
Wildcard Mask
0.0.0.255
Binary Mask
11111111.11111111.11111111.00000000
About Subnetting
What is subnetting?
Subnetting divides a large IP network into smaller sub-networks (subnets). This improves network performance, security, and IP address management. Each subnet has its own network address, broadcast address, and range of usable host IP addresses.
CIDR notation explained
/24 means 24 bits are the network part — leaves 8 bits for hosts (256 addresses, 254 usable)
/16 gives 65,536 addresses (Class B)
/8 gives 16 million addresses (Class A)
Smaller prefix = larger network = more hosts
Private IP ranges (RFC 1918)
10.0.0.0/8 — Large private networks (Class A)
172.16.0.0/12 — Medium private networks (Class B)
192.168.0.0/16 — Home/office networks (Class C)
127.0.0.0/8 — Localhost (loopback)
Related Free Tools
🔒 All calculations happen in your browser — no data is sent to any server. Results are for informational purposes only.