OctalPilot
Free network planning tool

IPv4 Subnet Calculator

Calculate CIDR ranges, subnet masks, network and broadcast addresses, usable hosts, and split subnets. Accurate /31 and /32 handling, no signup.

Free to useNo sign-inClear limitations
IPv4 / CIDR / Subnet

Calculate your subnet in seconds

Enter any IPv4 address with a prefix length or a dotted subnet mask. Calculations are performed in this browser.

Local calculation
Examples: · ·
Network / CIDR
—
Enter an address to calculate.

Split this network into smaller subnets

Preview up to 64 child subnets without generating an enormous list.

Calculate a network first.

Child subnetRange
IP addresses are not uploaded to OctalPilot by this calculator. Copy carefully: a public address or subnet can still be sensitive in work documentation.

How an IPv4 subnet calculator works

CIDR notation combines an IPv4 address with a prefix: 192.168.1.42/24. The prefix tells you how many of the 32 address bits belong to the network. A /24 leaves eight host bits, or 256 addresses, and corresponds to the mask 255.255.255.0.

Network, broadcast and usable host addresses

The network address identifies the subnet. The broadcast address reaches all hosts on a conventional IPv4 broadcast domain. For typical subnets from /0 through /30, the first and last addresses are reserved as network and broadcast addresses. A /31 is frequently used for point-to-point links, where both addresses are available; a /32 identifies one address. Your provider or equipment may apply other policies.

Why divide a subnet?

Subnetting lets you assign smaller ranges to VLANs, teams or isolated services. For example, splitting 192.168.1.0/24 into /26 blocks creates four 64-address ranges. Calculate the original subnet above, then select the new prefix to preview the networks and ranges.

What this tool does not check

It does not test whether an IP is allocated, reachable, owned by you, routed over the internet or available for your organization to use. Network planning also requires address inventory, router configuration, firewall policy and authoritative allocation data.

Related: Public vs private IP addresses and IPv6 address calculator.