Skip to content
ToolsOnDuty - free online tools

Search tools

Loading tool search...

IP & Network Tools

IPv4 Subnet Calculator

Calculate a subnet mask, network, broadcast and usable host range from an IPv4 address and prefix.

Free browser toolRuns in your browserNo sign-up

IP & Network Tools

IPv4 Subnet Calculator

Calculate the network, broadcast, usable range, subnet mask and address count for an IPv4 prefix.

Calculation runs locally in your browser. No address is uploaded.

About the IPv4 Subnet Calculator

IPv4 Subnet Calculator is a focused network utility for administrators, developers, support teams and people troubleshooting an internet connection. Calculate a subnet mask, network, broadcast and usable host range from an IPv4 address and prefix.

The calculation runs locally in your browser, so the address is not uploaded.

This is a calculation or classification of supplied addresses, not a live check of reachability, ownership or physical location.

For /0-/30, usable capacity is total addresses minus network and broadcast. The helper treats both /31 addresses and the single /32 address as usable. On /31 and /32, the displayed Broadcast address is the numeric high bound, not a promise of conventional broadcast behavior.

This is mathematical capacity, not a list of free, public, assignable or reachable devices. A /0 includes special-use space. Use unambiguous dotted-decimal input and a whole prefix from 0 to 32; verify the target network's actual allocation/routing rules separately.

Key features

  • Prefixes from /0 to /32
  • Network and broadcast addresses
  • Usable range and address count

How to use

  1. 1Enter an IPv4 address.
  2. 2Enter a CIDR prefix from 0 to 32.
  3. 3Select Calculate to view the complete subnet summary.

Examples

IPv4 Subnet Calculator example
Input: 192.168.1.10 and /24
Output: 192.168.1.0 through 192.168.1.255

Traditional /24 networks have 254 usable host addresses.

Point-to-point-sized range convention
Input: 192.0.2.10 with /31
Output: Network 192.0.2.10; high bound 192.0.2.11; 2 total and 2 usable by this helper's convention

192.0.2.0/24 is documentation space. No live network or device availability is being checked.

Frequently asked questions

Is this tool free?
Yes. It requires no account, payment or software installation.
Does this check whether an address is reachable?
No. It calculates or classifies the supplied value locally. A valid address or range does not prove that a device exists, responds, or belongs to anyone.
Does this tool expose private network data?
No. This calculator operates entirely on the values in your browser.
Can I use it on mobile?
Yes. Inputs, tables and results adapt to phones, tablets and desktop browsers.
Why are /31 and /32 different?
The helper does not subtract two addresses for these small prefixes. Interpret them using the intended point-to-point/host-route context rather than ordinary broadcast-subnet rules.

Open a related tool to prepare your files or refine the finished result.