IPv4 subnet calculator
Calculate network, broadcast and host ranges from CIDR or a contiguous subnet mask.
Processing runs in this browser. Your inputs and files stay on this device.
Preparing the workspace…
The workspace could not start. Reload
How to use it
- Enter an IPv4 address, optionally with a CIDR suffix such as /24.
- If you omit CIDR, enter a contiguous dotted subnet mask.
- Review the text result, then use Copy or select the text manually.
Example and limits
192.0.2.5/24 has network 192.0.2.0 and a conventional host range from .1 to .254.
The tool performs address arithmetic locally. It does not contact the specified network.
Frequently asked questions
How are /31 and /32 ranges handled?
Both /31 endpoints are shown as usable. A /32 contains exactly one address.
Is the input saved?
Inputs and results are used for this session. Copy anything you want to keep before closing or reloading.
How can I save the result?
Review the text result, then use Copy or select the text manually.