/32 Subnet Mask: 255.255.255.255
A /32 prefix fixes the first 32 bits of the address as the network, leaving 0 bits for hosts. That gives 1 addresses, of which 1 can be assigned to hosts.
| CIDR notation | /32 |
| Subnet mask | 255.255.255.255 |
| Wildcard mask | 0.0.0.0 |
| Binary mask | 11111111.11111111.11111111.11111111 |
| Hex mask | 0xFFFFFFFF |
| Total addresses | 1 |
| Usable hosts | 1 |
Example: 192.168.1.0/32
- Network address: 192.168.1.0
- First usable host: 192.168.1.0
- Last usable host: 192.168.1.0
When to use a /32 subnet
A single host address. Used for loopback interfaces, host routes, and firewall or security group rules that target exactly one IP.
- 16,777,216 /32 subnets fit in a /8.
- 65,536 /32 subnets fit in a /16.
- 256 /32 subnets fit in a /24.
Frequently Asked Questions
What is the subnet mask for /32?
The subnet mask for /32 is 255.255.255.255, and its wildcard (inverse) mask is 0.0.0.0.
How many hosts are in a /32?
A /32 contains 1 address, and all of them are usable because it identifies a single host.