IP Subnet Calculator

Developer & QA

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

/8Class A (Large enterprise)

16M hosts

/16Class B (Medium org)

65K hosts

/24Class C (Small office)

254 hosts

/25Small LAN split

126 hosts

/26Department subnet

62 hosts

/28Small segment

14 hosts

/30Point-to-point link

2 hosts

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)

🔒 All calculations happen in your browser — no data is sent to any server. Results are for informational purposes only.