Skip to content
NSNormandin SystemsTHE EVERYDAY TOOLBOXMain site
⌁

Network / YOUR EVERYDAY TOOLBOX

IPv4 subnet calculator

Parse your IPv4 CIDR blocks and get all the info you need about your subnet.

✓ Free to use✓ No account neededHow to use this tool ↓
YOUR WORKSPACESee an example ↗

Opening your tool…

Runs in your browser. Check important results and keep a copy of your original files.

THE PRACTICAL GUIDE · NORMANDIN SYSTEMS

Get more from IPv4 subnet calculator

IPv4 subnet calculator: Parse your IPv4 CIDR blocks and get all the info you need about your subnet. Subnet calculations separate a host address from its network boundary and summarize the prefix’s addressing characteristics. IP calculations describe address space; they do not tell you whether a host is online or whether a firewall permits traffic. Prefix lengths divide an address into network and host portions, and a one-bit prefix change can substantially change the number of included addresses. Confirm whether you are working with IPv4 or IPv6 and use the same family throughout a calculation. For network planning, record both the human-readable notation and the exact boundaries. This helps catch accidental overlap, oversized allowlists, and assumptions about which addresses are usable.

Guide updated October 13, 2026

How to use this tool

  1. Begin with a representative input. For a practical test, use: 192.0.2.10/24. Replace demonstration values only after you understand the output.
  2. Enter the address, range, or prefix in the syntax requested by the tool, using the correct IPv4 or IPv6 address family.
  3. Inspect the network boundaries and the size of the resulting address space, especially when a calculation broadens or subdivides a range.
  4. Compare the result with neighboring subnets and your intended allocation before applying it to a router, firewall, or configuration file.

SEE IT IN PRACTICE

A worked example

EXAMPLE INPUT
192.0.2.10/24
RESULT / WHAT TO EXPECT
Network 192.0.2.0, mask 255.255.255.0, and broadcast 192.0.2.255

Record the prefix and the intended point-to-point or ordinary subnet use when interpreting host counts.

Build a hierarchy before assigning addresses

Start with the parent allocation, then choose child sizes based on real segment requirements and expected growth. A longer prefix creates a smaller block. Keep child blocks aligned and nonoverlapping. Equal-sized subdivision is easy to review, while variable-sized allocation can use space more efficiently but requires careful boundaries. Label reserved ranges so future planners understand why they are unassigned.

Interpret host counts in context

A prefix’s total address count is a mathematical property. Assignable-host conventions depend on how the network is used. Ordinary IPv4 subnets distinguish network and broadcast addresses, while special /31 and /32 uses need their own interpretation. A calculator or diagram does not know every routing or platform constraint. Check gateway, DHCP, reserved infrastructure, and management-address plans before deploying the allocation.

When this tool is useful

  • Plan an IPv4 subnet
  • Check a network mask
  • Explain network and broadcast values

Tips for a better result

  • Usable-host conventions differ for special prefixes such as /31 and /32; avoid applying a blanket subtract-two rule.
  • An address being mathematically inside a subnet does not prove that the address is assigned, reachable, or authorized for access.
  • Keep prefix lengths visible in documentation; an address without its prefix is insufficient to describe a subnet allocation.

Frequently asked questions

How many /26 blocks fit inside one /24?

Four. The two extra prefix bits create four child networks, each containing 64 addresses. For 192.0.2.0/24, their starts are .0, .64, .128, and .192.

Why does the prefix length matter?

The prefix length controls how many bits identify the network. Increasing the prefix length makes the block smaller; decreasing it makes the block larger and can include addresses beyond your intended scope.

Can I paste the result directly into a firewall?

First verify the destination’s accepted syntax and the policy’s intended scope. A mathematically correct range can still grant too much access, overlap another rule, or behave differently because of rule ordering.

What happens to the information I enter?

The utility processes your input in this browser. Some tools retain field values in browser storage or the URL; avoid entering secrets in shareable fields. Page and asset requests still go to the hosting provider. Read the privacy and offline-use notes for details.