ip net calculator

Enter a valid IPv4 address. You can also include CIDR notation directly.
Range: 0 to 32. Example: /24

Subnet Calculation Results

What an IP net calculator does

An IP net calculator (also called a subnet calculator or CIDR calculator) helps you take an IPv4 address and subnet prefix, then instantly compute key network details. Instead of doing binary math by hand, you get accurate results in seconds: network address, broadcast address, usable host range, subnet mask, wildcard mask, and address counts.

This is useful for network engineers, sysadmins, cloud practitioners, students studying for exams, and anyone designing VLANs or segmenting an office network. Even when your environment is small, understanding subnet boundaries reduces configuration mistakes and makes troubleshooting much faster.

How to use this calculator

Step-by-step

  • Enter an IPv4 address (example: 10.0.5.77).
  • Enter a CIDR prefix (example: /20).
  • Click Calculate Network.
  • Review the computed network details and host range.

Tip: you can also paste values like 172.16.44.200/22 in the IP field. The calculator will read the prefix automatically.

Understanding each result

Network Address

The network address identifies the subnet itself and is not assigned to a host (except special point-to-point uses). Routers use this value to make routing decisions.

Broadcast Address

The broadcast address is the last address in the subnet. Sending to this address reaches all hosts in that subnet (for traditional IPv4 broadcast domains).

Usable Host Range

For most subnets, usable hosts are from network+1 to broadcast-1. Special cases are:

  • /31: used for point-to-point links and has two usable addresses.
  • /32: a single-host route with exactly one address.

Subnet Mask and Wildcard Mask

The subnet mask is the dotted-decimal form of the prefix (for example, /24 = 255.255.255.0). The wildcard mask is the inverse of the subnet mask and is often used in ACL rules.

CIDR quick reference

  • /8 → 16,777,216 total addresses
  • /16 → 65,536 total addresses
  • /24 → 256 total addresses (254 usable in typical host subnet)
  • /30 → 4 total addresses (2 usable in typical host subnet)
  • /31 → 2 total addresses (both usable for point-to-point)
  • /32 → 1 total address

Common planning mistakes this avoids

  • Using an IP from one subnet with a gateway in another subnet.
  • Accidentally assigning the broadcast or network address to a host.
  • Mixing up subnet mask and wildcard mask in firewall policies.
  • Choosing a subnet too small for future growth.
  • Overlapping subnets across VPNs, branch offices, or VPC networks.

Private IPv4 ranges to remember

These ranges are reserved for internal networking and are not routed directly on the public internet:

  • 10.0.0.0/8
  • 172.16.0.0/12
  • 192.168.0.0/16

If your calculator output shows one of these ranges, your address is private. Public addresses will fall outside these ranges.

When this tool is especially helpful

  • Building VLAN plans for offices and campuses
  • Defining cloud subnets in AWS, Azure, or GCP
  • Preparing firewall ACLs and route statements
  • Studying for networking certifications
  • Validating IP plans before deployment

Final note

Good subnetting is one of those skills that pays off forever. Whether you are managing a home lab or a production enterprise environment, a reliable IP net calculator improves speed, accuracy, and confidence.

🔗 Related Calculators