ToolPatch

One page. One job. Done.

← Back to all tools
Network

Subnet Calculator

Calculate network, broadcast, host range, and mask details from CIDR.

Last validated: 2026-02-14

Subnet Calculator derives the network address, broadcast address, usable host range, and subnet mask from CIDR input. CIDR notation combines an IP address with a prefix length, such as /24, where the prefix marks how many leading bits identify the network rather than individual hosts. The network address is the first address in the block, the broadcast address is the all-hosts address in IPv4, and the usable range excludes addresses reserved for network and broadcast roles. Subnet masks express the same boundary in dotted decimal form. This tool is useful for network planning and troubleshooting because it makes address boundaries explicit, but production changes should still be checked against router, cloud-provider, DHCP, and firewall configuration.

Permalink

Input Pattern

Enter values in the left panel, keep units explicit, run the calculation, then copy or share the result. Invalid fields are highlighted immediately.

Subnet Input

Result

Network: 192.168.10.0/24

Subnet mask: 255.255.255.0

Wildcard: 0.0.0.255

Broadcast: 192.168.10.255

First host: 192.168.10.1

Last host: 192.168.10.254

Usable hosts: 254

How to use this tool

  1. Enter CIDR for the subnet calculator, keeping units, dates, or text format consistent with the form labels.
  2. Confirm address formats, masks, ports, or hostnames match the network environment you are checking.
  3. Click "Run the tool" and review Subnet Input, Result for the primary output.
  4. Compare the output with device, provider, or DNS authority settings before applying a live network change.

Worked Example

Auto-generated from the tool's current default or entered inputs.

Example Inputs

  • Cidr: 192.168.10.25/24
  • Ip: 192.168.10.25
  • Prefix: 24
  • Subnet mask: 255.255.255.0
  • Wildcard mask: 0.0.0.255
  • Network: 192.168.10.0
  • Broadcast: 192.168.10.255
  • First host: 192.168.10.1

Expected Outputs

  • Prefix: 24
  • Host count: 254

Interpretation

Formula References

Assumptions

Explore more versions

Tailored guides for specific audiences, regions, and scenarios.

Network planning tools

Promote network diagram software, certification resources, and infrastructure monitoring tools.

Sponsored