developer
Client-Side Only
Free Forever

IPv4 Subnet Mask & CIDR Block Calculator

Compute network address, broadcast address, usable IP host ranges, binary notation, and wildcard mask from any IPv4 address and CIDR prefix.

🌐 IPv4 Subnet Mask & CIDR Block Calculator

Calculate network address, broadcast address, usable IP range, host capacity, and wildcard mask from any IPv4 address and CIDR prefix.

Usable Host IPs

254

256 total addresses

Network Address

192.168.1.0

CIDR: 192.168.1.0/24

Broadcast Address

192.168.1.255

Subnet: 255.255.255.0

IP Type & Class

Class C

Private (RFC 1918)

Subnet Breakdown Details

Usable Host IP Range:192.168.1.1  —  192.168.1.254
Subnet Mask:255.255.255.0
Wildcard (Inverse) Mask:0.0.0.255
Binary IP Representation:11000000.10101000.00000001.00110010
Binary Subnet Mask:11111111.11111111.11111111.00000000

Advertisement

Share this tool:

How to use the CIDR & IPv4 Subnet Mask Calculator

Enter an IPv4 address and select your CIDR prefix (/0 to /32). The calculator breaks down the network address, broadcast address, total host capacity, and binary representation.

?Frequently Asked Questions

What is the IPv4 Subnet Mask & CIDR Block Calculator?

The CIDR & IPv4 Subnet Calculator calculates complete subnet allocation details from any IPv4 address and prefix length (/0 to /32), including network ID, broadcast address, first and last usable host IPs, usable host count, wildcard mask, and binary representation.

Who is the IPv4 Subnet Mask & CIDR Block Calculator for?

Designed for network engineers, DevOps specialists, system administrators, and cloud architects configuring VPC subnets in AWS, GCP, and Azure.

How to Use the IPv4 Subnet Mask & CIDR Block Calculator

  1. Enter your target IPv4 address (e.g., 192.168.1.1 or 10.0.0.0).
  2. Select your CIDR prefix length or subnet mask from the dropdown.
  3. Review the calculated network address, broadcast address, and usable host count.
  4. Inspect the binary bitwise representation of IP and subnet mask.

Worked Calculation Example

Subnetting 192.168.1.50 with a /24 prefix yields network address 192.168.1.0, broadcast address 192.168.1.255, and 254 usable host addresses (192.168.1.1 – 192.168.1.254).

Frequently Asked Questions

What is the difference between /24 and /16 subnets?

A /24 subnet provides 256 total IP addresses (254 usable hosts), whereas a /16 subnet provides 65,536 total IP addresses (65,534 usable hosts).

What is a wildcard mask?

A wildcard mask is the bitwise inverse of a subnet mask (e.g., 255.255.255.0 becomes 0.0.0.255), commonly used in Cisco router Access Control Lists (ACLs).

Explore Related Utilities & Guides