Skip to content
Giorgos Moustakas
/ labNetworking · Tools

CIDR calculator (IPv4 + IPv6)

Computes everything you'd reach for `ipcalc` or a subnet sheet to learn: network address, broadcast, first and last usable hosts, host count, prefix length math, and the immediate neighbour subnets. Handles IPv4 and IPv6.

stackpure typescript
/ resultIPV4
Network
10.0.0.0
Broadcast
10.0.0.255
First usable
10.0.0.1
Last usable
10.0.0.254
Host count
256
Prefix
/24
Mask
255.255.255.0
Neighbours
Before
After
CIDR calculator (IPv4 + IPv6) · Giorgos Moustakas