Utilities · 100% browser-side
CIDR / Subnet Calculator
Network, broadcast, host range, and masks from any IPv4 CIDR block.
Free foreverNo uploadsNo account
IP address / prefix (CIDR notation)
mask 11111111.11111111.11111111.00000000
network 11000000.10101000.00000001.00000000
Suggested next steps
Keep working with these tools
Password GeneratorCreate unbreakable passwords tailored to your exact length and symbol requirements.QR Code GeneratorTurn any link, snippet, or contact into a scannable QR code — no signup, no watermark, no tracking redirects.Salary CalculatorSee what an hourly rate means per year, or a salary per hour, instantly.
Nothing sent
Since you opened this page, this tool has sent 0 bytes anywhere. It's counting every network request live — check your browser's Network tab if you want to see it yourself.
01 · Real-world fits
Common use cases
- Sizing a VPC or VLAN — checking how many hosts a /22 actually gives you
- Writing firewall or ACL rules that need the wildcard mask
- Splitting an office network into per-floor subnets without overlap
- Decoding a CIDR block in a cloud console or a colleague's network diagram
- Teaching or learning subnetting with the binary view as the ground truth
02 · The honest pitch
Why CIDR / Subnet Calculator?
Subnetting is pure bit arithmetic, and doing it in your head under pressure is how overlapping ranges ship to production. This calculator shows the answer and the binary working — where the prefix boundary falls, why a /24 has 254 usable hosts rather than 256, and it handles the modern edge cases (RFC 3021 /31 point-to-point links) that older calculators get wrong. It runs offline once loaded, which is occasionally exactly what you need when the network you are debugging is the one you are on.
03 · Edge cases
Frequently asked questions
Continue your workflow