Quick answer: To use an IPv4 subnet calculator, open the NimbusCalc IPv4 subnet calculator, enter an IPv4 address and a CIDR prefix from 0 to 32, and read the network address, broadcast address and usable host range. The default example 192.168.1.130/26 sits in 192.168.1.128/26 with 64 total addresses and 62 usable hosts, from 192.168.1.129 to 192.168.1.190. The tool also accepts a dotted subnet mask, splits a block into smaller subnets, and exports results as JSON or CSV.
What an IPv4 subnet calculator measures
Classless Inter-Domain Routing (CIDR) writes an IPv4 address followed by a slash and a prefix length, such as 192.168.1.128/26. The prefix is the number of leading one bits in the subnet mask. An IPv4 address is 32 bits wide, so a /26 mask has 26 network bits and 6 host bits. CIDR replaced the rigid class A, B and C system and is specified in RFC 4632.
An IPv4 subnet calculator converts between that notation and the dotted decimal mask, then derives the network boundary. The same boundary for /26 is 11111111.11111111.11111111.11000000 in binary, which is 255.255.255.192. The two notations carry identical information. NimbusCalc was last updated on December 1, 2026, and every calculation runs locally in your browser.
How to calculate network, broadcast and host range (step by step)

The first tab is “1. CIDR prefix”. It is selected on load.
- Enter an “IPv4 address”. The text field has placeholder “192.168.1.130” and default 192.168.1.130.
- Enter the “CIDR prefix (0 to 32)”. It is a number input with min 0, max 32, step 1 and default 26.
- Read the “NETWORK BLOCK” card. The tool shows 192.168.1.128/26 and the derivation: IP AND 255.255.255.192 = 192.168.1.128, then 192.168.1.128 OR 0.0.0.63 = 192.168.1.191, then 2^(32-26) = 64 addresses.
- Read the eight result fields. NETWORK ADDRESS 192.168.1.128, BROADCAST ADDRESS 192.168.1.191, FIRST USABLE HOST 192.168.1.129, LAST USABLE HOST 192.168.1.190, SUBNET MASK 255.255.255.192, WILDCARD MASK 0.0.0.63, TOTAL ADDRESSES 64 and USABLE HOSTS 62.
- Check the extra diagnostics. The tool reports ADDRESS TYPE “Private (RFC 1918)”, the BINARY ADDRESS 11000000.10101000.00000001.10000010, the BINARY MASK 11111111.11111111.11111111.11000000, and HOST SHARE OF BLOCK 96.88%.
- Export if needed. Click “Copy result as JSON” or “Copy subnet table as CSV”.
Switch to tab 2, “Dotted subnet mask”, to work from a mask instead of a prefix. It provides an “IPv4 address” field and a “Subnet mask” field with placeholder 255.255.255.192. Both tabs produce the same result set.
The four core formulas behind an IPv4 subnet calculator
The network address is IP AND mask. The wildcard mask is NOT mask. The broadcast address is network OR wildcard. Total addresses are 2^(32 − P). For prefixes /0 to /30, usable hosts are 2^(32 − P) − 2 because the network and broadcast addresses are reserved. Host range runs from network + 1 through broadcast − 1.
Two exceptions matter. For /31 and /32 the reserved-address rule does not apply. RFC 3021 lets both addresses of a /31 point-to-point link be used, and a /32 is a single host route. The tool reports 2 usable hosts for /31 and 1 for /32.
IPv4 prefix reference for common subnet sizes

| Prefix | Subnet mask | Addresses | Usable hosts | Typical use |
|---|---|---|---|---|
| /8 | 255.0.0.0 | 16,777,216 | 16,777,214 | Large private block 10.0.0.0/8 |
| /16 | 255.255.0.0 | 65,536 | 65,534 | Campus network |
| /24 | 255.255.255.0 | 256 | 254 | Home or small office LAN |
| /26 | 255.255.255.192 | 64 | 62 | Small server or device VLAN |
| /28 | 255.255.255.240 | 16 | 14 | Small cloud subnet |
| /30 | 255.255.255.252 | 4 | 2 | Point-to-point link |
| /31 | 255.255.255.254 | 2 | 2 | Point-to-point per RFC 3021 |
| /32 | 255.255.255.255 | 1 | 1 | Single host route or loopback |
The page also includes a full IPv4 prefix reference table covering every prefix from /0 to /32 with its dotted mask, block size and usable host count. Special ranges are documented too: 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 are private (RFC 1918); 127.0.0.0/8 is loopback (RFC 1122); 169.254.0.0/16 is link-local (RFC 3927); 100.64.0.0/10 is carrier-grade NAT space (RFC 6598); and 224.0.0.0/4 is multicast (RFC 1112).
How to split a network into smaller subnets
The “Split this network into smaller subnets” section has a “Target prefix” number field with min 0 and max 32. Entering 28 for a /26 block produces 4 child networks of 16 addresses each: 192.168.1.128/28, 192.168.1.144/28, 192.168.1.160/28 and 192.168.1.176/28, each with 14 usable hosts. The table is capped at 64 rows for readability; use the CSV button to copy what is shown. Increasing the prefix from /24 to /26 adds two network bits, so the block splits into 2^2 = 4 child networks of 64 addresses each.
Common mistakes when using an IPv4 subnet calculator
- Confusing the address with the network. 192.168.1.130 is a host; 192.168.1.128 is the /26 network. Always apply the mask first.
- Subtracting two addresses on /31 and /32. Those prefixes have no reserved network or broadcast address.
- Mixing dotted mask and prefix. Use tab 2 for a mask such as 255.255.255.192 rather than typing it into the prefix field.
- Forgetting the wildcard mask. Access-control lists use 0.0.0.63, not 255.255.255.192.
- Planning with total addresses instead of usable hosts. A /28 has 16 addresses but only 14 usable hosts.
Where this fits in your NimbusCalc workflow
Subnet tables are tabular data. Export them with “Copy subnet table as CSV”, then clean them with the expo lead cleaner or turn them into a graphic with the one-sentence chart generator. Document the addressing plan in the Word to PDF conversion guide, and see the trade show leads to CRM CSV guide for a worked CSV import workflow. Network troubleshooting often starts with the broadband speed test.
These NimbusCalc guides use the same step-by-step format. Continue with the color contrast checker guide for readable dashboards and the JSON formatter guide for structured config files.
Frequently asked questions
What does a /26 prefix mean?
A /26 mask has 26 network bits and 6 host bits. It equals 255.255.255.192 and gives 64 total addresses with 62 usable hosts.
How is the broadcast address calculated?
OR the network address with the inverted subnet mask, also called the wildcard mask. For 192.168.1.128/26 the wildcard is 0.0.0.63 and the broadcast is 192.168.1.191.
Why does a /31 have two usable hosts?
RFC 3021 removes the network and broadcast addresses for point-to-point links, so both addresses of a /31 are usable.
Can I enter a subnet mask instead of a prefix?
Yes. Switch to tab 2, “Dotted subnet mask”, and enter an address plus a mask such as 255.255.255.192.
Is 192.168.1.130 a private address?
Yes. It falls in 192.168.0.0/16, which is private address space defined by RFC 1918. The tool labels the address type accordingly.