Subnet Calculator
Calculate IPv4 networks, host ranges, and subnet masks.
Build ping, traceroute, nslookup, or dig commands for a host.
Hostname or IPv4 address: example.com Command: ping Operating system: Linux / macOS
Use the labeled units and valid hostname or ipv4 address. The Example button supplies a reproducible starting input.
Calculate IPv4 networks, host ranges, and subnet masks.
Query public PTR records for an IPv4 address.
Check IPv6 address syntax, including compressed notation.
Your result will appear here.
Enter your input, then run the tool.