d4 · tools · cidr
IPv4 and IPv6 subnetting without the spreadsheet: ranges and masks, splitting, VLSM planning, aggregation and overlap checks. Everything runs in your browser; nothing you type leaves this page.
Accepts CIDR (10.20.0.0/22, 2001:db8::/48), address + netmask (10.20.0.0/255.255.252.0) or a bare address.
Divide a block into equal subnets at a longer prefix.
Give a base block and the networks you need; each line is name, hosts. Largest networks are placed first, so nothing is wasted to alignment.
Paste a messy list of blocks and addresses; get back the minimal exact set of CIDR blocks. Useful for firewall rules and route summarisation.
Do two blocks collide? Handy before adding routes, VPN networks or firewall objects.
IPv4 host counts follow convention: usable hosts exclude the network and broadcast addresses, /31 is treated as an RFC 3021 point-to-point pair and /32 as a host route. IPv6 counts are raw address counts. Classifications follow the IANA special-purpose address registries.