IP Subnet Calculator (CIDR)

Calculate network, broadcast, host range, mask and wildcard for any IPv4 CIDR — and split it into smaller subnets.

Runs instantly in your browser — results update as you type.

How many usable hosts are in a /24 subnet?

A /24 network has 256 addresses and 254 usable hosts: the first address identifies the network and the last is the broadcast address. In general a /n subnet has 2^(32−n) addresses and 2^(32−n) − 2 usable hosts (a /31 point-to-point link and a /32 single host are exceptions).

How to use the IP Subnet Calculator (CIDR)

    Frequently asked questions

    What is a wildcard mask?

    The inverse of the subnet mask (0.0.0.255 for a /24), used in Cisco ACLs and OSPF.

    Which ranges are private?

    10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 (RFC 1918).

    Does it support IPv6?

    Use the IPv6 Address Expander & Compressor for IPv6 prefixes.