Back to tools

IPv4 Subnet Calculator

Enter an address with CIDR or a netmask and get the network, broadcast, usable host range, and binary breakdown — plus helpers to split a block into subnets or summarize several into one.

Input

Address and mask

Type a CIDR address directly (203.0.113.10/24) or fill in the prefix/netmask fields separately — they stay in sync either way you edit them.

A CIDR suffix here also works, e.g. 203.0.113.10/24.

Result

Network address
192.168.1.0 /24
Broadcast address
192.168.1.255
Subnet mask
255.255.255.0
Wildcard mask
0.0.0.255
First usable host
192.168.1.1
Last usable host
192.168.1.254
Usable hosts
254
Total addresses
256
Address type
Private (RFC 1918)

Binary

Network / host boundary

Network bits are highlighted; host bits are dimmed. The boundary sits right after the prefix length.

Address
11000000101010000000000100001010
Mask
11111111111111111111111100000000

Prefix /24: the first 24 bits (highlighted) identify the network; the remaining 8 bits identify the host.

Running your own game server?

Wespner game servers with DDoS protection, NVMe drives and activation within minutes.

Browse hosting