Convert Subnet Masks and CIDR Prefixes

The Network Mask Converter allows you to convert between IPv4 subnet masks and CIDR prefix notation quickly and accurately.

This tool is useful for network administrators, IT professionals, and students who work with subnetting, routing, firewall rules, and IP address planning.

What This Tool Converts

  • CIDR prefix → subnet mask (e.g. /24 → 255.255.255.0)
  • Subnet mask → CIDR prefix (e.g. 255.255.254.0 → /23)
  • Displays usable host counts per subnet
  • Shows total addresses per network

IPv4 Network Mask Converter

IPv4 only — convert between CIDR, subnet mask, wildcard mask, and binary.

/24

Why Conversion Matters

Subnet masks and CIDR prefixes are used interchangeably depending on the system or platform.

You may encounter:

  • CIDR notation in routers and cloud platforms
  • Subnet masks in legacy systems or configuration files

Being able to convert between them reduces configuration errors and improves clarity.

IP Address Calculator (IPv4 & IPv6)

IP Address Lookup