IPv4 Subnet Calculator

Network address, broadcast, host range, wildcard mask and binary breakdown for any IPv4 CIDR block.

Accepts 10.0.0.5/26, 10.0.0.5 255.255.255.192, or a bare IP.

Results for 198.51.100.2/32

198.51.100.2/32 is the network in CIDR notation · Documentation (TEST-NET-2) (RFC 5737)
Network address
198.51.100.2
Broadcast address
198.51.100.2
Subnet mask
255.255.255.255
Wildcard mask
0.0.0.0
Total addresses
1
Usable hosts
1 (host route)
First usable host
198.51.100.2
Last usable host
198.51.100.2
CIDR notation
198.51.100.2/32
IP type
Documentation (TEST-NET-2) (RFC 5737)

How the bits line up

Octets (binary)
IP address11000110001100110110010000000010
Subnet mask11111111111111111111111111111111
Network11000110001100110110010000000010
Broadcast11000110001100110110010000000010

The mask's 32 leading ones select the network portion; the remaining 0 bits are available for hosts.

How to use the calculator

Type any block in CIDR notation — 10.0.0.0/22 — or supply an address with a dotted mask, e.g. 10.0.0.5 255.255.255.192. The calculator accepts either form and derives the containing network from whichever host address you give it. Each field in the results panel means:

Worked example: enter 192.168.1.0/24. With 24 network bits the mask is 255.255.255.0, the network address is 192.168.1.0, broadcast is 192.168.1.255, and hosts may claim 192.168.1.1 through 192.168.1.254 — 254 usable addresses. The result link encodes your query in the URL, so sharing it reopens the identical calculation.

Keep exploring

See every fact about the /32 subnet mask, plan multiple subnets with the VLSM calculator, or convert ranges on the range-to-CIDR tool.