IP Address Range Calculator: Find Hosts & Subnets Fast

April 14, 2026

🌐 IP Address Range Calculator

Calculate subnet ranges, usable hosts, network & broadcast addresses from any IP and CIDR prefix or subnet mask

⚡ Quick Presets
⚙️ Subnet Configuration
Please enter a valid IPv4 address.
Please enter a valid subnet mask.
✅ Subnet Calculation Results
📊 CIDR Reference — Prefix to Host Count
254
/24 Usable Hosts
1,022
/22 Usable Hosts
65,534
/16 Usable Hosts
16.7M
/8 Usable Hosts
📋 CIDR Prefix Cheat Sheet
CIDR Prefix Subnet Mask Total IPs Usable Hosts Typical Use
/8255.0.0.016,777,21616,777,214Class A Private (10.x.x.x)
/12255.240.0.01,048,5761,048,574172.16.0.0/12 Private
/16255.255.0.065,53665,534Class B LAN
/20255.255.240.04,0964,094Mid-size Campus
/22255.255.252.01,0241,022Enterprise VLAN
/23255.255.254.0512510Dual-class C
/24255.255.255.0256254Home / SMB LAN
/25255.255.255.128128126Half-class C
/26255.255.255.1926462VLAN Segment
/27255.255.255.2243230Small VLAN
/28255.255.255.2401614Small Segment
/29255.255.255.24886Tiny Segment
/30255.255.255.25242Point-to-Point
/31255.255.255.25422*P2P (RFC 3021)
/32255.255.255.25511*Host Route / Loopback
🏷️ Private IP Address Ranges (RFC 1918)
Class Range CIDR Total IPs Common Use
Class A10.0.0.0 – 10.255.255.25510.0.0.0/816,777,216Large enterprise
Class B172.16.0.0 – 172.31.255.255172.16.0.0/121,048,576Corporate / ISP
Class C192.168.0.0 – 192.168.255.255192.168.0.0/1665,536Home / SOHO
APIPA169.254.0.0 – 169.254.255.255169.254.0.0/1665,536Auto-config (no DHCP)
Loopback127.0.0.0 – 127.255.255.255127.0.0.0/816,777,216Local host testing
Multicast224.0.0.0 – 239.255.255.255224.0.0.0/4268,435,456Multicast groups
📈 Common Subnet Configurations
Scenario Recommended CIDR Usable Hosts Subnets from /24
Home Lab (Proxmox / VMs)/242541
IoT VLAN Isolation/26624
Guest WiFi Network/251262
Management VLAN/27 or /2814–308–16
Point-to-Point WAN/30264
Server Farm VLAN/251262
DMZ Segment/281416
Campus Building/221,022—
💡 Tip — Always reserve addresses for growth: When sizing a subnet, add at least 10–20% buffer above your current device count. A /26 gives 62 hosts — ideal if you have 40–50 devices now but expect growth. For point-to-point links between routers, always use /30 (2 usable IPs) to conserve address space.
💡 Tip — CIDR splitting rules: Each time you add 1 to the prefix (e.g. /24 → /25), you halve the host count and double the number of subnets. Going from /24 to /26 gives you 4 subnets each with 62 hosts. Usable hosts = 2^(32–prefix) – 2 (subtract network and broadcast). /31 and /32 are exceptions per RFC 3021 and RFC 4632 respectively.

IP Address is made up of groups of numbers and dots, that marks a unique device. Every device in networks requires one for communication. Samples of IPv4 addresses, like 192.168.1.1, have four groups of numbers split by dots.

Every group Range between 0 and 255. Those numbers stand for eight bits of data, also called octets. Together they create a 32-bit address.

IPv4 Addresses and How They Work

Like this IPv4 allow from 0.0.0.0 until 255.255.255.255, what matches around 4.3 billions of possible addresses.

Three main Range of private IP Address are saved for local networks. The first Range goes from 10.0.0.0 until 10.255.255.255, what belongs to Class A. It provides almost 16 millions of addresses, a really huge amount. The second ranges from 172.16.0.0 until 172.31.255.255.

The thrid covers 192.168.0.0 until 192.168.255.255. Private addresses do not travel through the whole internet. Every address, that starts with 10, belongs to that private category.

Administrators of networks commonly split big blocks into smaller subnets. Home routers usually choose automatically the Range of 192.168.0.0 until 192.168.0.255, marked as 192.168.0.0/24. In one subnet, the addresses follow won after the other, set by the address of the net and the subnet mask.

To find the Range of used hosts in a subnet, the process is easy. First, one counts the address of the net by bit-AND between the IP Address and the mask. Later, for the broadcast address, one does OR between the net address and the reverse mask.

Used hosts go from net address plus one until broadcast address minus one. Like this the first and the final addresses stay separated. The first serves for the net itself, and the last for broadcast.

Many err, when they believe, that 169.254.0.0/16 is a private Range for IP Address. Really it serves for automatic setup of link-local. Also 127.0.0.0/8 is saved for local address.

Pinging 127.0.0.1 tests, if the TCP/IP stack works well. Addresses like 127.0.0.2 in that Range will not get an answer, unless a program listens here.

IPv4 addresses ended, and now one gets them only on a second market, often for extra cost. The smallest block, shared by BGP, is /24. One of the main reasons for IPv6 was to grow the address space from 32 bits to 128 bits, giving much more than needed unique addresses for the coming years.

Suppliers of internet service should use the Range 100.64.0.0/10 for NAT at carrier level. CGNAT helps ISPs share small groups of public addresses between many end users. The default gateway in a home router usually is the first or the last used address in the Range, for instance.1 or.254.

Important is to choose a different address in the allowed limits, because one cannot repeat ittwice in the same net.

IP Address Range Calculator: Find Hosts & Subnets Fast

Related posts

Leave a Comment