Developer

IPv4/IPv6 Subnet & CIDR Calculator

Use exact BigInt arithmetic to find network addresses, ranges, address counts and IPv4 broadcast details.

View Developer Tools

Your input is processed in your browser and is not stored.

IPv4 network: 192.168.1.0/24

Address range
192.168.1.0 – 192.168.1.255
Broadcast address
192.168.1.255
Total addresses
256
Conventionally usable IPv4 addresses
254

Uses exact BigInt arithmetic. IPv6 has no broadcast address. IPv4 /31 follows point-to-point semantics and /32 represents one host.

What this tool does

Parses IPv4 and IPv6 addresses and applies the CIDR prefix with exact integer masks.

How to use it

  • Enter an IPv4 or IPv6 address.
  • Enter a valid prefix for that address family.
  • Copy the network and range.

Example input and output

Input: 2001:db8:abcd:12::1 /64

Output: 2001:db8:abcd:12::/64

Common use cases

  • Network planning
  • Firewall rule review
  • Address-range checks

FAQ

Does IPv6 have a broadcast address?

No. The calculator shows an IPv6 range but does not invent a broadcast address.

How are /31 and /32 handled?

IPv4 /31 is treated as a two-address point-to-point network and /32 as one host address.

Is the address sent anywhere?

No. Parsing and arithmetic run locally in your browser.