IP Subnet Calculator

Self-Contained IP Subnet Calculator

Completely isolated from your site’s global CSS – won’t affect your layout

Dark Mode
IPv4 Calculator
IPv6 Calculator

IPv4 Subnet Information

Network Address

192.168.1.0

Broadcast Address

192.168.1.255

Usable Host Range

192.168.1.1 – 192.168.1.254

Total Hosts

254

CIDR Notation

192.168.1.0/24

IP Class

Class C

Subnet Mask

255.255.255.0

Wildcard Mask

0.0.0.255

IPv6 Subnet Information

Network Address

2001:db8:85a3::

First Usable Address

2001:db8:85a3::1

Last Usable Address

2001:db8:85a3:0:ffff:ffff:ffff:fffe

Total IP Addresses

18,446,744,073,709,551,616

Prefix Length

/64

Expanded Address

2001:0db8:85a3:0000:0000:8a2e:0370:7334

Compressed Address

2001:db8:85a3::8a2e:370:7334

Subnet Mask

ffff:ffff:ffff:ffff::

Subnetting Reference

What is Subnetting?

Subnetting is the process of dividing a large network into smaller, more manageable sub-networks (subnets). This improves network performance, security, and organization by reducing broadcast domains and improving IP allocation efficiency.

IPv4 vs IPv6

  • IPv4: 32-bit address space (4.3 billion addresses), uses subnet masks
  • IPv6: 128-bit address space (340 undecillion addresses), uses prefix lengths
  • IPv6 eliminates the need for NAT and provides built-in security
  • IPv6 has simplified address assignment and auto-configuration

Common IPv4 Subnet Masks

CIDR Subnet Mask Hosts Use Case
/24 255.255.255.0 254 Small networks
/25 255.255.255.128 126 Medium networks
/26 255.255.255.192 62 Department networks
/27 255.255.255.224 30 Small offices
/28 255.255.255.240 14 Server clusters
/30 255.255.255.252 2 Point-to-point links

Advanced Subnetting Techniques

  • VLSM (Variable Length Subnet Masking): Allows different subnet masks in the same network for efficient address allocation
  • CIDR (Classless Inter-Domain Routing): Aggregates multiple IP networks into a single routing entry to reduce routing table sizes
  • Supernetting: Combining multiple contiguous networks into a larger network
  • IPv6 Prefix Delegation: Automatically assigns network prefixes to customer sites
  • Hierarchical Addressing: Creates multiple levels of subnet hierarchy for large organizations
Error: Please enter a valid IP address