🌐 Network Address Calculator
Calculate subnets, host ranges, broadcast addresses, CIDR blocks & IP segmentation for any network
| CIDR | Subnet Mask | Total Addresses | Usable Hosts | Typical Use Case |
|---|---|---|---|---|
| /8 | 255.0.0.0 | 16,777,216 | 16,777,214 | Large enterprise / ISP block |
| /16 | 255.255.0.0 | 65,536 | 65,534 | Campus or large branch |
| /20 | 255.255.240.0 | 4,096 | 4,094 | Cloud VPC, data center VLAN |
| /22 | 255.255.252.0 | 1,024 | 1,022 | Proxmox cluster, large VLAN |
| /23 | 255.255.254.0 | 512 | 510 | Medium-large office |
| /24 | 255.255.255.0 | 256 | 254 | Home LAN, standard office |
| /25 | 255.255.255.128 | 128 | 126 | Half-subnet, DMZ |
| /26 | 255.255.255.192 | 64 | 62 | Guest WiFi, IoT |
| /27 | 255.255.255.224 | 32 | 30 | Small team VLAN |
| /28 | 255.255.255.240 | 16 | 14 | IoT segment, small VLAN |
| /29 | 255.255.255.248 | 8 | 6 | Management VLAN |
| /30 | 255.255.255.252 | 4 | 2 | Point-to-point links |
| /31 | 255.255.255.254 | 2 | 2* | P2P (RFC 3021) |
| /32 | 255.255.255.255 | 1 | 1 | Host route / loopback |
| Range | CIDR Block | Total IPs | Common Use |
|---|---|---|---|
| 10.0.0.0 – 10.255.255.255 | 10.0.0.0/8 | 16,777,216 | Enterprise / data center |
| 172.16.0.0 – 172.31.255.255 | 172.16.0.0/12 | 1,048,576 | Branch offices, cloud VPCs |
| 192.168.0.0 – 192.168.255.255 | 192.168.0.0/16 | 65,536 | Home / SOHO networks |
| 169.254.0.0/16 | APIPA | 65,536 | Auto-assigned (no DHCP) |
| 127.0.0.0/8 | Loopback | 16,777,216 | Local host testing |
| Standard / Protocol | Value / Range | Notes |
|---|---|---|
| IPv4 Address Space | 0.0.0.0 – 255.255.255.255 | 32-bit, ~4.29 billion addresses |
| IPv6 Address Space | 128-bit | 340 undecillion addresses |
| VLSM (RFC 1878) | Variable Length Subnet Mask | Efficient IP allocation |
| CIDR (RFC 4632) | Classless Inter-Domain Routing | Replaces classful A/B/C |
| Default Gateway | Usually .1 or .254 | First or last usable host |
| Broadcast Address | Last IP in block | Not assignable to hosts |
| Network Address | First IP in block | Not assignable to hosts |
| Usable Hosts Formula | 2^(32-prefix) - 2 | Subtract network + broadcast |
| Subnet Count Formula | 2^(new bits borrowed) | Bits borrowed from host portion |
| Scenario | Recommended CIDR | Usable Hosts | Growth Headroom |
|---|---|---|---|
| Home Lab (1-10 devices) | /28 | 14 | 4 spare after 10 devices |
| Home Network (10-50 devices) | /24 | 254 | 200+ spare after 50 devices |
| Small Office (50-100 devices) | /24 or /23 | 254 / 510 | Comfortable growth |
| Medium Business (100-500 devices) | /22 | 1,022 | 500+ spare capacity |
| Proxmox 3-Node Cluster | /24 management + /22 VM | 254 + 1,022 | VMs on /22, mgmt on /24 |
| IoT Segment | /26 or /27 | 62 / 30 | Isolated from main LAN |
| Point-to-Point Uplink | /30 | 2 | Exactly 2 usable IPs |
| Cloud VPC (AWS/GCP) | /16 VPC, /24 subnets | 65,534 / 251* | AWS reserves 5 IPs per subnet |
network address is a separate mark that helps to recognize a node or host in a network. This address can be physical or only logical. One wants that network addresses stay unique through the whole net, even so some nets allow to use local or own addresses, that are not necessarily unique.
On same net each device has an identical network address, that forms part of its IP-address. For instance, in IP-address 172.20.18.125 the section “172.20” show the network address. The other parts form the node address, that belongs only to one particular machine in that net.
Network Address and IP Address Basics
Imagine it similarly to a number, here are a network section and a host section, only that in IP the amount of codes in parts ranges.
IP-address stores two main parts: network address and host address. Network addresses help to locate the subnet, where sits the device. Host address show exactly what computer or device it is.
The network address simply is the starting address of net, used for calling that network part. All IP-addresses that has identical network section, belongs to one same segment.
One usually writes IP-addresses in dot-decimal form, four codes, separated by spots, for instance 192.168.123.132. Under the surface, both the IP-address and the subnet mask is 32-bit strings from ones and zeros. Dot-decimal writing helps only folks.
The mask always lays ones below and zeros up. First parts point, which bits belong to network address, while other parts show, which bits are special fore the host.
Number after slash points the prefix length. For instance, /16 show, that 16 bits form the network part and 16 bits the host address. In a subnet the network address is the first, and the broadcast address the last.
Do not assign them to devices. Like this in 192.168.1.0/24 avoid using 192.168.1.0 or 192.168.1.255 for hosts.
network address does not work as IP-address for host. It simply calls the subnet. Together with subnet mask it well helps to describe networks in tables of routing and in protocols.
NAT, or Network Address Translation, allows private IP-nets to reach the internet by changing internal private addresses to outside public addresses. Routers care about that mapping. Private IP stays internal in local net, while public IP passes through the whole internet.
DNS is a system, that turns memorable domain names into numerical addresses, so that one easily finds network resources. Domain names are marks, separated by spots, where every mark does not pass 63 signs. There are also broadcast addresses for sending messages to all devices, multicast addresses for talking in a group and anycast addresses, thatdeliver packages to the nearest in group.



