UK’s trusted IT infrastructure partner since 2003
Servnet
ToolsConfiguratorGet in Touch

CIDR calculator

Turn a CIDR block into its subnet mask, wildcard, address range, network, broadcast and host count — live, with the bit-level breakdown. Type a CIDR like 10.0.0.0/22 to start.

1 · IP address

2 · Prefix / mask

/22

3 · Split into subnets

/24

Divides this block into 4 × /24 subnets. Need different sizes? Use the VLSM calculator →

10.0.0.0/22
Private network · RFC 1918
Netmask255.255.252.0
Wildcard0.0.3.255
Network10.0.0.0
Broadcast10.0.3.255
Host range10.0.0.1 – 10.0.3.254
Usable hosts1,022
Total addresses1,024
ClassA
Network bits vs host bits0000101000000000000000000000000010000Network (22 bits)Host (10 bits)
How the block is used1,022 usable hostsnetwork10.0.0.0broadcast10.0.3.25510.0.0.110.0.3.254
Address scopePrivate10/8 · 172.16/12 · 192.168/16CGNAT100.64/10Specialloopback · link-local · docPublicglobal unicast
Subnet allocation#1#2#3#4Each block sized to its requirement; grey = free space.
10.0.0.0/24
10.0.1.0/24
10.0.2.0/24
10.0.3.0/24

Calculated locally in your browser — exact, RFC-correct. Servnet designs, supplies & supports Cisco, Aruba, Juniper & Fortinet networks.

Common CIDR prefixes/30255.255.255.2522 hosts/29255.255.255.2486 hosts/28255.255.255.24014 hosts/27255.255.255.22430 hosts/26255.255.255.19262 hosts/25255.255.255.128126 hosts/24255.255.255.0254 hosts/23255.255.254.0510 hosts/22255.255.252.01,022 hosts
Subnet CalculatorVLSM CalculatorSubnet Cheat SheetIPv6 CalculatorAll networking tools

CIDR — common questions

What is CIDR notation?

Classless Inter-Domain Routing (CIDR) writes a network as an address plus a prefix length, like 192.168.1.0/24. The /24 means the first 24 bits are the network portion. It replaced the old A/B/C class system, letting networks be any size rather than fixed blocks. This calculator turns any CIDR into its mask, range and host count.

How do I convert CIDR to an IP range?

The prefix fixes the network bits; the remaining host bits give the range. 192.168.1.0/24 covers 192.168.1.0–192.168.1.255 (256 addresses, 254 usable). Type any CIDR (or IP + mask) above and the network, broadcast and usable range appear instantly, with the bit-grid showing the split.

How do I convert CIDR to a subnet mask?

Count the prefix as leading 1-bits: /24 = 255.255.255.0, /26 = 255.255.255.192, /30 = 255.255.255.252. The calculator shows the mask and wildcard for any prefix, and the cheat sheet lists them all.

Can I split a CIDR block into smaller subnets?

Yes — set the “split into” prefix and the tool lists the child subnets (e.g. a /24 into four /26s). For subnets of different sizes from one block, use the VLSM calculator.