What Is a Network Address Calculator?
A network address calculator finds the first address that identifies an IPv4 or IPv6 network. You provide an IP address and a prefix or subnet mask. The calculator removes the host portion and returns the normalized network boundary.
For example, the address 192.168.1.130 with the prefix /26 belongs to 192.168.1.128/26. The network address is 192.168.1.128. It identifies the subnet as a whole and is normally not assigned to a device on a traditional IPv4 subnet.
The calculator from ipdnslookup supports both IP versions. IPv4 accepts a slash prefix, a plain prefix number, or a dotted subnet mask. IPv6 accepts a prefix from 0 through 128. The result also shows the address range, masks, capacity, position, and bitwise proof.
How to Use the Network Address Calculator
- Enter an IP address: Type an IPv4 value such as
192.168.1.130or an IPv6 value such as2001:db8:1234:5678::25. - Enter the mask: Use
/26,26, or the IPv4 mask255.255.255.192. For IPv6, use a numeric prefix such as/64. - Select Calculate Network Address: The values are validated and normalized before the network boundary is calculated.
- Read the primary result: The network address appears first with its complete CIDR notation.
- Review the range: Check the ending address, usable range, capacity, address position, and mask.
- Verify the calculation: Compare the address bits, mask bits, and resulting network bits.
Keep the IP address and mask in separate fields. If you already have one combined value such as 192.168.1.130/26, put the address in the first field and /26 in the second.
Example network address calculation
IP address: 192.168.1.130
Prefix: /26
Network address: 192.168.1.128
Normalized network: 192.168.1.128/26
A /26 divides the last IPv4 octet into blocks of 64. The blocks begin at 0, 64, 128, and 192. The entered address falls inside the 128 through 191 block, so its network address is 192.168.1.128.
Why Use Our Network Address Calculator?
- IPv4 and IPv6 support: Calculate network boundaries for either common IP version.
- Flexible IPv4 masks: Enter a CIDR prefix or a contiguous dotted-decimal subnet mask.
- Network address first: The page prioritizes the exact answer named by the calculator.
- Bitwise proof: View how the address and network mask combine to produce the result.
- Complete boundaries: See the last address, first and last usable addresses, and total capacity.
- Address position: Learn where the entered address sits inside its network block.
- Safe boundary rules: IPv4
/31, IPv4/32, IPv6, and very large networks receive suitable explanations. - No signup: Run normal calculations without creating an account.
How Network Address Calculation Works
An IP address contains network bits and host bits. The CIDR prefix length tells the calculator how many bits belong to the network. A /26 IPv4 prefix reserves 26 of 32 bits for the network and leaves 6 host bits. A /64 IPv6 prefix reserves 64 of 128 bits for the network and leaves 64 host bits.
The calculation applies a bitwise AND operation:
IP address AND network mask = network address
A mask bit of 1 keeps the matching address bit. A mask bit of 0 clears the matching address bit. Clearing every host bit produces the first address aligned to that network size.
Short binary example
The final IPv4 octet of 130 is 10000010. A /26 mask ends with 11000000. Applying AND gives 10000000, which is 128 in decimal. The first three octets stay unchanged, producing 192.168.1.128.
The calculator uses integer address arithmetic for the complete range. It does not need to generate every address, so large IPv4 and IPv6 networks can be handled without producing enormous lists.
Common Use Cases for a Network Address Calculator
- Configure routing: Find the normalized destination network needed in a routing table.
- Create firewall rules: Confirm the correct network boundary before allowing or blocking a CIDR range.
- Plan VLANs: Check that an address belongs to the intended subnet before assigning it to a device.
- Troubleshoot connectivity: Compare two addresses to determine whether their configured networks overlap.
- Review cloud networks: Normalize a proposed IPv4 or IPv6 range before adding it to a virtual network.
- Study subnetting: Use the binary proof to see how prefixes change network boundaries.
- Audit configurations: Detect a host address that was incorrectly entered where a network address was required.
Understanding Your Network Address Results
- Network Address: The first address aligned to the selected prefix. This is the calculator's main answer.
- Normalized CIDR Network: The network address combined with its prefix, such as
192.168.1.128/26. - Entered IP Address: The normalized form of the address supplied in the form.
- IP Version: Shows whether the calculation uses 32-bit IPv4 or 128-bit IPv6.
- Address Type: Labels the entered value as public, private, loopback, link-local, multicast, reserved, or another special type.
- CIDR Prefix: The number of leading bits assigned to the network portion.
- Network and Host Bits: Shows how the total address bits are divided by the prefix.
- Total Addresses: The complete size of the calculated block, including reserved boundary addresses where applicable.
- Usable Address Count: Traditional IPv4 subnets exclude network and broadcast addresses. IPv4
/31and/32follow special rules. IPv6 has no broadcast reservation. - Address Position: The one-based position of the entered address inside the calculated range.
- Network Mask: The prefix written as a full bit mask. IPv4 uses familiar dotted decimal, while IPv6 uses expanded hexadecimal.
- Host or Wildcard Mask: The inverse of the network mask, showing which bits belong to the host portion.
- Broadcast or Last Address: IPv4 shows its broadcast address. IPv6 shows the final address because IPv6 does not use broadcast addressing.
- First and Last Usable Address: Shows the calculated usable boundary according to the IP version and prefix rules.
- Binary Calculation: Displays the address, mask, and result bits so the AND operation can be checked directly.
IPv4 and IPv6 Network Address Differences
IPv4 networks have 32 total bits and commonly use both CIDR and dotted masks. Most traditional IPv4 subnets reserve the first address as the network identifier and the last as the broadcast address. A /31 point-to-point link can use both addresses, while a /32 represents one host route.
IPv6 networks have 128 total bits and use numeric prefixes. IPv6 does not have a broadcast address, so the calculated ending value is simply the last address in the block. A /128 identifies one IPv6 address. Very large IPv6 totals are normal and should not be interpreted as a list that must be assigned.
Frequently Asked Questions
Is the network address the same as my IP address?
Only when the host bits in your IP address are already zero. Otherwise, the network address is an earlier boundary in the same subnet.
Can I assign the IPv4 network address to a device?
Normally no. Traditional IPv4 networks reserve it to identify the subnet. Special host-route and point-to-point cases follow different rules.
Can I enter a dotted subnet mask?
Yes for IPv4. The mask must be contiguous, such as 255.255.255.192. IPv6 requires a numeric prefix.
Why did the calculator change my entered address?
It did not change the host address. It cleared the host bits to show the normalized network boundary that contains it.
Does IPv6 have a network address?
Yes. The network address is the first value in the IPv6 prefix with every host bit set to zero.
Why is the IPv6 usable count so large?
IPv6 has a much larger address space and no broadcast reservation. Capacity describes the mathematical block size, not the number of devices you should deploy.
What happens with an invalid mask?
The calculator rejects out-of-range prefixes, noncontiguous IPv4 masks, and dotted masks used with IPv6. It does not guess a replacement.
Related Calculators
Use the Subnet Calculator for a broader IPv4 subnet report. The CIDR Notation Calculator accepts a combined IPv4 or IPv6 CIDR value and shows adjacent blocks. Use the Subnet Mask Calculator to convert IPv4 prefixes and dotted masks. You can also check public network information with the IP Lookup tool from ipdnslookup.