IP Subnet Calculator & CIDR Reference

Enter an IPv4 address with CIDR notation (like 192.168.10.0/24) and this tool works out the network address, broadcast address, subnet mask, wildcard mask, and the exact range of usable host addresses.

Not sure which prefix you need? Use the quick-pick dropdown, or check the CIDR reference chart below for a fast lookup of how many hosts each prefix from /8 to /32 actually gives you.

// all tools run locally in your browser

CVSS Calculator

Select each metric or paste a CVSS vector to compute the Base Score, in CVSS 3.1 or 4.0. All calculations run in your browser — no data ever leaves your device.

0.0
NONE
Base Score · CVSS v3.1
Impact 0.0 Exploitability 0.0
Want alerts before a CVSS 9.0+ hits your stack?
  • CVE Watchtower sends real-time alerts, filtered by the technologies you run.
  • See CVE Alert plans →

    IP / Subnet Calculator

    Enter an IPv4 or IPv6 address with CIDR notation. The tool computes the network, broadcast (IPv4), host range, wildcard mask, and usable host count.

    Free and unlimited.
  • If it's useful, follow our latest CVE and vulnerability analysis.
  • Read advisories →

    Encoder & Hash Generator

    Base64, URL encoding, and hash functions (SHA-1, SHA-256, SHA-384, SHA-512) — powered by your browser's Web Crypto API.

    100% client-side. Every encode, decode, and hash runs locally in your browser via the Web Crypto API — no data ever leaves your device, safe to use on tokens, headers, or suspected IOC values.
    —
    —
    Web Crypto
    quick SOC check
    Devs and pentesters use this daily.
  • Read the latest CVE and PoC analysis on Daily CyberSecurity.
  • Read advisories →

    Certificate Viewer

    Paste an X.509 certificate in PEM format, or fetch one live from a domain, to inspect its subject, issuer, validity period, and status.

    Track the latest vulnerabilities.
  • Read fresh CVE and PoC analysis on Daily CyberSecurity.
  • Read advisories →

    DNS Lookup

    Query the public DNS records of any domain. Free for everyone — no sign-in required. Sign in or go Pro/Team for unlimited daily lookups.

    Need more than the daily free lookups?
  • Pro removes the limit across DNS, Whois, and every other lookup tool.
  • Whois Lookup

    Look up the public registration record for a domain. Queries run through our server. This tool requires sign in.

    Need unlimited Whois & DNS lookups?
  • Pro and Team plans remove the daily limit across every lookup tool.
  • copied

    CIDR /8–/32 Reference Chart

    CIDR Subnet Mask Usable Hosts
    /8 255.0.0.0 16,777,214
    /9 255.128.0.0 8,388,606
    /10 255.192.0.0 4,194,302
    /11 255.224.0.0 2,097,150
    /12 255.240.0.0 1,048,574
    /13 255.248.0.0 524,286
    /14 255.252.0.0 262,142
    /15 255.254.0.0 131,070
    /16 255.255.0.0 65,534
    /17 255.255.128.0 32,766
    /18 255.255.192.0 16,382
    /19 255.255.224.0 8,190
    /20 255.255.240.0 4,094
    /21 255.255.248.0 2,046
    /22 255.255.252.0 1,022
    /23 255.255.254.0 510
    /24 255.255.255.0 254
    /25 255.255.255.128 126
    /26 255.255.255.192 62
    /27 255.255.255.224 30
    /28 255.255.255.240 14
    /29 255.255.255.248 6
    /30 255.255.255.252 2
    /31 255.255.255.254 0 (point-to-point link)
    /32 255.255.255.255 1 (single host)

    Frequently Asked Questions

    How do I calculate a subnet mask from a CIDR prefix?

    A CIDR prefix like /24 means the first 24 bits of the address are the network portion. Converting that to a dotted mask gives 255.255.255.0. This tool does that conversion automatically alongside the full subnet breakdown.

    What’s the difference between network address, broadcast address, and usable host range?

    The network address identifies the subnet itself (first address), the broadcast address targets every host on it (last address), and the usable host range is everything in between — the addresses you can actually assign to devices.

    Does this tool support IPv6 subnetting?

    This calculator currently handles IPv4.

    How many usable hosts does a /27 or /28 subnet have?

    A /27 gives 30 usable hosts, and a /28 gives 14 usable hosts. See the full chart on this page for every prefix from /8 to /32.

    Why is my IP address shown as private (RFC 1918) instead of public?

    Ranges like 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 are reserved for private networks and never routed on the public internet. This tool flags that automatically in the results.

    Is this subnet calculator free to use?

    Yes, completely free and unlimited — no sign-in required, and every calculation runs in your browser.