Task path / input to outcome
How to calculate an IPv4 subnet or CIDR block
- 01
Enter an IPv4 address and prefix
Paste an address with CIDR, such as 192.168.1.42/24, or enter a plain IPv4 address and provide /0 through /32 or a contiguous dotted-decimal netmask in the second field.
- 02
Review the normalized subnet
As soon as the input is valid, the workspace shows the normalized CIDR, network address, broadcast behavior, first and last usable hosts, subnet mask, wildcard mask, and exact address counts.
- 03
Check edge-case semantics
A /31 is identified as an RFC 3021 point-to-point subnet with two usable endpoints and no broadcast address. A /32 is shown as one host route. Other prefixes use standard network and directed-broadcast boundaries.
- 04
Copy the values you need
Copy one result or the complete result set, then expand the binary and address-context panels when troubleshooting masks. Calculations and clipboard preparation stay in the current browser tab.