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.
/31 Subnet Mask Reference (255.255.255.254 — RFC 3021 Point-to-Point Links)
Standard 2^h - 2 math gives 0 usable hosts for a /31. However, RFC 3021 specifies that on point-to-point links (where no third host exists), both addresses in the 2-address block are used as host interfaces, doubling public IPv4 efficiency compared to /30.
Calculated IPv4 Parameters for 192.168.0.0/31
32-Bit Binary Bitwise Breakdown
Routers determine the Network Address by performing a bitwise AND between the 32-bit IPv4 address and the 31-bit Subnet Mask, and compute the Broadcast Address by setting the remaining 1 host bits to 1.
How to Solve 192.168.0.0/31 in Under 15 Seconds
Know both answers for exams: under classic classful/CCNA math, /30 is the smallest subnet with 2 usable hosts; in modern ISP/data-center operations (RFC 3021), /31 provides 2 point-to-point endpoints with zero broadcast waste.
Sample Cisco IOS Interface & Routing Configuration
interface GigabitEthernet0/0 description RFC_3021_Point_To_Point ip address 192.168.0.0 255.255.255.254
Explore Other Pre-Calculated IPv4 Subnet & CIDR Reference Guides
Jump to another worked CIDR prefix or RFC 1918 enterprise subnet breakdown: