Subnet & CIDR Calculator
Calculate IPv4 network address, subnet mask, wildcard mask, broadcast address, host range and address counts.
Calculate IPv4 network address, subnet mask, wildcard mask, broadcast address, host range and address counts.
An IPv4 address with prefix length between 0 and 32.
Enter an IPv4 CIDR expression, calculate the network range and inspect usable address counts.
Network configuration, cloud networking and routing plans.
IPv4 only. /31 counts apply to point-to-point links; /32 represents a host route. No network connection or scanning.
Subnet & CIDR Calculator: Calculate IPv4 network address, subnet mask, wildcard mask, broadcast address, host range and address counts..
Open the interactive browser tool to process your files or values. Public page descriptions are readable without JavaScript; browser-only file operations are not remote REST APIs.
Frequently asked questions
What is CIDR notation?
It expresses an IPv4 address followed by the number of leading bits used for the network prefix.
What is a subnet mask?
It is a 32-bit mask with network bits set to one and remaining host bits set to zero.
What is a wildcard mask?
It is the bitwise complement of the subnet mask, often used in network access-list configurations.
How many addresses are in a /24?
A /24 contains 256 total IPv4 addresses, conventionally 254 usable host addresses.
How is a /31 handled?
Both addresses are counted as usable for an RFC 3021 point-to-point link, where a separate broadcast address is unnecessary.
What does /32 mean?
A /32 refers to a single IPv4 address, commonly used for a host route.
Can the entered address contain host bits?
Yes. The calculator derives the containing network address from the supplied prefix.
Does this connect to or scan a network?
No. The calculations are performed locally and do not send packets to the entered address.
What are the supported limits?
IPv4 only. /31 counts apply to point-to-point links; /32 represents a host route. No network connection or scanning.
How is my input processed?
The calculation or file analysis runs locally in your browser. No entered values or selected file contents are sent to Code Deb for processing.
More from Code Deb
Read about our agency, explore available services, or contact the team for a project discussion.