Calculate network address, broadcast, host range, and more from IP and subnet mask.
Use the subnet calculator API directly:
GET https://ai.doxx.lat/api/subnet?ip=192.168.1.0&mask=24
curl "https://ai.doxx.lat/api/subnet?ip=192.168.1.0&mask=24"
A subnet (subnetwork) is a logical subdivision of an IP network. Subnetting divides a large network into smaller, more manageable segments to improve security and performance.
CIDR (Classless Inter-Domain Routing) notation combines an IP address with a prefix length (e.g. 192.168.1.0/24). The number after the slash indicates how many bits are used for the network portion.
A /24 subnet has 254 usable host addresses (256 total minus network and broadcast addresses).