Validate IPv4 addresses and identify private ranges.
Subnet Calculator
Calculate IPv4 networks, host ranges, and subnet masks.
How to use Subnet Calculator
- Enter an IPv4 address with a slash prefix, such as 192.168.1.10/24.
- Run the calculation and compare the network, mask and first/last host fields.
- Use the range when planning a DHCP pool, reserving addresses for infrastructure.
Practical example
192.168.1.10/24 → network 192.168.1.0/24, mask 255.255.255.0, hosts .1–.254, 254 usable addresses.
Understanding the result
The network address identifies the block. The mask separates network bits from host bits. For prefixes below /31, the first and last block addresses are reserved as network and broadcast.
Limits and edge cases
This is IPv4 arithmetic. It does not inspect routes, prove that a host is reachable or reserve addresses on your router.
Common question
Why does /31 have two usable addresses?
The calculator follows point-to-point /31 addressing. Both addresses can be endpoints. A /32 represents one host; neither case has a broadcast address.
Continue your task
Related Tools
Merge overlapping or adjacent IPv4 networks into minimal CIDRs.
Inspect local address ranges, binary notation, and historical IP classes.
Find intersecting address ranges between two IPv4 CIDRs.