How the IP Subnet Calculator works
The subnet mask has the first N bits set to 1. AND-ing it with the IP gives the network address; setting all host bits to 1 gives the broadcast address.
Network, broadcast, host range and mask from any IPv4 address and CIDR.
Formulas and rates last reviewed · How we check
Calculating…
For education only: Results are rough estimates, not a substitute for professional design, building codes or site checks. Consult a qualified engineer (a structural engineer for buildings, a licensed electrician for wiring) before buying materials or starting work.
The subnet mask has the first N bits set to 1. AND-ing it with the IP gives the network address; setting all host bits to 1 gives the broadcast address.
192.168.10.25/26
Hosts 192.168.10.1 to 192.168.10.62.
The first address identifies the network and the last is the broadcast address. /31 (point-to-point links) and /32 (single host) are exceptions.
CIDR notation: the first 24 bits are the network part, leaving 8 bits (256 addresses, 254 usable) for hosts.
10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 (RFC 1918). They are used inside home and office networks.
Yes. /31 is used for point-to-point links (2 usable addresses, RFC 3021) and /32 is a single host address.
Solve V, I, R and P from any two known values.
X% of Y, what percent, % change and add/subtract percentages in one tool.
Exact age or date difference in years, months, days, weeks, plus next birthday countdown.
Daily, monthly and yearly running cost of any appliance with flat or slab tariffs.