Early access: verified fix PRs ·

See how a fix is proven
AutoSRE
100% Client-Side · Zero Data Leaves Your BrowserDevOps & Infrastructure

IPv4 CIDR & Subnet Calculator

Compute IPv4 network/broadcast addresses, usable host ranges, bitmasks, RFC 1918 status, and split CIDRs into subnets.

Back to all 30 Free SRE Tools/resources/tools/cidr-subnet-calculator
Loading interactive SRE tool...
Ship Reliable Services Across Any VPC

Verify fixes in isolated sandboxes without touching prod

AutoSRE replays production OpenTelemetry failures inside an isolated Sandbox Environment and runs 3x flake checks before opening a Draft PR.

How It Works

How to use CIDR Calculator

  1. 1

    Enter an IPv4 CIDR block (such as 10.24.0.0/20) or click a VPC, Kubernetes Pod, or /24 preset.

  2. 2

    Drag the prefix slider (/0 to /32) to inspect how network bits and usable host capacity change in real time.

  3. 3

    Review the 32-bit binary mask visualization, network/broadcast addresses, and RFC 1918 private range indicator.

  4. 4

    Use the Subnet Splitter below to divide the parent CIDR into 2, 4, 8, or 16 equal non-overlapping subnets.

Quick Reference

IPv4 CIDR Prefix Quick Reference

Subnet masks, total addresses, and usable host counts for cloud VPC planning.

PrefixSubnet MaskTotal IPsUsable Hosts (Standard)Common Cloud Use
/16255.255.0.065,53665,534Primary VPC address block
/20255.255.240.04,0964,094Large Kubernetes / EKS cluster subnet
/24255.255.255.0256254Standard availability-zone subnet
/28255.255.255.2401614Small NAT / bastion / DB subnet
/32255.255.255.25511Single static IP allowlist rule
Frequently Asked Questions

CIDR Calculator FAQ

Everything runs locally in your browser with zero telemetry upload. Inspect inputs, copy clean outputs, and review common edge cases below.

In standard IPv4 subnets (/30 and wider), the first address is reserved as the network identifier and the last address is reserved as the broadcast address, leaving 2^(32-prefix) - 2 usable host IPs.