← All tools

IPv4 Subnet Calculator

Calculate IPv4 network, mask, complete address count and usable-host range under an explicit subnet, /31 point-to-point or /32 host-route policy.

ipv4-subnet-calculatorLOCAL WORKSPACE

Enabling local controls…

Input

Input stays in this browser. Nothing is uploaded or stored.

Host ranges follow the stated arithmetic policy, not routability, assignment or safety. /31 uses point-to-point endpoints; /32 is a single-host route. Neither has a directed broadcast under these policies. RFC 3021

Result

Run the tool to see its result here.

How to use this tool

Enter IPv4/prefix or IPv4 plus a contiguous dotted mask; use hosts 100 to find the smallest conventional subnet. Review binary network/host bits and the /31 or /32 policy. Confirm support on the receiving network.

When not to use it

The address count includes every address; it is not automatically the number of usable hosts.