What it does
A subnet is a block of IP addresses that share the same first part. The prefix after the slash (/26) says how many of the 32 bits are the shared network part; the rest identify the hosts inside it. This calculator takes any address with a prefix or a subnet mask and gives you the network address, the broadcast address, the first and last usable host, how many hosts fit, the mask and the wildcard mask, and the whole thing in binary so you can see where the line falls.
It can then split the block into smaller equal subnets and list each one, and it reads IPv6 prefixes too: full and short forms, first and last address and how many /64 networks fit inside. Nothing leaves your browser. For the other side of networking jobs see cron explainer for schedules, URL encoder for web addresses and base64 converter for encoded data.
How to use it
- Type an address with a prefix (
192.168.1.130/26) or with a mask (192.168.1.130 255.255.255.192). Tap a sample to try one. - Read the headline sentence, then the table. Copy result copies it as text.
- In Split into smaller subnets, pick a longer prefix. The table lists every subnet with its network, first host, last host and broadcast. Download CSV saves it.
- Type an IPv6 address such as
2001:db8:abcd::1/48to see its range and /64 count.
What each result means
- Network address: the first address of the block; it names the subnet and is not given to a host.
- Broadcast address: the last address, used to reach every host at once. A /31 and a /32 have none.
- Usable hosts: total addresses minus the network and broadcast ones. A /31 (two addresses) is allowed on point-to-point links, and a /32 is a single host.
- Subnet mask / Wildcard: the mask has 1 bits for the network part; the wildcard is its opposite, used in access lists.
- Kind: whether the address is private (RFC 1918), loopback, link-local, multicast or public.
Worked example
192.168.1.130/26 has a mask of 255.255.255.192 (26 one-bits). Its network is 192.168.1.128 and its broadcast 192.168.1.191. The usable hosts run from 192.168.1.129 to 192.168.1.190, which is 62 hosts out of 64 addresses. The wildcard is 0.0.0.63. Splitting 192.168.1.0/24 into /26 gives 4 subnets of 64 addresses: .0, .64, .128 and .192. For 2001:db8:abcd::1/48 the range runs from 2001:db8:abcd:: to 2001:db8:abcd:ffff:ffff:ffff:ffff:ffff and holds 65,536 networks of /64.
FAQs
Why are two addresses lost in every subnet? One is the network name and one is the broadcast, so a /24 has 256 addresses but 254 usable hosts.
Is a private address safe to type here? Yes. Nothing is sent anywhere; the sums happen on your device.
What about VLSM, supernets or overlapping checks? Splitting gives equal-sized subnets. For unequal sizes, split first, then split one of the results again.
Why is 2001:db8 shown as “Documentation range”? It is reserved for examples (RFC 3849) and never used on the real internet.
Where the numbers come from
- CIDR notation from RFC 4632; private ranges from RFC 1918; /31 point-to-point links from RFC 3021; IPv6 addressing from RFC 4291 and documentation range from RFC 3849. fibub's own working.
Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.
Read more on the Blog
- What a subnet mask and CIDR prefix mean, explained with binary(the full guide)
Last updated 2026-12-05.