Skip to main content

How to Calculate IP Subnet

What is IP Subnet?

An IP subnet calculator determines network address, broadcast address, usable host range, and total hosts from an IP address and CIDR notation (e.g. 192.168.1.0/24).

Formula

CIDR /n = first n bits are network, rest are host bits
n
first n bits are network — first n bits are network

Step-by-Step Guide

  1. 1CIDR /n = first n bits are network, rest are host bits
  2. 2/24 = 256 total addresses (254 usable)
  3. 3Subnet mask: /24 = 255.255.255.0
  4. 4Usable hosts = 2^(32−n) − 2

Worked Examples

Input
192.168.1.100/24
Result
Network: 192.168.1.0; Broadcast: 192.168.1.255; Usable: .1–.254 (254 hosts)

Frequently Asked Questions

What is Ip Subnet?

An IP subnet calculator determines network address, broadcast address, usable host range, and total hosts from an IP address and CIDR notation (e. g

How accurate is the Ip Subnet calculator?

The calculator uses the standard published formula for ip subnet. Results are accurate to the precision of the inputs you provide. For financial, medical, or legal decisions, always verify with a qualified professional.

What units does the Ip Subnet calculator use?

This calculator works with inches. You can enter values in the units shown — the calculator handles all conversions internally.

What formula does the Ip Subnet calculator use?

The core formula is: CIDR /n = first n bits are network, rest are host bits. Each step in the calculation is shown so you can verify the result manually.

Ready to calculate? Try the free IP Subnet Calculator

Try it yourself →

Settings

PrivacyTermsAbout© 2026 PrimeCalcPro