Skip to content
ToolsOnDuty - free online tools
IP & Network Tools

IPv4 Subnet Calculator

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

Free foreverRuns 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.

Results describe public network information and should not be treated as proof of a person's identity or exact physical location.

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.

Frequently asked questions

Is this tool free?
Yes. It requires no account, payment or software installation.
Are IP location results exact?
No. IP geolocation is approximate and usually identifies a network region, not a home, person or precise device location.
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.