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.
CIDR Prefix ReferenceMask: 255.255.255.255Usable Hosts: 1

/32 Subnet Mask Reference (255.255.255.255 — Single Host Route & Loopback)

A /32 prefix locks all 32 bits to the network portion (0 host bits), pinpointing a single exact IPv4 address. Engineers use /32 masks on router Loopback interfaces (for stable OSPF/BGP Router IDs), static host routes, and Cisco IOS Local (L) routing table entries.

Calculated IPv4 Parameters for 192.168.0.1/32

Network Address (ID)192.168.0.1/32All host bits set to 0
Directed Broadcast IP192.168.0.1All host bits set to 1
Subnet Mask255.255.255.25532 network bits
ACL / OSPF Wildcard Mask0.0.0.0255.255.255.255 − mask
First Usable Host IP192.168.0.1Typical Default Gateway (.1)
Last Usable Host IP192.168.0.1Broadcast IP − 1
Usable Host Capacity1Single /32 host route
Interesting Octet & Block SizeOctet 4 (Block: 1)1 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 32-bit Subnet Mask, and compute the Broadcast Address by setting the remaining 0 host bits to 1.

Input IPv4 (192.168.0.1)
11000000.10101000.00000000.00000001
Subnet Mask (255.255.255.255 / 32)
11111111.11111111.11111111.11111111
Bitwise AND → Network ID (192.168.0.1)
11000000.10101000.00000000.00000001
Host Bits = 1 → Broadcast IP (192.168.0.1)
11000000.10101000.00000000.00000001
CCNA 200-301 Speed-Solving Note

How to Solve 192.168.0.1/32 in Under 15 Seconds

In a Cisco IOS routing table (show ip route), every configured interface generates both a Connected (C) route with its subnet mask (e.g., /24) and a Local (L) host route with a /32 mask for the router’s own interface IP. In ACLs, wildcard 0.0.0.0 is equivalent to the "host" keyword.

Sample Cisco IOS Interface & Routing Configuration

interface Loopback0
 description OSPF_And_BGP_Router_ID
 ip address 192.168.0.1 255.255.255.255

Explore Other Pre-Calculated IPv4 Subnet & CIDR Reference Guides

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

Sponsored