Subnet Calculator

Calculate network address, broadcast, host range, and more from IP and subnet mask.

API Access

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"

Subnet Calculator FAQ

What is a subnet?

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.

What is CIDR notation?

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.

How many hosts in a /24 subnet?

A /24 subnet has 254 usable host addresses (256 total minus network and broadcast addresses).