IPv4 CIDR Subnetting

Partition IPv4 blocks with a 32-bit network and host bitmask diagram. Built for Networking & Subnetting, this workbench updates the 32-bit cidr bitmask and scalar readouts in real time as parameters change.

Technical Reference & Equations

  • IPv4 Usable Hosts per CIDR Prefix: N_{\text{hosts}} = 2^{32 - p} - 2 \quad (p \le 30) (Subtracts the all-zeros network ID and all-ones broadcast address.)
  • Bandwidth-Delay Product (BDP): \mathrm{BDP} = \text{Bandwidth} \times \mathrm{RTT} (Minimum TCP receive window needed to keep a high-latency link fully saturated.)
  • Total Packet Transfer Latency: T_{\text{total}} = \frac{\text{Data Size}}{\text{Effective Throughput}} + \text{Propagation Delay} (Account for bits vs bytes (1 Byte = 8 bits) and header framing overhead.)

View full Networking & Subnetting Formula Sheet | Constants Table

Related Networking Calculators