FREE NETWORK TOOLS · RUNS IN YOUR BROWSER

IPv4 subnet calculator

Understand any IPv4 address or CIDR block in seconds. Calculate masks, usable ranges, and split a network into smaller subnets—without sending your IP addresses to our server.

Calculate a subnet

Enter an IPv4 address or CIDR network. You can also change the prefix separately.

Private calculation: all subnet math happens locally in your browser. There is no network request when calculating.

Network details

IPv4 / CIDR

Split into smaller networks

Choose a longer prefix to list subnets inside the calculated network.

For large ranges, up to 256 subnets are displayed to keep your browser responsive. /31 follows point-to-point addressing rules (RFC 3021); /32 represents a single address.

How to read a CIDR range

Prefix length

/24 means the first 24 bits identify the network, leaving 8 bits for address space.

Usable addresses

Traditional IPv4 subnets reserve network and broadcast addresses. /31 and /32 are special cases.

Split a network

Increasing the prefix creates smaller subnets. For example, /24 splits into four /26 networks.

Results use mathematical IPv4 ranges. Real routing, addressing policies and provider reservations can further restrict usable addresses.