Dev Tools

Subnet Calculator

Calculate subnet mask, network, broadcast, and host range for IPv4 CIDR blocks.

IPv4 address
CIDR prefix: /24
Subnet mask
255.255.255.0
Network
192.168.1.0
Broadcast
192.168.1.255
First host
192.168.1.1
Last host
192.168.1.254
Usable hosts
254
Note: /31 and /32 behave differently (point-to-point and single-host). This calculator reflects that.

Related tools