Binary-Tech Institute
HomeAll Courses
About UsContact Us
Start Learning
Start Learning
All free toolsFree tool

Wildcard Mask Calculator

Convert a subnet mask to its wildcard mask instantly, or go the other way. Free tool for Cisco ACLs, OSPF network statements, and CCNA practice.

Runs in your browser — your data never leaves your device
Subnet mask
255.255.255.0
Wildcard mask
0.0.0.255
CIDR
/24
ACL exampleaccess-list 10 permit 192.168.10.0 0.0.0.255
OSPF examplenetwork 192.168.10.0 0.0.0.255 area 0

Wildcard masks trip up a lot of people learning Cisco IOS, mainly because they're the inverse of a subnet mask and it's easy to mix the two up under exam pressure. This tool converts between the two instantly, so you can build access control lists and OSPF network statements without doing the bit-flipping in your head.

How to use the wildcard mask calculator

  1. Enter a subnet mask, for example 255.255.255.192, or a CIDR prefix like /26.
  2. The tool inverts each octet and returns the wildcard mask, in this case 0.0.0.63.
  3. You can also enter a wildcard mask to convert back to a standard subnet mask.

Where wildcard masks actually get used

Cisco IOS uses wildcard masks in two places you'll run into constantly: standard and extended access control lists, and OSPF network statements. In both cases, a 0 bit means "this bit must match exactly" and a 1 bit means "this bit can be anything" — which is the reverse of how a subnet mask works.

Worked example

To permit an entire 192.168.10.0/24 network in an ACL, you'd write access-list 10 permit 192.168.10.0 0.0.0.255. The wildcard mask 0.0.0.255 is the inverse of the subnet mask 255.255.255.0 — every bit in the last octet is a "don't care," meaning any host address in that range matches the line.

Mask conversions run entirely in your browser with no server requests.

Ready to write and troubleshoot real ACLs?

Our networking courses cover access lists, OSPF configuration, and the command-line skills that make wildcard masks second nature.

Explore networking training

Frequently asked questions

Wildcard masks are used in Cisco IOS access control lists (ACLs) and OSPF network statements to specify which bits of an IP address must match and which can be ignored.

Stay ahead in IT

Course updates, free resources, and training tips — straight to your inbox.

Binary-Tech Institute

Hands-on practice, minds-on experience. Practical IT training for real careers.

Resources

  • Blog & Vlogs
  • Free Tools
  • All Courses
  • FAQs
  • Contact Us

Popular Courses

    Contact

    • Address: Must Ltd, 124 City Road, London, EC1V 2NX, UK
    • Phone: +44 7360 507201
    • Email: contact@binary-tech.co.uk
    Copyright © 2026 Binary-Tech Institute
    Privacy Policy·Terms & Conditions