CalcWorldHub
Free online calculator · no signup

IPv4 subnet planner

Plan an IPv4 subnet from an address and CIDR prefix, including its network and host range. Enter your values below to see the result and method.

A better way to figure it out
Clear
inputs.
∑
Clear result · useful details
Free calculatorNo signup ✓

Related calculators and articles

Compare methods and explore more free tools in computer science.

Browse the full computer science category →

IPv4 subnet planner — IP address, CIDR prefix and calculation method
IPv4 subnet planner: inputs and calculation method.
Free calculator guide

How to use the IPv4 subnet planner

Plan an IPv4 subnet from an address and CIDR prefix, including its network and host range. Use the free tool above without creating an account.

∑
Illustration for this free CalcWorldHub tool.

What it calculates

Plan an IPv4 subnet from an address and CIDR prefix, including its network and host range. The output reflects the input definitions and conventions used by the formula, so keep formats and units consistent when comparing scenarios.

Inputs and units

Enter IP address and CIDR prefix. Review the labels and example values before calculating.

Formula and method

network = IP AND mask; broadcast = network + host bits set

The calculator applies this relationship directly and keeps intermediate values unrounded for the displayed estimate.

Worked example

For 192.168.10.37/24, the mask is 255.255.255.0, the network is 192.168.10.0, and the conventional usable range is .1 through .254.

How to interpret the result

Use the result to answer the specific sizing, encoding, performance, or representation question stated on this page. It is conditional on the chosen inputs; change one input at a time to see how the estimate responds.

Assumptions and limitations

The tool accepts dotted IPv4 addresses and prefixes from /0 to /32. For /31 and /32, it reports the address block without subtracting network and broadcast addresses from the host count.

Frequently asked questions

How does a prefix determine the IPv4 subnet?

A /p prefix marks p of the 32 address bits as the network portion. The network address is the entered address bitwise-ANDed with that prefix mask; /31 and /32 have special host-count conventions.

Which formula does it use?

network = IP AND mask; broadcast = network + host bits set The guide above explains the input conventions and a worked example.

What should I check before relying on the result?

The tool accepts dotted IPv4 addresses and prefixes from /0 to /32. For /31 and /32, it reports the address block without subtracting network and broadcast addresses from the host count. Confirm that the units, widths, and system conventions match your use case.

How do I use the IPv4 subnet planner?

Enter IP address, CIDR prefix. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of IPv4 subnet planner?

For 192.168.10.37/24, the mask is 255.255.255.0, the network is 192.168.10.0, and the conventional usable range is .1 through .254.