Ko-fiSupport

Subnet Calculator Technical Overview

Calculate IPv4 network ranges, CIDR prefixes (/0 to /32), subnet masks, ACL wildcard masks, and usable host counts instantly. Includes 22+ pre-calculated CIDR reference tables and CCNA worked examples. Verified against RFC 950, RFC 4632 (CIDR), and RFC 3021 (/31 point-to-point) using unsigned 32-bit bitwise arithmetic.

Instant CIDR (/0 to /32) subnet mask and wildcard mask computationNetwork address, broadcast address, and first/last usable host calculation22+ pre-calculated CIDR and RFC 1918 subnet reference breakdown pagesOne-click copy for router and switch configurationEnter Base IPv4 Address: Type any IPv4 host or network address (e.g., 192.168.1.1 or 10.0.0.0) into the IP input field.Select CIDR Prefix (/0 to /32): Choose the CIDR prefix length (such as /24, /26, or /30) from the dropdown selector.
Enterprise & LAN ExamplesMask: 255.255.0.0Usable Hosts: 65,534

172.16.0.0/16 Campus Core Subnet Breakdown (255.255.0.0 — 65,534 Hosts)

172.16.0.0/16 is a standard Class B boundary block offering 65,534 usable addresses. Campus networks often assign one /16 per building (172.16.0.0/16 for Building A, 172.17.0.0/16 for Building B) and then subnet the 3rd octet by floor or VLAN.

Calculated IPv4 Parameters for 172.16.0.0/16

Network Address (ID)172.16.0.0/16All host bits set to 0
Directed Broadcast IP172.16.255.255All host bits set to 1
Subnet Mask255.255.0.016 network bits
ACL / OSPF Wildcard Mask0.0.255.255255.255.255.255 − mask
First Usable Host IP172.16.0.1Typical Default Gateway (.1)
Last Usable Host IP172.16.255.254Broadcast IP − 1
Usable Host Capacity65,5342^16 − 2 usable hosts
Interesting Octet & Block SizeOctet 2 (Block: 1)65,536 total IPv4 addresses

32-Bit Binary Bitwise Breakdown

Routers determine the Network Address by performing a bitwise AND between the 32-bit IPv4 address and the 16-bit Subnet Mask, and compute the Broadcast Address by setting the remaining 16 host bits to 1.

Input IPv4 (172.16.0.0)
10101100.00010000.00000000.00000000
Subnet Mask (255.255.0.0 / 16)
11111111.11111111.00000000.00000000
Bitwise AND → Network ID (172.16.0.0)
10101100.00010000.00000000.00000000
Host Bits = 1 → Broadcast IP (172.16.255.255)
10101100.00010000.11111111.11111111
CCNA 200-301 Speed-Solving Note

How to Solve 172.16.0.0/16 in Under 15 Seconds

Because 172.16.0.0 falls in the Class B first-octet range (128–191), /16 is its natural classful mask. Borrowing bits beyond /16 (e.g., /20 or /24) creates 2^(CIDR - 16) subnets within this building block.

Sample Cisco IOS Interface & Routing Configuration

router ospf 10
 network 172.16.0.0 0.0.255.255 area 1

Adjacent /16 Subnet Blocks in the Same Octet Boundary

Each /16 block advances by the magic block size of 1 in octet 2. The active block containing 172.16.0.0 is highlighted below.

Block #Subnet ID / CIDRUsable Host RangeDirected Broadcast
#1 172.0.0.0/16172.0.0.1 – 172.0.255.254172.0.255.255
#2 172.1.0.0/16172.1.0.1 – 172.1.255.254172.1.255.255
#3 172.2.0.0/16172.2.0.1 – 172.2.255.254172.2.255.255
#4 172.3.0.0/16172.3.0.1 – 172.3.255.254172.3.255.255
#5 172.4.0.0/16172.4.0.1 – 172.4.255.254172.4.255.255
#6 172.5.0.0/16172.5.0.1 – 172.5.255.254172.5.255.255
#7 172.6.0.0/16172.6.0.1 – 172.6.255.254172.6.255.255
#8 172.7.0.0/16172.7.0.1 – 172.7.255.254172.7.255.255

Explore Other Pre-Calculated IPv4 Subnet & CIDR Reference Guides

Jump to another worked CIDR prefix or RFC 1918 enterprise subnet breakdown:

Sponsored