FRIENDLY CALCULATOR · TECHNOLOGY, COMPUTING & AI

CIDR Subnet Calculator

Split an IPv4 network into equal-size CIDR subnets and estimate hosts per subnet.

Enter your values

Formula and method

If a network prefix changes from /p to /q, subnet count = 2^(q−p), and each subnet has 2^(32−q) addresses. Traditional usable hosts subtract two when q is /1 through /30.

Worked example

Splitting a /24 network into /26 subnets creates 4 subnets, each with 64 addresses and traditionally 62 usable hosts.

Important assumptions

This calculator provides a transparent estimate from the values you enter. Real systems can differ because of hardware, network conditions, provider pricing, software behavior, measurement definitions and operating limits. Check units and assumptions before using a result in production.

Values are processed in this browser. Do not enter passwords, API keys, private IP inventories or confidential business information.

Browse all calculators · Methodology · Disclaimer