CIDR Subnet Calculator

Client-SideOffline Ready

Calculate network address, broadcast address, subnet mask, and usable host range from an IP and CIDR mask.

Presets:
RFC 1918 Private (Class C)

Netmask: 255.255.255.0 • Wildcard: 0.0.0.255

254 Usable Hosts

Network Address

192.168.1.0

Subnet root

Broadcast Address

192.168.1.255

Subnet broadcast

Subnet Mask

255.255.255.0

/24

Usable Host Range

192.168.1.1 - 192.168.1.254

Allocatable to NICs

Usable Hosts

254

Addresses available

Total Hosts

256

2^(32-prefix)

32-Bit Binary Bitmask Breakdown24 Network Bits / 8 Host Bits
IP Binary:
11000000101010000000000100000000
Mask Binary:
11111111111111111111111100000000
Subnet Division PlannerPartition this /24 network into smaller subnets for VPC subnets and routing.
Divide into:
#Subnet CIDRUsable Host RangeBroadcastUsable HostsCopy
1192.168.1.0/26192.168.1.1 - 192.168.1.62192.168.1.6362
2192.168.1.64/26192.168.1.65 - 192.168.1.126192.168.1.12762
3192.168.1.128/26192.168.1.129 - 192.168.1.190192.168.1.19162
4192.168.1.192/26192.168.1.193 - 192.168.1.254192.168.1.25562

Visual Subnet Planner

Dynamically divide parent CIDR blocks into smaller subnets for multi-tier AWS VPC, Azure VNet, and GCP architectures.

32-Bit Binary Bitmask

Color-coded binary breakdown isolating network prefix bits from allocatable host bits across all 4 octets.

RFC Scope & Architecture

Identifies RFC 1918 Private ranges, Carrier-Grade NAT (CGNAT), and supports modern RFC 3021 /31 point-to-point links.

Frequently Asked Questions

What is CIDR notation and how does subnetting work?
Classless Inter-Domain Routing (CIDR) represents IP addresses and their associated routing prefixes using slash notation (e.g. 192.168.1.0/24). Subnetting splits large networks into smaller subnets to conserve IP addresses and segregate traffic efficiently.
What network properties does this calculator output?
It calculates the network ID address, broadcast address, dotted-decimal subnet mask, wildcard mask, total IP addresses, usable host IP range, and binary representations for any IPv4 address and CIDR prefix.
What is the difference between total IPs and usable hosts?
In standard IPv4 subnets (/30 through /1), the first address is reserved as the Network identifier and the last address is reserved as the Broadcast address. Therefore, Usable Hosts equals Total IPs minus 2.
Can this tool calculate small point-to-point subnets (/31 and /32)?
Yes. The calculator properly recognizes RFC 3021 /31 point-to-point links (2 usable hosts, no broadcast) and /32 single-host loopback addresses.
Recommended For You

More Network Utilities

View all Network tools