IPv4 Subnet Calculator

Calculate IPv4 CIDR subnet details: subnet mask, wildcard mask, network address, broadcast address, usable host range, and subnet splitting.

Input

Usable hosts follow common convention: /31 has 2 usable (RFC 3021), /32 has 1.

Results

Address
Prefix
Subnet mask
Wildcard mask
Network
Broadcast
First usable
Last usable
Total addresses
Usable hosts

Subnet Split

Page 1
Index Subnet CIDR Range (network → broadcast)
No subnets to show yet. Click “Split”.

This tool runs entirely in your browser. For best SEO on a real site, serve this HTML at a stable URL with a sitemap entry.

FAQ

What is a subnet mask? A subnet mask (e.g. 255.255.255.0) defines which bits are network vs host bits for an IPv4 CIDR prefix (e.g. /24).

What is a broadcast address? The broadcast address is the last address in an IPv4 subnet (all host bits set to 1). It’s used for broadcast traffic in many networks.

What is the usable host range? Commonly, the first usable host is network+1 and the last usable host is broadcast-1 (except /31 and /32).