🌐
Calculate

IPv4 Subnet Calculator

Enter an IPv4 address and CIDR prefix to calculate network, broadcast, mask, usable host range and total addresses.

✓ Method reviewed · 2026-08-22
CALCULATORWhat are the network, broadcast and host range for an IPv4/CIDR?

Results are for information and preliminary estimation. For critical technical work, manufacturer data, local codes and qualified professional review take precedence.

CALCULATION ENGINEIPV4-SUBNET · R1.5.1Engine and route QA: PASS · Method and limits visible
Trust & methodology →
1Enter real inputs
2Press Calculate
3Read result with assumptions
Method & assumptions

How is it calculated?

The address is converted to 32 bits and the CIDR mask is applied. Network = IP AND mask; broadcast = network OR inverse mask. /31 and /32 are special cases.

Example

Example: 192.168.10.25/24 maps to network 192.168.10.0 and broadcast 192.168.10.255.

What questions does this tool answer?

  • What are the network, broadcast and host range for an IPv4/CIDR?
  • How is IPv4 Subnet calculated?
  • What inputs are needed for IPv4 Subnet?
WHAT CHANGES THE RESULT

Check these before using the estimate

Computer and network tools provide practical capacity planning. Vendor limits, protocol overhead, codecs and real connection quality can move results away from theoretical values.

  • Difference between vendor peak values and real average load
  • Protocol, codec, compression and network overhead
  • Hardware compatibility and transient power/performance spikes
  • Temperature and connection quality that affect real-world efficiency
FAQ

Frequently asked questions

Why is /31 different?+

Point-to-point links can use both /31 addresses.

Does this support IPv6?+

This release focuses on IPv4/CIDR only.