Subnet & CIDR IP Calculator

Developer Utilities

Comprehensive in-memory IPv4 CIDR subnet and network calculator. Calculate subnet masks, wildcard masks, network IP, broadcast IP, first and last usable host addresses, total assignable hosts, binary bit representation, and AWS/GCP VPC subnet sizing in real-time.

100% Client-Side

IPv4 CIDR & Subnet Input

Prefix Slider: /24Subnet Mask: 255.255.255.0

Network Addressing

CIDR Notation
192.168.1.0/24
Subnet Mask / Netmask
255.255.255.0
Wildcard Mask
0.0.0.255
Broadcast Address
192.168.1.255

Usable Host Range & Sizing

Usable Host Range
192.168.1.1192.168.1.254
Total Usable IPv4 Hosts
254(256 Total IPs)
Cloud VPC (AWS/GCP): 251 assignable IPs (5 reserved for Router, DNS & Base).
Network Scope & Classification
Private (RFC 1918 - 192.168.0.0/16)Class C

32-Bit Binary Bit Visualizer

Network Prefix (24 bits)
Host Space (8 bits)
IP Address:
11000000101010000000000100000000
192.168.1.0
Subnet Mask:
11111111111111111111111100000000
255.255.255.0
Network ID:
11000000101010000000000100000000
192.168.1.0
Broadcast ID:
11000000101010000000000111111111
192.168.1.255

Zero-Knowledge Privacy Guarantee

This Subnet & CIDR IP Calculator executes 100% locally in your browser’s JavaScript memory using client-side Web APIs. No inputs, keys, tokens, files, or outputs are ever uploaded to any server or logged in any database.

Key Features & Capabilities

  • Real-time CIDR calculation from /0 to /32
  • Calculates Network Address, Broadcast Address, Netmask, and Wildcard Mask
  • Calculates First Usable Host, Last Usable Host, and Total Usable Hosts
  • Visual 32-bit binary network vs host bit breakdown
  • IPv4 Class detection (Class A, B, C, D, E) & Private RFC 1918 range detection
  • Cloud VPC Subnet Planner (AWS/GCP reserve IP calculation)

How to Use This Tool

  1. 1Enter an IP address and CIDR prefix (e.g. 192.168.1.0/24 or 10.0.0.0/16).
  2. 2Or use the interactive CIDR slider to adjust subnet size.
  3. 3Inspect the computed network ranges, broadcast IP, and usable hosts.
  4. 4Copy the calculated values or subnet mask.

Frequently Asked Questions (FAQ)

CIDR (Classless Inter-Domain Routing) represents an IP address followed by a slash and prefix length (e.g. /24), indicating how many bits belong to the network prefix.

More in Developer Utilities

Explore category