Skip to content
Developer & CodeLocal · Stays on device

IP Subnet Calculator

Calculate network, broadcast, usable host range, netmask and wildcard for any IPv4 or IPv6 CIDR, and split it into subnets.

  • IPv4, IPv6, CIDR, Dotted netmask
  • Free to use
  • No sign-up or watermark
ip-subnet-calculatorOn this device
1
2
3
4
5
6
7
8
9
10
1
2
3
4
5
6
7
8
9
10

About this tool

Enter an address with a prefix (192.168.10.37/26), a dotted netmask (192.168.1.10 255.255.255.0) or an IPv6 block (2001:db8::/48) to get the network address, first and last usable host, broadcast address, number of usable hosts and total addresses, netmask and wildcard (ACL) mask, plus the binary form for IPv4. /31 point-to-point links and /32 host routes are handled per RFC 3021, and IPv6 addresses are shown in canonical compressed form (RFC 5952) and fully expanded.

The address is classified using IANA’s special-purpose registries — private (RFC 1918), CGNAT, loopback, link-local, documentation, multicast, unique local and more. Split the block into equal smaller subnets, or find the smallest subnet that fits a number of hosts. All calculations use exact 128-bit arithmetic. Everything runs in your browser. What you paste is never uploaded, logged or stored.

  1. Input

    Your code or text

    IPv4, IPv6, CIDR, Dotted netmask

  2. Processing

    Processed in this browser

    Instant, in-browser. Nothing is uploaded.

  3. Output

    Your result

    Ready to download or copy

Local processing pipelineInstant, in-browser

How to use it

  1. 1

    Enter an IP address with its prefix or netmask.

  2. 2

    Read the network details and copy any value.

  3. 3

    Optionally split the block into smaller subnets or size one for a host count.

Zero-upload architecture

How to use IP Subnet Calculator for free, with no upload

Free, with no sign-up or watermark · Your files stay on your device

  1. 1

    Open IP Subnet Calculator

    Launch the app and add your file. There is nothing to install and no account to create.

  2. 2

    Work through it

    Read the network details and copy any value.

  3. 3

    Get your result

    Optionally split the block into smaller subnets or size one for a host count.

  • Local

    CIDR Converter

    Convert IP ranges to the smallest list of CIDR blocks, merge overlapping CIDRs, expand a CIDR to its range and convert netmasks.

    Open tool
  • Local

    MAC Address Formatter

    Convert MAC addresses between colon, hyphen, Cisco dot and plain formats in bulk, and see unicast/multicast and EUI-64 details.

    Open tool
  • Local

    Port Number Lookup

    Look up what a TCP or UDP port number is used for, or find the port for a service like SSH, PostgreSQL or Redis.

    Open tool
  • Local

    JSON Formatter

    Pretty-print, beautify and validate JSON with precise error locations, key sorting and custom indentation.

    Open tool