CIDR Calculator
Convert CIDR notation to subnet masks, IP ranges, host counts, wildcard masks, and binary representations.
Parameters
Summary Output
Schedule Breakdown
How to Use
Enter any base IP address and select a CIDR prefix length from the dropdown. The calculator converts the CIDR block into its full IP range, subnet mask, wildcard mask, host count, and binary mask representation.
Example Calculation
For 192.168.1.0/24: Range = 192.168.1.0 − 192.168.1.255, Subnet Mask = 255.255.255.0, Total = 256, Usable = 254, Wildcard = 0.0.0.255, Binary = 11111111.11111111.11111111.00000000.
Formula
Subnet Mask = 0xFFFFFFFF << (32 − prefix)\nTotal Addresses = 2^(32 − prefix)\nUsable Hosts = Total Addresses − 2 (for prefix ≤ 30)\nWildcard Mask = NOT Subnet Mask\n\nBinary Mask = each octet of mask converted to 8-bit binary representation
Frequently Asked Questions
Common questions and answers about the CIDR Calculator.
