FRIENDLY CALCULATOR ยท FREE ONLINE TOOL

Subnet Calculator

Calculate IPv4 network address, subnet mask, broadcast address and host range from an IP address and CIDR prefix.

Calculator

Enter the values above and select Calculate.

Formula and methodology

The calculator converts the IPv4 address to a 32-bit integer, applies the CIDR-derived subnet mask to obtain the network address, and sets the remaining host bits to obtain the broadcast address. Host counts account for /31 point-to-point and /32 single-address prefixes.

How to use this calculator

  1. Enter the values requested in the form.
  2. Check the units and assumptions before calculating.
  3. Review the result and use it as an estimate, not a substitute for professional advice.

Calculations run locally in your browser. Do not enter passwords, account numbers or other sensitive information.

Frequently asked questions

What does CIDR /24 mean?

It means the first 24 bits identify the network and the remaining 8 bits are available for host addressing.

Does this support IPv6?

No. This tool currently supports IPv4 addresses only.