IPv4 CIDR & Subnet Calculator
Compute IPv4 network/broadcast addresses, usable host ranges, bitmasks, RFC 1918 status, and split CIDRs into subnets.
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 to use CIDR Calculator
- 1
Enter an IPv4 CIDR block (such as 10.24.0.0/20) or click a VPC, Kubernetes Pod, or /24 preset.
- 2
Drag the prefix slider (/0 to /32) to inspect how network bits and usable host capacity change in real time.
- 3
Review the 32-bit binary mask visualization, network/broadcast addresses, and RFC 1918 private range indicator.
- 4
Use the Subnet Splitter below to divide the parent CIDR into 2, 4, 8, or 16 equal non-overlapping subnets.
IPv4 CIDR Prefix Quick Reference
Subnet masks, total addresses, and usable host counts for cloud VPC planning.
| Prefix | Subnet Mask | Total IPs | Usable Hosts (Standard) | Common Cloud Use |
|---|---|---|---|---|
| /16 | 255.255.0.0 | 65,536 | 65,534 | Primary VPC address block |
| /20 | 255.255.240.0 | 4,096 | 4,094 | Large Kubernetes / EKS cluster subnet |
| /24 | 255.255.255.0 | 256 | 254 | Standard availability-zone subnet |
| /28 | 255.255.255.240 | 16 | 14 | Small NAT / bastion / DB subnet |
| /32 | 255.255.255.255 | 1 | 1 | Single static IP allowlist rule |
CIDR Calculator FAQ
Everything runs locally in your browser with zero telemetry upload. Inspect inputs, copy clean outputs, and review common edge cases below.
Related Free SRE Tools
Cron Generator
Build 5-field cron schedules visually, preview plain-English cadence, and inspect the next execution times across timezones.
Timestamp Converter
Convert Unix epoch seconds, milliseconds, and ISO-8601 dates across UTC and global SRE timezones with incident duration math.
JSON Formatter & Diff
Prettify, minify, sort keys, validate syntax with line numbers, and diff two JSON payloads structurally side-by-side.
YAML ↔ JSON Converter
Convert Kubernetes manifests, GitHub workflows, and replay configs cleanly between YAML and JSON in pure client-side TypeScript.