IP Subnet Calculator

Calculate network address, broadcast address, usable host IP range, and total host capacity from CIDR prefix.

Input Parameters

Adjust sliders or type values
Calculated Results
Network ID Address
192.168.1.0
Broadcast Address
192.168.1.255
Total Usable Host Addresses (2^(32-prefix) - 2)
254.00 Hosts
Usable Host IP Range
192.168.1.1 – 192.168.1.254

Calculation Formula

Network ID = IP AND Subnet Mask; Broadcast = Network ID OR (NOT Subnet Mask); Usable Hosts = 2^(32 - Prefix) - 2

This formula executes in real time on this page, updating both the numeric breakdown and animated chart as you adjust parameters.

Step-by-Step Breakdown

Standard Scenario:
192.168.1.100/24 gives Network: 192.168.1.0, Broadcast: 192.168.1.255, Usable range: 192.168.1.1 to 192.168.1.254 (254 usable hosts).
  1. 1 Network Address: 192.168.1.0/24
  2. 2 Broadcast Address: 192.168.1.255
  3. 3 Usable Host IPs: 254 (192.168.1.1 – 192.168.1.254)

Frequently Asked Questions

The IP Subnet Calculator takes IPv4 Address, CIDR Subnet Mask (/xx) and calculates Network ID Address, Broadcast Address, Total Usable Host Addresses (2^(32-prefix) - 2), Usable Host IP Range in real time. Calculate network address, broadcast address, usable host IP range, and total host capacity from CIDR prefix.
It evaluates the Programming and Computer Science formula: Network ID = IP AND Subnet Mask; Broadcast = Network ID OR (NOT Subnet Mask); Usable Hosts = 2^(32 - Prefix) - 2. Changing IPv4 Address or any other parameter immediately updates Network ID Address and the chart.
For example: 192.168.1.100/24 gives Network: 192.168.1.0, Broadcast: 192.168.1.255, Usable range: 192.168.1.1 to 192.168.1.254 (254 usable hosts).. The calculator loads ready to run with defaults (IPv4 Address = 192.168.1.100, CIDR Subnet Mask (/xx) = 24) so you can test right away.
After checking Network ID Address, Broadcast Address, Total Usable Host Addresses (2^(32-prefix) - 2), Usable Host IP Range in the IP Subnet Calculator, many users also open CIDR Calculator, IPv4 to Binary Converter, Bandwidth Calculator in Programming and Computer Science to cross-check related numbers.
Disclaimer
This calculator is provided for educational and estimation purposes. It should not be used as official financial, medical, tax, or legal advice.