๐Ÿ“ IPv4/IPv6 CIDR Calculator

Calculate the network range and usable IPs from CIDR notation.

How to use

  1. Enter CIDR notation (e.g. 192.168.1.0/24).
  2. Network range info is calculated as you type.
  3. Both IPv4 and IPv6 are supported.

๐ŸŽฏ Use Cases

Example

Input
192.168.1.0/24
Output
Network address: 192.168.1.0
Broadcast address: 192.168.1.255
Subnet mask: 255.255.255.0
Wildcard mask: 0.0.0.255
Usable IPs: 192.168.1.1 โ€“ 192.168.1.254
Total addresses: 256

A /24 block holds 256 addresses; excluding the network and broadcast addresses, 192.168.1.1โ€“192.168.1.254 (254 hosts) are assignable to devices.

FAQ

Does it support IPv6?
Yes. Both IPv4 and IPv6 CIDR notation are supported โ€” a colon (:) in the input is automatically detected as IPv6.
Is the IP I enter sent to a server?
No. All calculations run inside your browser using BigInt arithmetic.
Are special prefixes like /31 and /32 supported?
Yes. Special ranges like /31 and /32, which have no or only one usable host, are calculated correctly.

๐Ÿ“ Learn more: CIDR Notation and How to Calculate a Subnet Mask

Convert CIDR notation like /24 into a subnet mask

More Network Tools

๐Ÿ“ก
My IP Address
Check your current IP and location
๐Ÿ”ค
Punycode Converter
Convert IDN domains โ†” Punycode (xn--)
๐Ÿ”€
IPv4 to IPv6
Convert IPv4 to IPv4-mapped IPv6
๐Ÿ•ธ๏ธ
Domain Extractor
Extract domain names from text/URLs
๐Ÿšช
Batch URL Opener
Open multiple URLs in new tabs at once
๐Ÿ›ฐ๏ธ
DNS Lookup
Look up A, MX, TXT & other DNS records
๐Ÿ”
Domain to IP
Resolve a domain to IPv4/IPv6
๐Ÿ“ฎ
Email Verifier
Check format & mail server (MX) existence
๐Ÿ“‹
HTTP Headers
Inspect server response headers
๐Ÿ›ก๏ธ
Security Headers Checker
Audit key security headers
๐Ÿ“‡
Whois Lookup
Look up domain/IP registration (RDAP)
๐Ÿ“
IP Geolocation
Look up region info for an IP/domain
๐Ÿ–ผ๏ธ
OGP Checker
Preview social share cards
๐Ÿ“‘
Heading Extractor
Check TITLE & h1โ€“h6 structure
๐Ÿท๏ธ
Title & Meta Extractor
Extract TITLE, DESCRIPTION & ROBOTS