Subnetcalculator

Subnet Calculator

Free online subnet calculator trusted by 100,000+ network engineers. Calculate IP ranges, CIDR notation, and subnet masks instantly for AWS, Azure, and GCP.

IPv4 Subnet Calculator

Private (RFC 1918)

Paste CIDR notation (e.g. 10.0.0.0/22) to set the mask automatically

Select your cloud provider to account for reserved IP addresses

Results update instantly as you type

Results

Network Map

192.168.0.0
192.168.0.255
Network Address
The starting address of your subnet
Broadcast Address
The final address of your subnet
Usable IP Addresses
254 addresses you can assign to devices

Summary

Your Network
192.168.0.0/24
Subnet Mask
255.255.255.0
Wildcard Mask
0.0.0.255
First Usable IP
192.168.0.1
Last Usable IP
192.168.0.254
Total Usable IPs
254
Next Network
192.168.1.0
Advanced: View Binary Representation

IP addresses are stored as binary numbers (1s and 0s) in computers. This is how your network looks in binary:

IP Address
11000000.10101000.00000000.00000001
Subnet Mask
11111111.11111111.11111111.00000000
Network
11000000.10101000.00000000.00000000
Broadcast
11000000.10101000.00000000.11111111

Advanced Features

🔍 Compare Two Subnets

Compare two subnets to see if they overlap, contain each other, or are completely separate.

Comparison Results

Subnet 1
192.168.1.0/24
Range: 192.168.1.0 - 192.168.1.255
Subnet 2
192.168.2.0/24
Range: 192.168.2.0 - 192.168.2.255
Separate Subnets

The subnets are completely separate - they do not share any IP addresses.

🧮 VLSM Calculator (Variable Length Subnet Masking)

Create multiple subnets of different sizes from a single network. VLSM optimizes IP address utilization by allocating exactly the right subnet size for each requirement.

VLSM Benefits:

  • • Reduces IP address waste by up to 80%
  • • Automatically calculates optimal subnet sizes
  • • Perfect for complex network designs
  • • Supports up to 100 different subnet requirements

Need to Validate IP Addresses?

Before configuring your subnets, ensure your IP addresses are properly formatted with our comprehensive IP validator. Supports both IPv4 and IPv6 with detailed analysis and error detection.

Validate IP Addresses

How to Use Our Subnet Calculator

1

Enter an IP Address

Type any IPv4 address like 192.168.1.0 into the subnet calculator.

2

Select Subnet Mask

Choose CIDR notation (/24) or decimal (255.255.255.0).

3

Get Results

Instantly see network address, broadcast, usable range, and host count.

Our subnet calculator is built for network engineers who need accurate results fast. It handles CIDR notation, subnet masks, network and broadcast addresses, usable IP ranges, and host counts — with special support for cloud providers like AWS, Azure, and GCP that reserve additional IPs per subnet.

Whether you're planning a new VPC, studying for the CCNA, or troubleshooting a production network, this subnet calculator gives you everything you need. All calculations run in your browser — your network data stays private.

Frequently Asked Questions

What is a subnet calculator?

A subnet calculator computes IP address ranges, CIDR notation, subnet masks, and network boundaries from an IP address and prefix length. It's essential for network planning, security segmentation, and cloud infrastructure design.

Does this subnet calculator work for AWS VPC planning?

Yes. Our subnet calculator accounts for the 5 reserved IPs per subnet in AWS VPCs (network, router, DNS, future use, broadcast), giving you accurate usable host counts for cloud deployments.

Is this subnet calculator free?

Completely free, no registration required. All 11 networking tools are available at no cost with unlimited usage.

What's the difference between CIDR notation and subnet masks?

They represent the same thing differently. CIDR notation like /24 means 24 network bits. The equivalent subnet mask is 255.255.255.0 (24 ones followed by 8 zeros in binary). Our subnet calculator converts between both formats.