IP / Subnet Calculator

IPv4 and IPv6 subnet calculator: network, broadcast, host range, mask, wildcard and subnetting.

Processed locally in your browser

Binary


    

Split into subnets

How to use the IP / Subnet Calculator

  1. Enter an address with prefix (192.168.1.10/24) or address and mask (192.168.1.10 255.255.255.0). IPv6 works too.
  2. Results update as you type.
  3. Use the subnet splitter to divide the network into smaller prefixes.
  4. Copy any value with one click.

Examples

Office LAN

10.20.30.40/22 → network 10.20.28.0, 1,022 usable hosts.

IPv6

2001:db8::1/48 → 65,536 /64 subnets.

Features

  • IPv4 and IPv6
  • CIDR or dotted mask input
  • Network, broadcast, first/last host, wildcard
  • Binary view and address class/type
  • Subnet splitter
  • Local computation

About this tool

CIDR notation describes a network by its base address and the number of fixed prefix bits. Subnetting splits a block into smaller networks to separate VLANs, sites or security zones. All calculations run in your browser using exact big-integer arithmetic, so even IPv6 /0 ranges are precise.

Frequently asked questions

Why are /31 and /32 different?

RFC 3021 allows /31 for point-to-point links with both addresses usable; /32 is a single host. The calculator handles both.

What is a wildcard mask?

The inverse of the subnet mask, used in Cisco ACLs and OSPF configuration.

Does IPv6 have a broadcast address?

No. IPv6 uses multicast instead; the calculator shows the first and last address of the range.

Privacy

Processed locally in your browser. Your data never leaves your device. The tool's code runs in your browser tab; nothing you enter or select is uploaded, and nothing is saved after you close the page.