Subnet Splitter

Type the network you have, then say what you need: a number of subnets, a number of devices in each, or a prefix length. Every subnet is listed with its host range.

How it works

A network can only be split into halves, quarters, eighths and so on, because each extra prefix bit doubles the number of pieces and halves their size. Splitting a /16 into four pieces means borrowing two bits, which makes each piece a /18.

Ask for a number of subnets and the splitter rounds up to the next power of two: five subnets need three bits, so you get eight. Ask for a number of devices and it picks the smallest subnet with room for them plus the network and broadcast addresses. Or give the prefix length directly.

The list starts at the network address of what you typed, so 10.0.7.9/16 is treated as 10.0.0.0/16. The arithmetic runs on this page and nothing is sent anywhere.

How to use it

  1. 1 Type the network to split, such as 10.0.0.0/16.
  2. 2 Choose how to split it: by number of subnets, by devices in each, or by prefix length.
  3. 3 Type the number. The size of each subnet and the full list update as you type.
  4. 4 Copy one subnet with its Copy button, or the whole list with Copy all results.

Good to know

  • The number of subnets is always a power of two. If you need 5, you get 8 and keep 3 spare for later.
  • When sizing by devices, leave room to grow. A subnet that is full on day one is a renumbering job on day ninety.
  • Cloud providers reserve extra addresses in each subnet (AWS and Azure keep five), so size cloud subnets a little larger than the device count.
  • Large splits list the first 256 subnets. The rest follow the same step, which the summary gives you.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

Splitting 10.0.0.0/16 for four teams, and 192.168.10.0/24 for 50 devices each

Say you are given 10.0.0.0/16 and need one network for each of four teams. A /16 has 16 bits for devices, which is 65,536 addresses. Four pieces need two more network bits, because two bits can count 00, 01, 10 and 11. So each piece is a /18, with 14 device bits and 16,384 addresses, of which 16,382 can go to devices.

The pieces are found by counting in steps of the piece size. In the third number of the address, a /18 covers 64 values (2 to the power of the 6 device bits left in that octet), so the four networks are 10.0.0.0/18, 10.0.64.0/18, 10.0.128.0/18 and 10.0.192.0/18. The first runs from 10.0.0.0 to 10.0.63.255, the next starts at 10.0.64.0, and so on with no gaps and no overlap. Type 10.0.0.0/16 and 4 above and that is the list you get.

Now size by devices instead. You have 192.168.10.0/24 and each subnet must hold 50 devices. A subnet also spends one address on its network address and one on broadcast, so 50 devices need 52 addresses. The next power of two up is 64, which is 6 device bits, so each subnet is a /26 with 62 usable hosts. A /24 holds four of them: 192.168.10.0/26, 192.168.10.64/26, 192.168.10.128/26 and 192.168.10.192/26. Had you asked for 63 devices, you would need 65 addresses, which rounds up to 128, a /25, and only two would fit.

Asking for a count that is not a power of two shows the rounding. Five subnets from that same /24 need three bits, since two bits only count to four. Three bits make eight /27s of 32 addresses each, 30 usable. The splitter shows all eight. Nothing stops you using five of them and leaving three free, which is usually wise anyway.

The limits are the honest ones of IPv4 subnetting. Equal pieces only come in powers of two. Pieces of different sizes, called variable length subnet masking, are made by splitting one of the pieces again, which this page does if you feed a piece back in. The host counts are for an ordinary network; AWS and Azure reserve five addresses in every subnet and Google Cloud four, so a cloud /26 holds 59 or 60 machines, not 62. And the listing stops at 256 rows to keep the page quick; a /8 split into /24s has 65,536 of them, and the summary says so.

Frequently asked questions

Why can I not split a network into exactly five subnets?

Because a subnet boundary is one bit of the address, and each bit doubles the number of pieces. Two bits give four, three bits give eight. Equal-sized subnets always come in powers of two. You can use five of the eight and keep the rest.

How many devices fit in each subnet?

The total addresses minus two, for the network and broadcast addresses. A /26 has 64 addresses and holds 62 devices. A /30, common on links between two routers, holds 2. The summary shows both numbers for the size you picked.

Can I split into subnets of different sizes?

Not on this page, which makes equal pieces. Different sizes (called VLSM) work by splitting one of the pieces again: split a /24 into two /25s, then split the second /25 into two /26s. You can do that here in two steps.

Does anything I type leave my computer?

No. The splitter is a small piece of arithmetic that runs on this page.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.