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.
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
Advertisement
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
- Enter your target IPv4 address (e.g., 192.168.1.1 or 10.0.0.0).
- Select your CIDR prefix length or subnet mask from the dropdown.
- Review the calculated network address, broadcast address, and usable host count.
- Inspect the binary bitwise representation of IP and subnet mask.
Worked Example
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).
What is CIDR notation?
Classless Inter-Domain Routing (CIDR) represents an IP address and its associated routing prefix using a slash followed by the prefix bit length (e.g., 192.168.1.0/24).
Why are 2 addresses deducted from usable hosts?
In standard IPv4 subnets, the first address is reserved as the Network Address and the last address is reserved as the Broadcast Address.
Related Developer Tools
Related Tools
All Developer ToolsUnix Timestamp Converter
Convert Unix epoch timestamps to human-readable dates and vice versa.
Base64 Encoder / Decoder
Encode or decode strings to Base64 safely and quickly.
JSON to TypeScript Generator
Convert JSON objects and API responses into clean, strongly typed TypeScript interfaces or type definitions.