Subnet/CIDR Calculator
Enter an IP address and subnet mask to instantly view network address, broadcast, host range, wildcard mask, and total usable hosts.
Calculated Results
How It Works
Enter an IPv4 address and select a CIDR prefix length. The calculator performs bitwise AND between the IP and subnet mask to find the Network Address, and OR with the wildcard mask to find the Broadcast Address.
Usable host addresses are all IPs between the network and broadcast addresses, exclusive (except for /31 point-to-point and /32 host routes).
Key Formulas
Last Updated: February 2026
Note: This calculator supports IPv4 only.
About the Subnet/CIDR Calculator
This subnet/cidr calculator helps with subnetting, bandwidth, DNS TTL, and other IT networking calculations. Calculate network address, broadcast, host range, wildcard mask from IP and subnet.
Use for network planning, certification prep, and sysadmin troubleshooting.
Adjust the inputs above to model your specific scenario with the Subnet/CIDR Calculator.
Explore More
Related Calculators
VLAN Planner
Plan VLAN subnets with VLSM allocation for departments and segments.
Bandwidth Calculator
Estimate transfer time from file size and speed, or calculate required bandwidth.
IP Address Converter
Convert IP addresses between decimal, binary, hexadecimal, and integer formats.
Port Number Lookup
Search TCP/UDP port numbers by port or service name.
Time to Live (TTL) Calculator
Convert Time to Live (TTL) between seconds and human-readable duration. DNS presets and expiry time calculator for sysadmins.
Acceleration
Calculate change in velocity.