IP Subnet Calculator

Calculate network addresses, broadcast addresses, subnet masks, and more with our advanced subnetting tool

IP Address Information

Enter a valid IPv4 address (0.0.0.0 to 255.255.255.255)
/24 (255.255.255.0)

Advanced Options

Subnet Calculation Results

๐ŸŒ
Network Address
--
๐Ÿ“ก
Broadcast Address
--
๐Ÿ”’
Subnet Mask
--
๐Ÿ”ข
CIDR Notation
--
๐Ÿ 
First Usable IP
--
๐Ÿšช
Last Usable IP
--
๐Ÿงฎ
Total Hosts
--
๐Ÿ“Š
Usable Hosts
--

Binary Representation

IP Address:
00000000.00000000.00000000.00000000
Subnet Mask:
00000000.00000000.00000000.00000000
Network Address:
00000000.00000000.00000000.00000000

Subnet Allocation

Subnet Network Address First Host Last Host Broadcast Hosts
Enter IP and subnet mask to calculate subnet allocation

๐Ÿ“‹ Subnetting Cheat Sheet

CIDR Subnet Mask # of Subnets # of Hosts Class A Hosts Class B Hosts Class C Hosts
/24 255.255.255.0 1 254 16,777,214 65,534 254
/25 255.255.255.128 2 126 8,388,606 32,766 126
/26 255.255.255.192 4 62 4,194,302 16,382 62
/27 255.255.255.224 8 30 2,097,150 8,190 30
/28 255.255.255.240 16 14 1,048,574 4,094 14
/29 255.255.255.248 32 6 524,286 2,046 6
/30 255.255.255.252 64 2 262,142 1,022 2

Note: This table shows common subnet masks and their characteristics. Host counts exclude network and broadcast addresses.

๐Ÿ“š IP Subnetting Tips

๐Ÿ”

Understand Binary

Subnetting is based on binary math. Understanding how to convert between decimal and binary is crucial.

๐ŸŽฏ

Start with Requirements

Determine how many subnets and hosts per subnet you need before choosing your subnet mask.

๐Ÿงฎ

Use the Magic Number

256 - subnet mask value = block size (e.g., 256-192=64). This helps determine subnet boundaries.

๐Ÿ“ˆ

Plan for Growth

Always allocate more addresses than currently needed to accommodate future network expansion.

๐Ÿ”„

Practice Regularly

Subnetting is a skill that improves with practice. Work through examples regularly.

๐Ÿ”ข

Memorize Key Values

Know common subnet masks (/24, /25, /26, etc.) and their host counts to speed up calculations.

Dark Mode

Note: This calculator provides subnet information based on standard IPv4 subnetting rules. For complex network designs or IPv6 calculations, consult with a network professional.