CIDR Calculator
Calculate CIDR ranges, subnet masks, and host counts
Enable JavaScript to use the interactive tool.
How to use this tool · examples & limitations
Calculate CIDR ranges, subnet masks, and host counts.
Getting a reliable result
Use a non-sensitive example and inspect each generated field before copying the output to your development environment.
Limitations to check
Generated commands and decoded values need independent review. Never paste production tokens or credentials into examples.
For network services, accounts and optional usage records, see our privacy policy.