-->

How to Calculate an IP Range (Network, Broadcast and Host Addresses)

How to Calculate an IP Range (Network, Broadcast and Host Addresses)

Every IPv4 address belongs to a network, and that network has a fixed range of addresses. Knowing that range helps you plan subnets, set up firewall rules, and troubleshoot connectivity. The IP Range Calculator below does the math in one click.

What the numbers mean

An address like 192.168.1.10/24 has two parts. The /24 (CIDR) says that the first 24 bits identify the network, and the remaining 8 bits identify hosts inside it. The same idea can be written as a subnet mask: 255.255.255.0.

For 192.168.1.10/24:
  • Network address: 192.168.1.0 (all host bits set to 0)
  • Broadcast address: 192.168.1.255 (all host bits set to 1)
  • Usable hosts: 192.168.1.1 to 192.168.1.254, which is 254 addresses

The formula is simple: a network with n host bits has 2ⁿ addresses, and 2ⁿ − 2 of them are usable, because the first and last are reserved. The exceptions are /31 (2 usable addresses) and /32 (a single host).

How to use the calculator

  1. Type an address with CIDR (10.0.5.77/16) or with a mask (10.0.5.77 255.255.0.0).
  2. Press Calculate.
  3. Read the network, broadcast, host range, wildcard mask, and the binary view, where network bits are highlighted so you can see exactly where the boundary sits.

The tool also tells you whether the address is private, public, loopback, or multicast, and shows its class.
If you are splitting a network, add one bit to the CIDR to halve it. A /24 becomes two /25 networks with 126 usable hosts each.

IP Range Calculator

Calculate the network, broadcast address and host range of an IPv4 address from CIDR notation or a subnet mask.

Examples: 192.168.1.10/24 · 10.0.5.77 255.255.0.0

0 Response to "How to Calculate an IP Range (Network, Broadcast and Host Addresses)"

Post a Comment

Note: Only a member of this blog may post a comment.

Featured Post From Newbie Advisor

Epson L120 Red Light Blinking: Causes and How to Fix It

Epson L120 Red Light Blinking: Causes and How to Fix It The Epson L120 is an inkjet printer that many people use at home, at school, a...

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel