Network address and broadcast
The network address is formed when all host bits are 0, the broadcast address when all host bits are 1. In classic IPv4 networks neither is a host address – the exceptions are /31 and /32.
Enter an IP address with prefix – for example 192.168.10.25/24 or 2001:db8::/48 – and instantly get the network address, broadcast, usable host range, netmask, wildcard and the number of addresses.
The number after the slash – the CIDR prefix – states how many bits of an address belong to the network. With IPv4 /24 it's 24 of 32 bits: 8 bits remain for hosts, i.e. 256 addresses, of which 254 are usable (the first is the network address, the last the broadcast address).
IPv6 addresses are 128 bits long. A /64 is the usual size for a single network; providers often assign customers a /48 or /56 – enough for thousands of their own /64 networks. IPv6 has no broadcast address.
| Prefix | Netmask | Addresses | Usable hosts |
|---|---|---|---|
| /32 | 255.255.255.255 | 1 | 1 (single address) |
| /31 | 255.255.255.254 | 2 | 2 (point-to-point) |
| /30 | 255.255.255.252 | 4 | 2 |
| /29 | 255.255.255.248 | 8 | 6 |
| /28 | 255.255.255.240 | 16 | 14 |
| /27 | 255.255.255.224 | 32 | 30 |
| /26 | 255.255.255.192 | 64 | 62 |
| /25 | 255.255.255.128 | 128 | 126 |
| /24 | 255.255.255.0 | 256 | 254 |
| /16 | 255.255.0.0 | 65,536 | 65,534 |
The network address is formed when all host bits are 0, the broadcast address when all host bits are 1. In classic IPv4 networks neither is a host address – the exceptions are /31 and /32.
10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 are reserved for private networks by RFC 1918 and are not routed on the internet. 100.64.0.0/10 is used by providers for carrier-grade NAT.
The wildcard is the inverted netmask (255.255.255.0 becomes 0.0.0.255). Some firewalls and router ACLs use it instead of the netmask.
A /48 contains 65,536 /64 networks, a /56 contains 256. Stateless address autoconfiguration (SLAAC) works within a /64 – which is why smaller networks for end devices are unusual.
With CIDR ranges you allow whole networks instead of single IPs in UFW or iptables, for example SSH access only from your office network. Our UFW guide shows how.
A WireGuard VPN needs its own private subnet that doesn't overlap with your home network – for example 10.8.0.0/24. More in our WireGuard guide.
256 addresses, of which 254 are usable hosts – the first address is the network address, the last the broadcast address.
A /32 describes exactly one single IPv4 address. In firewall rules it stands for a specific host.
The bitwise inverted netmask. 255.255.255.0 becomes 0.0.0.255. It is used in router ACLs and some firewalls.
65,536. A /56 contains 256 /64 networks.
No. The calculation runs entirely in your browser; nothing is sent to our servers.
How much RAM does your server need? By software, players, view distance and plugins.
RAM, vCores and storage for your GTA RP server – by slots, scripts and database.
Strong random passwords for root, SSH and databases – generated only in your browser.
Pick a date, copy the code – Discord shows everyone the time in their own time zone.
Practical calculators and generators for game servers, VPS and Discord communities – free, without sign-up and entirely in your browser. Nothing is stored or transmitted.