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.255.240Usable Hosts: 14

192.168.1.0/28 Subnet Breakdown (255.255.255.240 — 14 Usable Hosts)

A /28 subnet allocates 16 total IPv4 addresses (14 usable hosts). Network architects commonly assign /28 blocks to DMZ load-balancer clusters, small management out-of-band networks, or high-availability firewall pairs.

Calculated IPv4 Parameters for 192.168.1.0/28

Network Address (ID)192.168.1.0/28All host bits set to 0
Directed Broadcast IP192.168.1.15All host bits set to 1
Subnet Mask255.255.255.24028 network bits
ACL / OSPF Wildcard Mask0.0.0.15255.255.255.255 − mask
First Usable Host IP192.168.1.1Typical Default Gateway (.1)
Last Usable Host IP192.168.1.14Broadcast IP − 1
Usable Host Capacity142^4 − 2 usable hosts
Interesting Octet & Block SizeOctet 4 (Block: 16)16 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 28-bit Subnet Mask, and compute the Broadcast Address by setting the remaining 4 host bits to 1.

Input IPv4 (192.168.1.0)
11000000.10101000.00000001.00000000
Subnet Mask (255.255.255.240 / 28)
11111111.11111111.11111111.11110000
Bitwise AND → Network ID (192.168.1.0)
11000000.10101000.00000001.00000000
Host Bits = 1 → Broadcast IP (192.168.1.15)
11000000.10101000.00000001.00001111
CCNA 200-301 Speed-Solving Note

How to Solve 192.168.1.0/28 in Under 15 Seconds

With 4 host bits remaining (32 - 28 = 4), the magic block size is 2^4 = 16, yielding 16 - 2 = 14 usable hosts. Subnets start at multiples of 16 (.0, .16, .32, .48, .64, etc.).

Sample Cisco IOS Interface & Routing Configuration

interface GigabitEthernet0/2
 description DMZ_Load_Balancer_Segment
 ip address 192.168.1.1 255.255.255.240
 no shutdown

Adjacent /28 Subnet Blocks in the Same Octet Boundary

Each /28 block advances by the magic block size of 16 in octet 4. The active block containing 192.168.1.0 is highlighted below.

Block #Subnet ID / CIDRUsable Host RangeDirected Broadcast
#1 Match192.168.1.0/28192.168.1.1 – 192.168.1.14192.168.1.15
#2 192.168.1.16/28192.168.1.17 – 192.168.1.30192.168.1.31
#3 192.168.1.32/28192.168.1.33 – 192.168.1.46192.168.1.47
#4 192.168.1.48/28192.168.1.49 – 192.168.1.62192.168.1.63
#5 192.168.1.64/28192.168.1.65 – 192.168.1.78192.168.1.79
#6 192.168.1.80/28192.168.1.81 – 192.168.1.94192.168.1.95
#7 192.168.1.96/28192.168.1.97 – 192.168.1.110192.168.1.111
#8 192.168.1.112/28192.168.1.113 – 192.168.1.126192.168.1.127

Explore Other Pre-Calculated IPv4 Subnet & CIDR Reference Guides

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

Sponsored