Network Calculator
Ports, latency, IP/MAC formatting, IPv6 compression, and subnet host counts.
Network math for ports, subnets, and addresses
Network planning mixes arithmetic and notation rules. Port ranges, latency budgets, IPv4 and IPv6 formatting, MAC address normalization, and host counts per CIDR block appear in firewall tickets, Terraform variables, and load balancer configs.
Subnet calculators answer how many usable hosts a prefix allows, which matters when sizing pod CIDRs or VPC subnets before IP exhaustion forces a painful redesign. Always reserve broadcast and network addresses per your platform conventions.
IPv6 compression rules make addresses human-readable but easy to mistype. Normalizing case and zero runs prevents false negatives when comparing firewall allow lists from different tools.
Use calculators during design reviews and incident triage when you need quick answers without opening a desktop utility. Pair results with your cloud provider documentation because managed platforms sometimes reserve additional addresses per subnet.
Reference Guide
Port ranges, latency math, IP/MAC formatting, IPv6 compression, and subnet host counts.
| Calculation | Use when |
|---|---|
| CIDR host count | Sizing VPC subnets and pod ranges |
| IPv6 compress | Comparing firewall allow lists |
| Port range | Security group and load balancer rules |
Confirm reserved addresses with your cloud provider documentation.
Current mode
Operation: port-calc
All processing runs locally in your browser. Paste input, click Run, and copy the result.
Example Input
8080-8085
A sample loads automatically when you open this tool. Use Load Sample to reset it.
