Back to Tools/Networking Utilities
100% Client-Side Privacy:Zero network packets or IP queries leave your browser

IPv4 & IPv6 CIDR Subnet Calculator

Calculate network addresses, broadcast IPs, subnet masks, wildcard masks, and usable host IP ranges with real-time binary breakdown and interactive subnet division.

Quick Presets & Architecture Templates
Prefix Length Scrubbing:/24 (255.255.255.0)
/0 (Internet)/8 (Class A)/16 (Class B)/24 (Class C)/32 (Host)
Network Address
192.168.1.0
Prefix: /24 • 0xC0A80100
Subnet Mask
255.255.255.0
Wildcard: 0.0.0.255
Broadcast IP
192.168.1.255
0xC0A801FF
Usable Host CapacityClass C
254
Total: 256 (99.2% usable)
Detailed Subnet Specifications
Input IP Address
192.168.1.1
Usable Host Range
192.168.1.1—192.168.1.254
Network Address
192.168.1.0
Broadcast Address
192.168.1.255
Subnet Mask & Hex
255.255.255.0 (0xFFFFFF00)
Wildcard Mask (Inverted)
0.0.0.255
Network Scope & Type
Private Network (RFC 1918 Class C)
Integer (Decimal) & Hex IP
3232235777 / 0xC0A80101
Reverse DNS PTR (in-addr.arpa)
1.1.168.192.in-addr.arpa
DNS Zone Delegation
1.168.192.in-addr.arpa (/24 delegation)

Frequently Asked Questions & Networking Fundamentals

What is CIDR notation?

Classless Inter-Domain Routing (CIDR) is a method for allocating IP addresses and IP routing. In CIDR notation, an IP address is appended with a slash and a prefix number (e.g. 192.168.1.0/24), indicating how many contiguous leading bits belong to the network routing prefix.

Why are 2 addresses subtracted from usable hosts?

In traditional IPv4 subnets (/0 through /30), the very first address with all host bits set to 0 is reserved as the Network Address, and the last address with all host bits set to 1 is reserved as the Broadcast Address. Therefore, usable hosts = 2^(32 - prefix) - 2.

What are RFC 3021 /31 Subnets?

RFC 3021 establishes the use of 31-bit prefixes for point-to-point router links. Because point-to-point links only connect exactly two router endpoints, broadcast is unnecessary. Both addresses are fully usable host endpoints, saving IPv4 addresses on backbone networks.

How do IPv6 prefixes work?

IPv6 uses 128-bit addresses. Standard subnets are allocated as /64, providing 64 bits for the network routing prefix and 64 bits for the Interface Identifier (IID). This enables Stateless Address Autoconfiguration (SLAAC) and privacy extensions.