User Rating 0.0
Total Usage 0 times
/0/8/16/24/32
Network Address
-
Broadcast Address
-
First Usable Host
-
Last Usable Host
-
Usable Hosts
-
Wildcard Mask
-
Subnet Mask
-
IP Range
-
Binary Visualization
Possible Subnets (Next Level)
Network Range Broadcast

Enter a list of IP addresses (one per line) to find the smallest summarization route (Supernet) that covers them all.

Is this tool helpful?

Your feedback helps us improve.

About

Subnetting is the practice of dividing a single physical network into multiple smaller logical sub-networks (subnets). This tool provides absolute precision in calculating network parameters, essential for configuring routers, firewalls, and managing IP address allocations efficiently. Unlike basic calculators, this engine handles bitwise operations across the full 32-bit IPv4 space, ensuring accuracy even in edge cases like /31 point-to-point links or /32 host routes.

Proper IP planning prevents address conflicts, optimizes routing table size through summarization (Supernetting), and ensures security boundaries are mathematically enforced. Whether you are designing a Datacenter Leaf-Spine topology or studying for CCNA/CCIE, understanding the binary interaction between the IP Address and the Subnet Mask is non-negotiable.

subnet cidr ipv4 network supernet vlsm ip-calculator

Formulas

Network calculations rely on bitwise operations between the 32-bit integer representation of the IP address (I) and the Subnet Mask (M).

Network Address:
N = I M (Bitwise AND)

Broadcast Address:
B = N ¬M (Network OR Wildcard)

Number of Hosts:
H = 232 CIDR 2 (Subtract Network & Broadcast ID)

Note: For /31 and /32 networks, the 2 rule does not strictly apply in modern routing contexts (RFC 3021).

Reference Data

CIDRSubnet MaskWildcard MaskTotal IPsUsable Hosts
/32255.255.255.2550.0.0.011
/31255.255.255.2540.0.0.122 (P2P)
/30255.255.255.2520.0.0.342
/29255.255.255.2480.0.0.786
/28255.255.255.2400.0.0.151614
/27255.255.255.2240.0.0.313230
/26255.255.255.1920.0.0.636462
/25255.255.255.1280.0.0.127128126
/24255.255.255.00.0.0.255256254
/23255.255.254.00.0.1.255512510
/22255.255.252.00.0.3.2551,0241,022
/21255.255.248.00.0.7.2552,0482,046
/20255.255.240.00.0.15.2554,0964,094
/16255.255.0.00.0.255.25565,53665,534
/8255.0.0.00.255.255.25516,777,21616,777,214

Frequently Asked Questions

Traditionally, subnets require a Network ID and Broadcast ID, consuming 2 addresses. However, RFC 3021 enables using /31 subnets for Point-to-Point links, allowing both addresses to be used for hosts, preserving public IP space.
They represent the same data. Subnet Mask is the dot-decimal notation (e.g., 255.255.255.0), while CIDR (Classless Inter-Domain Routing) is the slash notation (e.g., /24) indicating the number of "on" bits in the mask.
Convert all IPs to binary. Align them vertically. Find the longest common sequence of bits from the left. Count these matching bits to get the new CIDR mask. The tool's "Supernet" tab performs this automatically.
Class A: 10.0.0.0/8. Class B: 172.16.0.0/12. Class C: 192.168.0.0/16. These addresses are not routable on the public internet.