IP Address Subnet Calculator – Plan Your Network Right

April 18, 2026

🌐 IP Address Subnet Calculator

Calculate network address, broadcast, usable hosts, CIDR notation & wildcard mask for any subnet

⚡ Quick Presets
🧮 Subnet Configuration
. . .
/
✅ Subnet Calculation Results
📊 Subnet Quick Reference
/24
Most Common Home
254
Usable /24 Hosts
/30
Point-to-Point
2
Usable /30 Hosts
/16
Medium Enterprise
65,534
Usable /16 Hosts
/8
Large Corp / ISP
16.7M
Usable /8 Hosts
📋 CIDR Subnet Reference Table
CIDR Subnet Mask Total IPs Usable Hosts Network Bits Host Bits
/8255.0.0.016,777,21616,777,214824
/16255.255.0.065,53665,5341616
/20255.255.240.04,0964,0942012
/22255.255.252.01,0241,0222210
/23255.255.254.0512510239
/24255.255.255.0256254248
/25255.255.255.128128126257
/26255.255.255.1926462266
/27255.255.255.2243230275
/28255.255.255.2401614284
/29255.255.255.24886293
/30255.255.255.25242302
/31255.255.255.25422 (P2P RFC 3021)311
/32255.255.255.25511 (host route)320
🔒 RFC 1918 Private Address Ranges
Range Default CIDR Total Addresses Typical Use Case
10.0.0.0 – 10.255.255.255/816,777,216Large enterprise, data centers
172.16.0.0 – 172.31.255.255/121,048,576Medium business, ISPs
192.168.0.0 – 192.168.255.255/1665,536Home networks, small offices
ℹ Special & Reserved IP Ranges
Range Purpose RFC Routable?
127.0.0.0/8LoopbackRFC 1122No
169.254.0.0/16Link-local (APIPA)RFC 3927No
224.0.0.0/4MulticastRFC 5771Special
240.0.0.0/4Reserved for futureRFC 1112No
0.0.0.0/8This networkRFC 1122No
100.64.0.0/10Shared Address Space (CGNAT)RFC 6598No (ISP only)
198.18.0.0/15Benchmark TestingRFC 2544No
💡 Tip – Choosing the Right CIDR: For home networks, /24 gives 254 usable hosts — more than enough. For point-to-point WAN links, always use /30 (2 usable) or /31 (RFC 3021). Add a 10–20% buffer to your host count before selecting a subnet to avoid renumbering later.
💡 Tip – Subnetting for VLANs: When planning multiple VLANs, use VLSM so each segment gets exactly the right size. A /26 serves up to 62 hosts, ideal for a department. Always reserve the network address and broadcast address — those 2 IPs are never assignable to devices.

Subnet, or Subnet, simply said are smaller parts of big IP networks. Imagine that as splitting a big neighbourhood into tiny blocks. The method to share a net into two or more nets is called subnetting.

Computers that belong to the same Subnet share a alike group of addresses and can talk with each another directly, without passing through any routers.

What is a Subnet and How Subnetting Works

Every IP Address is made up of two parts. One of them is the network address, and the second is the host address. For instance, take 192.168.123.132.

Here the network part is 192.168.123.0, while the host part is 0.0.0.132. The thing that points to which part is which is the Subnet mask. Without that, the net simply does not work well.

A Subnet mask like 255.255.255.0 covers the first three sections and frees the last. That means that all devices in that Subnet use addresses of type 192.168.1.X, which allows up to 256 possilbe IP addresses. In every IPv4 net however it books two addresses.

One of them is the network address, and the second is the broadcast address. Like this with /24 mask one indeed receives 254 usable host addresses.

There also exist different classes of nets. A net of A-class has default Subnet mask 255.0.0.0, which matches to /8 prefix. It allows a huge amount of hosts.

B-class uses 255.255.0.0 or /16. C-class uses 255.255.255.0 or /24. If a network admin chooses a C-class address, the maximum number of hosts is 254.

But it is possible too choose bigger address classes and reach more devices.

So, why care about subnetting? It means to share one IP net into more small logical nets. Such Subnets help to use IP addresses more effectively, make work easier and provide better security control.

Creating different Subnets, one pushes them into separate nets, which makes it harder for unwanted data to cross between them. It also is useful for organising and managing.

When a router receives a packet sent to an address like 192.0.2.15, it sends it to the right net. Once there, the router in that net checks its list of routes and applies the Subnet mask to do binary math. It finds the host address and figures out which Subnet the packet must go to.

An easy way to guess how many hosts fit in a Subnet is to take the length of the netmask from 32, because IPv4 addresses have 32 bits. Then raise 2 to that difference and take away 2. That shows the maximum number of usable hosts.

CIDR note like /26 matches with Subnet mask 255.255.255.192, and the size of theSubnet comes to 64 addresses. All this is based on binary math inside, although it looks like normal numbers outside.

IP Address Subnet Calculator – Plan Your Network Right

Related posts

Leave a Comment