IP Subnet Calculator
Calculate IPv4 network details, subnet masks, broadcast addresses, usable host ranges, and binary representations.
Enter network details
Calculations run locally in your browser. IPv4 network and host counts follow conventional IPv4 subnet rules; /31 and /32 have special host semantics.
Subnet results
How to use the IP subnet calculator
- Enter the IPv4 address you want to inspect.
- Select a CIDR prefix or choose the matching subnet mask.
- Click Calculate subnet to view the network and host information.
- Copy the summary or download the result table if needed.
What the results mean
Network address: the first address identifying the subnet. Broadcast address: the last address in a typical IPv4 subnet, used to reach all hosts on that subnet. Usable host range: the addresses commonly assigned to devices. Wildcard mask: the inverse of the subnet mask, often used in access-control lists.
CIDR notation
CIDR notation appends a slash and the number of network bits to an IP address. For example, 192.168.1.10/24 has 24 network bits and 8 host bits. The network address for that example is 192.168.1.0.
Frequently asked questions
What is a subnet mask?
A subnet mask marks which bits of an IPv4 address identify the network and which bits identify a host within that network.
How many usable hosts are in a /24 subnet?
A conventional IPv4 /24 subnet contains 256 total addresses and typically 254 usable host addresses, excluding the network and broadcast addresses.
What are /31 and /32 used for?
A /31 is commonly used for point-to-point links under RFC 3021, while a /32 identifies a single IPv4 address or host route.
Does the calculator send my IP address anywhere?
No. The calculations are performed in your browser and do not require an external API.