/25 Subnet: Mask 255.255.255.128, 126 Usable Hosts
A /25 subnet has a subnet mask of 255.255.255.128 and contains 128 total IP addresses, of which 126 are usable host addresses (the network and broadcast addresses are reserved). 2 /25 networks fit inside a single /24.
| CIDR notation | /25 |
|---|---|
| Subnet mask | 255.255.255.128 |
| Wildcard mask | 0.0.0.127 |
| Mask in binary | 11111111.11111111.11111111.10000000 |
| Total addresses | 128 (2^7) |
| Usable hosts | 126 |
| Host bits | 7 |
Usable hosts in a /25 by platform
Cloud providers reserve more than the usual two addresses per subnet, so the same /25 gives you fewer usable IPs in the cloud than on a standard LAN.
| Platform | Reserved IPs | Usable hosts |
|---|---|---|
| Standard (network + broadcast) | 2 | 126 |
| AWS VPC | 5 | 123 |
| Microsoft Azure VNet | 5 | 123 |
| Google Cloud VPC | 4 | 124 |
| Oracle Cloud VCN | 3 | 125 |
Good to know
A /25 (126 usable hosts) is the result of splitting a /24 in half. Common when you want two separate subnets out of one Class C.
How a /25 is calculated
- The /25 means the first 25 bits are the network portion, leaving 7 host bits.
- Total addresses = 2^(32 - 25) = 2^7 = 128.
- Usable hosts (standard) = 128 - 2 (network + broadcast) = 126.
- Subnet mask = 255.255.255.128; wildcard mask = 0.0.0.127.
Want to split a /25 into smaller subnets, see every address range, or plan a VLSM layout? Open the free subnet calculator →