IP Subnet Calculator · Tutorial

How to split a network into smaller subnets

6 min readintermediateUpdated

You've been given 10.0.0.0/22 and need a separate network for each of four teams. This tutorial checks the size of the block, splits it into /24 subnets, and reads off the usable host range of each one.

What you need

Steps

  1. Check the whole block

    Enter 10.0.0.0/22. The block has 1,024 addresses and 1,022 usable hosts, from 10.0.0.1 to 10.0.3.254, with mask 255.255.252.0.

    10.0.0.0/22
  2. Decide how many subnets you need

    Each extra prefix bit doubles the number of subnets. Going from /22 to /24 adds two bits, giving 4 subnets of 256 addresses each.

  3. Split the block

    Under Split into smaller subnets, choose /24 (4 subnets). The list shows 10.0.0.0/24, 10.0.1.0/24, 10.0.2.0/24 and 10.0.3.0/24.

  4. Get each subnet's details

    Enter one subnet, such as 10.0.2.0/24, to see its gateway-friendly first host 10.0.2.1, last host 10.0.2.254 and broadcast 10.0.2.255.

Try it yourself

Opens the IP Subnet Calculator with this tutorial's sample loaded.

Try it now

Common mistakes

Starting a subnet at the wrong address
A /24 must start on a multiple of 256 addresses. If you enter 10.0.1.50/24, the calculator shows the real network, 10.0.1.0/24.
Forgetting network and broadcast addresses
Each IPv4 subnet loses two addresses. A /30 has only 2 usable hosts.
Making subnets too small
Leave room for growth. It's much harder to renumber a network later than to start with a larger subnet.

Next steps

Go back to the IP Subnet Calculator, or keep going with one of these: