Skip to content
Your data never leaves your browser

IP / Subnet Calculator

Calculate network details from an IPv4 address and CIDR prefix. All processing happens entirely in your browser — your data never leaves your device.

/
Presets:

Calculation Results

Network Address
192.168.1.0
Broadcast Address
192.168.1.255
Subnet Mask
255.255.255.0
Wildcard Mask
0.0.0.255
First Host
192.168.1.1
Last Host
192.168.1.254
Total Hosts
254
Total Addresses
256
CIDR Notation
192.168.1.0/24
IP Class
C
IP Type
Private

Subnet Cheat Sheet

CIDRSubnet MaskTotal AddressesUsable Hosts
/8255.0.0.016,777,21616,777,214
/9255.128.0.08,388,6088,388,606
/10255.192.0.04,194,3044,194,302
/11255.224.0.02,097,1522,097,150
/12255.240.0.01,048,5761,048,574
/13255.248.0.0524,288524,286
/14255.252.0.0262,144262,142
/15255.254.0.0131,072131,070
/16255.255.0.065,53665,534
/17255.255.128.032,76832,766
/18255.255.192.016,38416,382
/19255.255.224.08,1928,190
/20255.255.240.04,0964,094
/21255.255.248.02,0482,046
/22255.255.252.01,0241,022
/23255.255.254.0512510
/24255.255.255.0256254
/25255.255.255.128128126
/26255.255.255.1926462
/27255.255.255.2243230
/28255.255.255.2401614
/29255.255.255.24886
/30255.255.255.25242
/31255.255.255.25422
/32255.255.255.25511

What is IP / Subnet Calculator?

IP / Subnet Calculator computes network details from an IPv4 address and CIDR prefix. Instantly see the network address, broadcast address, subnet mask, host range, and total usable hosts — essential for configuring VPCs, firewall rules, and network segmentation.

How to Use

  1. Enter an IPv4 address (e.g. 192.168.1.0) and CIDR prefix (e.g. /24)
  2. View the calculated network details including host range and subnet mask
  3. Use the cheat sheet for quick reference on common subnet sizes

Use Cases

  • Planning AWS VPC subnets and security group CIDR ranges
  • Configuring Cloudflare, firewall, or load balancer IP allowlists
  • Calculating subnet boundaries for network segmentation
  • Quick reference for CIDR notation during infrastructure setup

Privacy & Security

All calculations happen entirely in your browser. Your network configuration details are never sent to any server.

Ad