💰 Financial Calculators ❤️ Health & Fitness Calculators 📐 Math Calculators 🔄 Conversion Calculators 📊 Business Calculators 🏗️ Construction Calculators 📅 Date & Time Calculators 🎓 Education Calculators 🚗 Automotive Calculators 🧮 Everyday Calculators

IP Subnet Calculator Online

Enter any IPv4 address and CIDR prefix to instantly calculate network address, broadcast address, first and last host, usable hosts, subnet mask, and wildcard mask. Includes subnet division, binary view, VLSM, and supernetting tools.

Quick Calculator Get a fast estimate
/
Network: 192.168.1.0/24
192.168.1.0/24
Network Address
192.168.1.0
Broadcast Address
192.168.1.255
First Usable Host
192.168.1.1
Last Usable Host
192.168.1.254
Usable Hosts
254
Subnet Mask
255.255.255.0
Wildcard Mask
0.0.0.255
IP Class
Class C
Private Range
Yes (RFC 1918)
IP: 11000000.10101000.00000001.00000000
Mask: 11111111.11111111.11111111.00000000

How to Use the Subnet Calculator

Enter an IPv4 address in dotted decimal notation (e.g., 192.168.1.0) and a CIDR prefix (e.g., /24). The calculator immediately shows all subnet details: network address, broadcast address, first/last usable hosts, subnet mask, and wildcard mask.

The Extended Calculator lets you split a network into equal subnets and view binary representations. The Professional Calculator handles VLSM (variable-length subnet masking), supernetting/CIDR aggregation, and basic IPv6 information.

Need more detail?
📊 Extended Calculator More options, charts, and scenario comparison

Divide Network into Equal Subnets

#NetworkFirst HostLast HostBroadcast
1192.168.1.0/26192.168.1.1192.168.1.62192.168.1.63
2192.168.1.64/26192.168.1.65192.168.1.126192.168.1.127
3192.168.1.128/26192.168.1.129192.168.1.190192.168.1.191
4192.168.1.192/26192.168.1.193192.168.1.254192.168.1.255

Understanding IP Subnet Masks

A subnet mask is a 32-bit number that separates the network portion of an IP address from the host portion. Written in dotted decimal (e.g., 255.255.255.0) or CIDR notation (/24), it determines which addresses belong to the same subnet.

CIDRSubnet MaskHostsTypical Use
/8255.0.0.016,777,214Class A — very large networks
/16255.255.0.065,534Class B — large enterprises
/24255.255.255.0254Standard office LAN
/26255.255.255.19262Department segment
/28255.255.255.24014Small team
/30255.255.255.2522Point-to-point WAN link

Private IP Address Ranges (RFC 1918)

RangeCIDRAddressesClass
10.0.0.0 – 10.255.255.25510.0.0.0/816,777,216A
172.16.0.0 – 172.31.255.255172.16.0.0/121,048,576B
192.168.0.0 – 192.168.255.255192.168.0.0/1665,536C

These addresses are not routable on the public internet. All home routers and corporate LANs use these ranges. The 192.168.x.x range is the most commonly seen in home networks.

Need full precision?
🔬 Professional Calculator Complete parameters, sensitivity analysis, and detailed breakdown

Variable Length Subnet Masking (VLSM)

Allocates subnets efficiently from largest to smallest requirement.

Department / NetworkHosts Needed

VLSM Allocation

NameSubnetCIDRUsable HostsWaste
Sales Dept192.168.1.0/26/266212
Engineering192.168.1.64/27/27300
Management192.168.1.96/28/28144
DMZ192.168.1.112/29/2961

Frequently Asked Questions

A subnet (subnetwork) is a logical subdivision of an IP network. Subnetting improves security, performance, and management by dividing a large network into smaller segments with controlled communication between them.
CIDR notation like /24 indicates 24 bits used for the network prefix, leaving 8 bits for hosts = 256 addresses (254 usable). /16 gives 65,536 addresses; /30 gives 2 usable addresses for point-to-point links.
RFC 1918 private ranges: 10.0.0.0/8 (16.7M addresses), 172.16.0.0/12 (1M addresses), 192.168.0.0/16 (65,536 addresses). These are not internet-routable and are used in all LANs worldwide.
Usable hosts = 2^(32-prefix) - 2. /24 = 254 hosts; /25 = 126; /26 = 62; /27 = 30; /28 = 14; /29 = 6; /30 = 2. The -2 accounts for the network and broadcast addresses.
VLSM allows subnets within the same network to have different prefix lengths, minimising IP address waste. A large department subnet uses /25 (126 hosts) while a server-to-server link uses /30 (2 hosts), using only what's needed.

Related Calculators