ipcalc is useful when you need to quickly check network, broadcast, host range and netmask details for an IP address or subnet.
Basic subnet calculation
ipcalc 192.168.1.10/24
This shows the network address, netmask, broadcast address and usable host range for the subnet.
Check a different subnet size
ipcalc 10.10.5.20/27
This is handy when planning smaller ranges, troubleshooting routing issues, or checking whether two hosts are in the same subnet.
Why it helps
Instead of manually calculating subnet boundaries, ipcalc gives a quick readable answer from the command line.