ipv4_calculator
Calculate network, broadcast, mask, hosts, class and binary for any IPv4 address
Enter runs the calculation · Shift+Enter inserts a new line
Calculate network, broadcast, mask, hosts, class and binary for any IPv4 address
Calculate network info for IPv6 addresses in CIDR notation
Variable Length Subnet Mask — assigns optimal blocks for each network segment
| # | Name | Hosts Req | Hosts Avail | Prefix | Network | First Host | Last Host | Broadcast | Mask |
|---|
Shows the exact usable host range for a given network
Convert IP addresses to binary and vice versa, with per-octet visualization
Convert between CIDR, decimal mask and wildcard. Includes full /1–/32 reference table.
| CIDR | Subnet Mask | Wildcard | Hosts | /24 subnets | Block |
|---|
Calculate the wildcard (inverse) mask for Cisco ACLs, OSPF and firewall rules
Find the minimum supernet containing all specified networks (route summarization)
Split a network into equal subnets by specifying a new prefix
| # | Network | First Host | Last Host | Broadcast | Hosts | Mask |
|---|
Convert an IP range (start–end) to the minimum set of CIDR blocks
| # | CIDR Block | Network | Broadcast | Hosts |
|---|
Convert IPv4/IPv6 addresses to integer and vice versa
Expand and compress IPv6 addresses — normalize any valid format
Convert between hexadecimal and IP address — useful for Windows route tables and Cisco logs
802.1Q VLAN info: tag encoding, PCP, DEI, VID, range and compatibility
Generate the PTR in-addr.arpa zone for an IPv4 network
Generate the PTR ip6.arpa record for an IPv6 address
Locate a public IP or resolve a domain and geolocate its public address
Interactive IP address space planner — click cells to edit, export to CSV
| # | Name | Network | Mask/CIDR | Gateway | VLAN | Location | Notes |
|---|
Theme, language, promotion dismissal and calculation history are stored in localStorage on this device.
Calculations are sent through this site's same-origin Worker proxy to the private calculation service.
LCP, CLS and INP may be stored as aggregate performance measurements by tool and language. Calculation inputs and persistent user identifiers are not included.
Only GeoIP lookups are processed by an external provider. The requested IP address is sent for that lookup.
A report link opens the public Telegram bot and includes only the current page slug in the bot start parameter. Calculator inputs and report text are not sent by this website. Text you choose to send inside Telegram is handled by Telegram and the bot.
Advertising is controlled by the production configuration. When Google AdSense is enabled, consent is handled through a certified CMP before personalized advertising is used where required.
Use the button below to clear calculation history. To remove every local preference, clear this site's data in your browser settings.
This page provides operational information; it is not a legal-compliance certification.
Understand Router Advertisements, SLAAC, DHCPv6 and DNS delivery so hosts receive the expected IPv6 address, gateway and resolver information.
IPv6 hosts learn on-link prefixes and default-router information from Router Advertisements. DHCPv6 does not replace this default-router role, so a host can receive an address from DHCPv6 and still have broken connectivity if RA is missing or filtered.
With the autonomous flag, hosts can construct addresses from a /64 prefix without a stateful address server. Privacy extensions may create temporary addresses, so inventory should not assume a single stable interface identifier.
RA flags can tell clients to use DHCPv6 for addresses or for additional information, but exact client behavior varies by operating system. Validate Windows, Linux, Android and embedded clients rather than assuming one policy behaves identically everywhere.
Resolvers can arrive through DHCPv6, RDNSS in RA, local policy or platform-specific mechanisms. A host with a valid IPv6 address and default route can still look “offline” to users if name resolution was never delivered.
Neighbor Discovery, Router Advertisements and Path MTU feedback depend on ICMPv6. Blanket filtering can leave hosts with partial connectivity that looks like random IPv6 failure.
An RA capture reveals prefix, flags, lifetime and often DNS information. That is faster than inferring configuration from the final address alone.
Servers and infrastructure may need predictable addresses while user devices benefit from temporary privacy addresses. Use address policy appropriate to each role instead of forcing one model everywhere.