Binarios.org

Home › Networking Tools › Wildcard Mask Calculator

IPv4 Wildcard Mask Calculator

Calculate an IPv4 wildcard mask from a subnet mask or CIDR prefix. View the network and broadcast addresses, binary representations, and sample Cisco ACL and OSPF configuration statements.

Calculate a Wildcard Mask

Enter an IPv4 address and either a CIDR prefix (/24) or a dotted subnet mask (255.255.255.0).

Example: 192.168.1.70

Examples: /24, 24, 255.255.255.0

Reset Diagnostics Run self-tests

Common Wildcard Mask Examples

CIDR Subnet mask Wildcard mask Total addresses
/8255.0.0.00.255.255.25516,777,216
/16255.255.0.00.0.255.25565,536
/24255.255.255.00.0.0.255256
/25255.255.255.1280.0.0.127128
/26255.255.255.1920.0.0.6364
/27255.255.255.2240.0.0.3132
/30255.255.255.2520.0.0.34
/32255.255.255.2550.0.0.01

Frequently Asked Questions

What is a wildcard mask?

A wildcard mask identifies which IPv4 address bits a networking configuration should match. It is commonly used in Cisco ACLs and routing protocol network statements.

What is the wildcard mask for /24?

The wildcard mask is 0.0.0.255, corresponding to subnet mask 255.255.255.0.

Can I enter a dotted subnet mask?

Yes. Enter a mask such as 255.255.255.192 or a CIDR prefix such as /26.

Why are there 256 addresses in a /24?

An IPv4 /24 leaves eight host bits. There are 28 = 256 total addresses in that block.

Related Networking and Binary Tools