CIDR Subnet Split Calculator – Divide an IPv4 Block Into Smaller Subnets

Split an IPv4 CIDR block into equal smaller subnets and see the new prefix, the usable hosts in each one and every resulting range, with a reference table of prefixes from /8 to /32.

Free & Instant•Version: v1.0•Formula, examples and assumptions• Frequently searched

Calculator InputsFormula v1.0

A host address inside the block, for example 10.20.30.44.

026/32

Common values: /8 (class A), /16, /24, /26, /30, /32.

Calculated Output

Mask = /prefix bits set from the left; network = address AND mask; broadcast = network OR NOT mask; usable hosts = 2^(32 − prefix) − 2 (or 2^32 − prefix for /31 and /32); split into n subnets adds log₂(n) to the prefix

Network address

192.168.1.128/26

62 usable hosts from 192.168.1.129 to 192.168.1.190

IP address entered192.168.1.130
CIDR notation/26
Subnet mask255.255.255.192
Wildcard mask (inverse mask)0.0.0.63
Network address192.168.1.128
Broadcast address192.168.1.191
First usable host192.168.1.129
Last usable host192.168.1.190
Usable host addresses62
Total addresses in the block64
Host bits6 bits
Address classC (192–223)
Private address spaceYes - RFC 1918 range
Entered address inside the blockYes
Split into 4 subnets (/28 each)14 usable hosts per subnet
Subnet ranges192.168.1.128/28 – 192.168.1.143 | 192.168.1.144/28 – 192.168.1.159 | 192.168.1.160/28 – 192.168.1.175 | 192.168.1.176/28 – 192.168.1.191

• The network and broadcast addresses cannot be assigned to hosts, which is why usable hosts is two fewer than the block size.

Instant Browser CalculationNo Server Logging

Step-by-Step Mathematical Working

Convert 192.168.1.130 to 32 bits and apply a /26 mask of 255.255.255.192.
Network = address AND mask = 192.168.1.128. Broadcast = network OR NOT mask = 192.168.1.191.
Host bits = 32 − 26 = 6, so the block holds 2^6 = 64 addresses.
Usable hosts = 64 − 2 = 62, running from 192.168.1.129 to 192.168.1.190.

Formula and method

Mask = /prefix bits set from the left; network = address AND mask; broadcast = network OR NOT mask; usable hosts = 2^(32 − prefix) − 2 (or 2^32 − prefix for /31 and /32); split into n subnets adds log₂(n) to the prefix

Every bit you add to the prefix halves the address space, so splitting into n subnets always adds log₂(n) bits: a /24 split into four becomes four /26 blocks. The trade is capacity against count, and the split must land on a power of two, because a 3-way split cannot be expressed as a prefix at all.

Variables

IPv4 address
A host address inside the block, in dotted-quad form
Prefix
Number of leading network bits, 0 to 32, written as /prefix
Split into
How many equal smaller subnets the block should be divided into

Worked example

192.168.1.128/26 split into four gives /28 subnets of 16 addresses each: .128 to .143, .144 to .159, .160 to .175 and .176 to .191. Each holds 14 usable hosts, because the first and last address of every subnet are reserved.

Who this calculator is for

Network engineers planning an address plan, students learning CIDR arithmetic, and anyone checking whether a firewall rule or VLAN range is written correctly.

Complete guide to the cidr subnet split calculator – divide an ipv4 block into smaller subnets

Every figure below comes from this calculator itself. The method is Mask = /prefix bits set from the left; network = address AND mask; broadcast = network OR NOT mask; usable hosts = 2^(32 − prefix) − 2 (or 2^32 − prefix for /31 and /32); split into n subnets adds log₂(n) to the prefix, applied to the tool's default inputs and then stress-tested one input at a time.

What the CIDR Subnet Split Calculator – Divide an IPv4 Block Into Smaller Subnets works out

CIDR Subnet Split Calculator – Divide an IPv4 Block Into Smaller Subnets answers one specific question: Split an IPv4 CIDR block into equal smaller subnets and see the new prefix, the usable hosts in each one and every resulting range, with a reference table of prefixes from /8 to /32. It is written for network engineers planning an address plan, students learning CIDR arithmetic, and anyone checking whether a firewall rule or VLAN range is written correctly.

The method is Mask = /prefix bits set from the left; network = address AND mask; broadcast = network OR NOT mask; usable hosts = 2^(32 − prefix) − 2 (or 2^32 − prefix for /31 and /32); split into n subnets adds log₂(n) to the prefix. The inputs are IPv4 address, Prefix length (CIDR) (/), Split into equal subnets. With the default values - IPv4 address = 192.168.1.130, Prefix length (CIDR) = 26 /, Split into equal subnets = 4 - the result is Network address: 192.168.1.128/26. Raising Prefix length (CIDR) from 26 / to 28.60 / moves the headline result from 192.168.1.128/26 to 192.168.1.128/29.

What each figure in the breakdown means

Alongside 192.168.1.128/26 this method reports 16 supporting quantities: IP address entered: 192.168.1.130; CIDR notation: /26; Subnet mask: 255.255.255.192; Wildcard mask (inverse mask): 0.0.0.63. The supporting figures show whether the result came from the rate, the period or the size of the inputs.

The arithmetic as executed: Convert 192.168.1.130 to 32 bits and apply a /26 mask of 255.255.255.192. Network = address AND mask = 192.168.1.128. Broadcast = network OR NOT mask = 192.168.1.191. Host bits = 32 − 26 = 6, so the block holds 2^6 = 64 addresses. Usable hosts = 64 − 2 = 62, running from 192.168.1.129 to 192.168.1.190. Check one step independently; if it lands on the same figure, the inputs and the model agree.

How to interpret the answer

Every bit you add to the prefix halves the address space, so splitting into n subnets always adds log₂(n) bits: a /24 split into four becomes four /26 blocks. The trade is capacity against count, and the split must land on a power of two, because a 3-way split cannot be expressed as a prefix at all.

Read it as one scenario: 192.168.1.128/26 with ip address entered at 192.168.1.130 holds only for the inputs shown. Change whichever input you are genuinely unsure about and read the pair of figures together.

Common mistakes to avoid

Planning a three-way or five-way split when the scheme only allows powers of two. Splitting a block before checking that an existing VPN, DHCP pool or VLAN already occupies part of the range. Forgetting that each resulting subnet also needs a gateway address, which comes out of the usable host count. Assuming the split can be reversed later without re-addressing, when the subnets have already been deployed and documented.

Before relying on the figure, re-read IPv4 address, Prefix length (CIDR) (/), Split into equal subnets and confirm each entry matches its label, including whether a quantity is entered in the unit the label names. Adjust Prefix length (CIDR) on its own and watch whether the result behaves as the method says it should - here 192.168.1.128/26 should shift smoothly rather than jump.

Limitations and responsible use

IPv4 only. IPv6 uses 128-bit addressing with no broadcast address and different host-count rules. Assumes a single flat block; variable-length subnet masking across several blocks must be planned one block at a time. Does not know which addresses your infrastructure, DHCP pools or reservations already occupy inside the range.

Each number above is bounded by the limits just described, so treat it as a conditional result. Every figure here can be reproduced by hand from the formula shown, but no calculation can confirm that the inputs match your actual circumstances. For a consequential decision, check the current figure against a primary source, since published values are revised.

Frequently asked questions

How many subnets can a /24 be divided into?

Any power of two up to 128 real subnets: 2, 4, 8, 16, 32, 64 or 128. Each step adds one bit to the prefix, so four subnets make four /26 blocks of 64 addresses each.

Why can I not split a block into three equal subnets?

Because a prefix describes a power-of-two division. Three equal subnets would require 1.58 extra bits, which has no CIDR representation; use unequal VLSM subnets instead.

Does splitting a block change the total number of usable addresses?

It reduces it slightly. Each new subnet reserves its own network and broadcast address, so splitting a /24 into four /26 blocks gives 4 × 62 = 248 usable hosts rather than 254.

Which subnet should hold the gateway?

Conventionally the first usable address of each subnet, such as .129 in a 192.168.1.128/26 block. Reserve it before handing out addresses to hosts.

Related searches for this calculator

People also look for subnet split calculator, cidr block calculator, divide subnet into smaller subnets, vlsm calculator, subnet planning calculator and how many subnets in a cidr block. Everything on this page is calculated in your browser from the formula shown above.

Related Technology Calculators

Explore another calculator in this subject.