Quick answer: An IP subnet calculator takes an IPv4 address and CIDR prefix and returns the network address, subnet mask, host range, broadcast address, and usable host count. For example, 192.168.1.0/24 gives mask 255.255.255.0, hosts 192.168.1.1–192.168.1.254, broadcast 192.168.1.255, and 254 usable hosts.
Internet πŸ‡ΊπŸ‡Έ USA πŸ‡¬πŸ‡§ UK IPv4 CIDR Live Results

IP Subnet Calculator

Enter an IPv4 address and CIDR prefix to get the full subnet breakdown instantly.

Calculate

IP Subnet Calculator

Live 2026
Enter any IPv4 address and CIDR prefix length. Results update as you type.
Dotted decimal notation, e.g. 10.0.0.0 or 172.16.0.0
/24 = 255.255.255.0, /16 = 255.255.0.0, /8 = 255.0.0.0

Your Results

Ready
NETWORK ADDRESS
β€”
Enter your IP and prefix above
Subnet Breakdown
Network vs Host Bits
Full Subnet Details

IP Subnet Calculator Guide 2026

Guide

⚠️ Disclaimer

Important

This tool provides subnet calculations for informational and educational purposes only. Always verify network configurations with a qualified network engineer before deployment in production environments.

@
FreeUSUKCalculator.com freeusukcalculator.com
IP Subnet Calculator β€” Results Report
Inputs Used
Key Result
Network Address
β€”
Full Breakdown
ItemValue
Network Address
β€”

Embed this IP Subnet Calculator

IP Subnet Calculator – Complete Guide to IPv4 Subnetting, CIDR Notation, and Network Planning

Subnetting is the process of dividing a larger IP network into smaller, more manageable sub-networks (subnets). This IP subnet calculator takes any IPv4 address and CIDR prefix length and instantly tells you the network address, subnet mask, wildcard mask, broadcast address, first and last usable host addresses, and the total number of hosts. Whether you are studying for CompTIA Network+, CCNA, or simply setting up a home or business network, this tool handles the binary arithmetic for you.

What Is CIDR Notation?

CIDR (Classless Inter-Domain Routing) notation writes an IP address followed by a slash and the prefix length β€” for example, 192.168.1.0/24. The number after the slash tells you how many bits are used for the network portion of the address. The remaining bits are available for host addresses.

  • /8 β€” 255.0.0.0 mask, 16,777,214 usable hosts (Class A range)
  • /16 β€” 255.255.0.0 mask, 65,534 usable hosts (Class B range)
  • /24 β€” 255.255.255.0 mask, 254 usable hosts (Class C range)
  • /30 β€” 255.255.255.252 mask, 2 usable hosts (point-to-point links)

Key Subnet Terms Explained

  • Network Address β€” the first address in the subnet; identifies the subnet itself and cannot be assigned to a host.
  • Subnet Mask β€” a 32-bit number that masks the IP address to separate network from host bits.
  • Wildcard Mask β€” the inverse of the subnet mask (255.255.255.255 minus the mask). Used in Cisco ACLs and OSPF configuration.
  • Broadcast Address β€” the last address in the subnet; packets sent to this address are delivered to all hosts in the subnet. Cannot be assigned to a host.
  • Usable Hosts β€” total addresses minus 2 (network and broadcast). A /24 has 256 βˆ’ 2 = 254 usable addresses.

How to Calculate a Subnet Manually

For a /24 network with IP 192.168.10.50:

  1. Network address: 192.168.10.0 (set host bits to 0)
  2. Broadcast: 192.168.10.255 (set host bits to 1)
  3. First usable: 192.168.10.1
  4. Last usable: 192.168.10.254
  5. Usable hosts: 2^8 βˆ’ 2 = 254

Private vs Public IP Ranges

  • 10.0.0.0/8 β€” Class A private (large organisations)
  • 172.16.0.0/12 β€” Class B private (medium networks)
  • 192.168.0.0/16 β€” Class C private (home and small office)
  • 169.254.0.0/16 β€” Link-local (APIPA, assigned when DHCP fails)
  • 127.0.0.0/8 β€” Loopback (localhost)

Frequently Asked Questions

How many subnets can I create from a /24?

From a /24, you can borrow bits from the host portion. Borrowing 1 bit gives /25 (2 subnets Γ— 126 hosts). Borrowing 2 bits gives /26 (4 subnets Γ— 62 hosts). Each additional bit doubles the subnets and halves the hosts.

What is the difference between subnet mask and wildcard mask?

The subnet mask identifies network bits with 1s and host bits with 0s. The wildcard mask is the inverse β€” it identifies host bits with 1s. For /24: mask = 255.255.255.0, wildcard = 0.0.0.255.

Why are 2 addresses reserved in every subnet?

The first address is the network address (identifies the subnet). The last address is the broadcast address (reaches all hosts). Both are reserved and cannot be assigned to devices.