Networking Fundamentals

Free Subnet Calculator — IP Subnetting Tool Online

G Gurpreet Singh July 28, 2026 2 min read
Free Subnet Calculator — IP Subnetting Tool Online

Subnet Calculator

Enter an IP address and CIDR prefix length below to instantly calculate all subnet details — subnet mask, network address, broadcast address, usable host range, and total hosts.



/ 24


Common Subnet Reference Table

Quick reference for the most commonly used CIDR prefixes in networking:

CIDRSubnet MaskUsable HostsCommon Use
/8255.0.0.016,777,214Large ISP, Class A networks
/16255.255.0.065,534Large enterprise networks
/24255.255.255.0254Most common — home & office LAN
/25255.255.255.128126Medium-sized LAN segment
/26255.255.255.19262Small office segment
/27255.255.255.22430Small department/VLAN
/28255.255.255.24014Small branch office
/29255.255.255.2486Point-to-point WAN link
/30255.255.255.2522Router-to-router link
/31255.255.255.2542Point-to-point (RFC 3021)
/32255.255.255.2551Host route / loopback

How to Use This Subnet Calculator

Using our free subnet calculator is simple. Enter your IP address in the first field (e.g., 192.168.1.0), then set your CIDR prefix length using the input field or slider (e.g., /24), and click Calculate. The tool instantly shows you all subnet details.

What is Subnetting?

Subnetting is the process of dividing a large IP network into smaller, more manageable sub-networks (subnets). It improves network performance, enhances security by isolating network segments, and makes IP address management more efficient. Every network engineer needs to understand subnetting — it is a core skill tested in the CCNA, Network+, and other networking certifications.

Understanding CIDR Notation

CIDR (Classless Inter-Domain Routing) notation represents an IP address and its associated network prefix. For example, 192.168.1.0/24 means the first 24 bits are the network portion, leaving 8 bits for host addresses — giving you 254 usable hosts. The higher the CIDR number, the smaller the subnet.

Key Subnet Terms Explained

  • Network Address: The first address in a subnet — identifies the subnet itself. Cannot be assigned to a host.
  • Subnet Mask: A 32-bit number that separates the network and host portions of an IP address.
  • Broadcast Address: The last address in a subnet — used to send data to all hosts. Cannot be assigned to a host.
  • Usable Hosts: Total addresses minus 2 (network + broadcast). These are the addresses you can assign to devices.
  • Wildcard Mask: The inverse of the subnet mask — commonly used in Cisco ACLs and OSPF configuration.

Frequently Asked Questions

What is a /24 subnet?

A /24 subnet has a subnet mask of 255.255.255.0 and provides 254 usable host addresses. It is the most common subnet used in home and small office networks.

How many hosts can a /24 subnet support?

A /24 subnet supports 254 usable host addresses (256 total addresses minus network and broadcast addresses).

What is the difference between a subnet mask and a wildcard mask?

A subnet mask uses 1s to represent the network portion and 0s for the host portion. A wildcard mask is the exact inverse — 0s for the network portion and 1s for the host portion. Wildcard masks are used in Cisco router ACLs and OSPF area definitions.

Can I subnet a /32 address?

No. A /32 is a host route — it represents a single IP address with no subnet. It is used for loopback addresses and specific host routes in routing tables.

GU
Written by

Gurpreet Singh

Hey! I"m Gurpreet Singh and I Have 7+ Years of experience in the Network & Security Domain as well as the Cloud Infra Domain. I am Certified with Cisco ( CCNA ), CheckPoint ( CCSA ), 1xAWS, 3xAZURE, and 3xNSE. So I love to share my tech knowledge with you.

Leave a Reply

Your email address will not be published. Required fields are marked *