128 bits. Hexadecimal notation.
A full address has 8 groups of 16 bits. Leading zeros can be omitted; :: compresses one sequence of zero groups.
IPv4 and IPv6 in one place. Calculate address ranges and explore the prefix reference tables.
Select a prefix to use it in the calculator.
| CIDR | Subnet mask | Wildcard | Total addresses | Usable hosts |
|---|---|---|---|---|
| 255.255.255.255 | 0.0.0.0 | 1 | 1 · host | |
| 255.255.255.254 | 0.0.0.1 | 2 | 2 · P2P | |
| 255.255.255.252 | 0.0.0.3 | 4 | 2 | |
| 255.255.255.248 | 0.0.0.7 | 8 | 6 | |
| 255.255.255.240 | 0.0.0.15 | 16 | 14 | |
| 255.255.255.224 | 0.0.0.31 | 32 | 30 | |
| 255.255.255.192 | 0.0.0.63 | 64 | 62 | |
| 255.255.255.128 | 0.0.0.127 | 128 | 126 | |
| 255.255.255.0 | 0.0.0.255 | 256 | 254 | |
| 255.255.254.0 | 0.0.1.255 | 512 | 510 | |
| 255.255.252.0 | 0.0.3.255 | 1,024 | 1,022 | |
| 255.255.248.0 | 0.0.7.255 | 2,048 | 2,046 | |
| 255.255.240.0 | 0.0.15.255 | 4,096 | 4,094 | |
| 255.255.224.0 | 0.0.31.255 | 8,192 | 8,190 | |
| 255.255.192.0 | 0.0.63.255 | 16,384 | 16,382 | |
| 255.255.128.0 | 0.0.127.255 | 32,768 | 32,766 | |
| 255.255.0.0 | 0.0.255.255 | 65,536 | 65,534 | |
| 255.254.0.0 | 0.1.255.255 | 131,072 | 131,070 | |
| 255.252.0.0 | 0.3.255.255 | 262,144 | 262,142 | |
| 255.248.0.0 | 0.7.255.255 | 524,288 | 524,286 | |
| 255.240.0.0 | 0.15.255.255 | 1,048,576 | 1,048,574 | |
| 255.224.0.0 | 0.31.255.255 | 2,097,152 | 2,097,150 | |
| 255.192.0.0 | 0.63.255.255 | 4,194,304 | 4,194,302 | |
| 255.128.0.0 | 0.127.255.255 | 8,388,608 | 8,388,606 | |
| 255.0.0.0 | 0.255.255.255 | 16,777,216 | 16,777,214 | |
| 254.0.0.0 | 1.255.255.255 | 33,554,432 | 33,554,430 | |
| 252.0.0.0 | 3.255.255.255 | 67,108,864 | 67,108,862 | |
| 248.0.0.0 | 7.255.255.255 | 134,217,728 | 134,217,726 | |
| 240.0.0.0 | 15.255.255.255 | 268,435,456 | 268,435,454 | |
| 224.0.0.0 | 31.255.255.255 | 536,870,912 | 536,870,910 | |
| 192.0.0.0 | 63.255.255.255 | 1,073,741,824 | 1,073,741,822 | |
| 128.0.0.0 | 127.255.255.255 | 2,147,483,648 | 2,147,483,646 | |
| 0.0.0.0 | 255.255.255.255 | 4,294,967,296 | 4,294,967,294 |
No results. Try a CIDR such as /24 or a mask such as 255.255.255.0.
For /0–/30, the usual calculation subtracts the network and broadcast addresses. /31 has two hosts on a point-to-point link; /32 represents a single address. Counts are theoretical: special ranges, operator rules and cloud platform reservations can limit usable addresses.
Technical references: RFC 1878 ↗ · RFC 3021 ↗
Calculate address ranges and subnet counts. The reference table follows the structure of the RIPE NCC IPv6 Chart.
Prefixes /24–/64, as in the reference document. Select a prefix to use it in the calculator. “Remaining bits” = 128 − prefix.
| Prefix | /48 blocks | /56 blocks | /64 blocks | Remaining bits |
|---|---|---|---|---|
| 16M | 4G | 1T | 104 | |
| 8M | 2G | 512G | 103 | |
| 4M | 1G | 256G | 102 | |
| 2M | 512M | 128G | 101 | |
| 1M | 256M | 64G | 100 | |
| 512K | 128M | 32G | 99 | |
| 256K | 64M | 16G | 98 | |
| 128K | 32M | 8G | 97 | |
| 64K | 16M | 4G | 96 | |
| 32K | 8M | 2G | 95 | |
| 16K | 4M | 1G | 94 | |
| 8K | 2M | 512M | 93 | |
| 4K | 1M | 256M | 92 | |
| 2K | 512K | 128M | 91 | |
| 1K | 256K | 64M | 90 | |
| 512 | 128K | 32M | 89 | |
| 256 | 64K | 16M | 88 | |
| 128 | 32K | 8M | 87 | |
| 64 | 16K | 4M | 86 | |
| 32 | 8K | 2M | 85 | |
| 16 | 4K | 1M | 84 | |
| 8 | 2K | 512K | 83 | |
| 4 | 1K | 256K | 82 | |
| 2 | 512 | 128K | 81 | |
| 1 | 256 | 64K | 80 | |
| — | 128 | 32K | 79 | |
| — | 64 | 16K | 78 | |
| — | 32 | 8K | 77 | |
| — | 16 | 4K | 76 | |
| — | 8 | 2K | 75 | |
| — | 4 | 1K | 74 | |
| — | 2 | 512 | 73 | |
| — | 1 | 256 | 72 | |
| — | — | 128 | 71 | |
| — | — | 64 | 70 | |
| — | — | 32 | 69 | |
| — | — | 16 | 68 | |
| — | — | 8 | 67 | |
| — | — | 4 | 66 | |
| — | — | 2 | 65 | |
| — | — | 1 | 64 |
No results. Enter a prefix from /24 to /64. The calculator accepts /0–/128.
K = 1 024 · M = 1 048 576 · G = 1 073 741 824 · T = 1 099 511 627 776
Base-2 abbreviations, using RIPE NCC notation; full values appear when hovering over numbers. “—” means a block of that size does not fit inside the prefix.
A full address has 8 groups of 16 bits. Leading zeros can be omitted; :: compresses one sequence of zero groups.
IPv6 uses a prefix length, such as /64. It has no broadcast addresses; multicast takes over their functions. The IPv4 “total − 2” formula does not apply.
/64 is common for LANs with address autoconfiguration. /127 is used on point-to-point links between routers. /128 represents a single address.
Table source: RIPE NCC — IPv6 Chart. Technical references: RFC 4291 ↗ · RFC 5952 ↗ · RFC 6164 ↗
We help you size your storage and design your business network.