When to use this calculator
Find the full address count represented by an IPv4 prefix. Counts all addresses, including any network or broadcast addresses reserved by a particular subnet convention.
Explore the networks & service capacity calculators for other questions in this topic. For a related calculation, use the IPv4 Conventional Usable Hosts Calculator: Count traditional usable host addresses after reserving network and broadcast addresses.
PUTTING IT INTO PRACTICE
IPv4 Address Count: a worked example
The values below are an illustrative example, not a recommendation. Replace them with measurements or assumptions that match your question.
| Input | Example value |
|---|---|
| Network prefix length (integer) | 24 |
| Result | 256 addresses |
- Check the input labels and enter the example values above.
- Apply the relationship: Addresses = 2^(32−prefix length).
- The result is 256 addresses, rounded for display.
How to interpret your result
Counts all addresses, including any network or broadcast addresses reserved by a particular subnet convention.
Bits and bytes differ by eight. Average request rate can hide peaks and concurrency. A packet’s serialization delay is only one part of end-to-end network latency.
Frequently asked questions
Does serialization delay equal network latency?
No. Propagation, queuing, processing, framing and other paths can add to total latency.
When is the ipv4 address count calculator useful?
Find the full address count represented by an IPv4 prefix. Counts all addresses, including any network or broadcast addresses reserved by a particular subnet convention.
How do I use the ipv4 address count calculator?
Enter network prefix length (integer). The result updates automatically. Use the units shown beside each input; the example values illustrate the method.
Which formula does this calculator use?
Addresses = 2^(32−prefix length).
What should I check before using the result?
Counts all addresses, including any network or broadcast addresses reserved by a particular subnet convention.
How are results rounded?
Scalar numbers display up to six decimal places, with scientific notation for very large or small values. Text, fraction, date and schedule outputs use the format described on the tool. Intermediate calculations use JavaScript floating-point arithmetic. Keep sensible precision for your measurements.
Calculators Map editorial process · Updated · Methods and limitations