IPv4 Subnet Calculator
Bitwise IPv4 subnetting calculations with full network, broadcast, wildcard, and binary breakdowns.
Network: 192.168.1.0
Broadcast: 192.168.1.255
Netmask: 255.255.255.0
Usable Range: 192.168.1.1 — 192.168.1.254
Usable Hosts: 254
How It Works
- Converts IPv4 octets into 32-bit unsigned integers.
- Applies bitwise mask based on CIDR prefix length.
Formula & Technical Standard
Subnet Mask = 0xFFFFFFFF << (32 - CIDR). Usable Hosts = (2^(32 - CIDR)) - 2.
Practical Example
Class C /24
Input: 192.168.1.10 /24
Output: Net: 192.168.1.0, Broadcast: 192.168.1.255, Hosts: 254
Standard local network allocation.
Frequently Asked Questions
How are /31 subnets handled?
Under RFC 3021, /31 subnets provide 2 usable host addresses for point-to-point links.
Related Tools
networking
CIDR to Subnet Mask Calculator
Bidirectional converter between CIDR prefix notation (/24) and dotted-decimal subnet masks.
networking
IP Range Calculator
Calculate span and total quantity of addresses between start and end IPv4 addresses.
networking
IPv4 Address Converter
Transform IPv4 addresses into raw 32-bit decimal, binary octets, and hex notation.