All free tools Calculated in your browser

IPv4 Subnet Calculator

Enter an IPv4 address with a CIDR prefix to calculate its complete subnet details.

Calculate an IPv4 subnet

IPv4
Use dotted-decimal IPv4 notation followed by a prefix from /0 to /32.

We do not store your data. The address is validated and calculated entirely in your browser and is never submitted to VPSLake.

Calculate in four steps

Use the address and prefix from your network plan, server, router, or hosting control panel.

  1. 1

    Enter an IPv4 address

    Type all four decimal octets, such as 192.168.1.10.

  2. 2

    Add the CIDR prefix

    Append a slash and a prefix from 0 through 32, for example /24.

  3. 3

    Calculate the subnet

    Select the calculate button to derive the boundaries, masks, host range, and address counts.

  4. 4

    Review or copy the result

    Check the values against your network plan, then copy the complete result when you need to document it.

What CIDR notation means

Classless Inter-Domain Routing (CIDR) writes an IP address and network prefix together. In 192.168.1.10/24, the /24 means the first 24 bits identify the network and the remaining 8 bits identify addresses inside that subnet.

A longer prefix creates a smaller subnet. For example, a /24 contains 256 total addresses, while a /28 contains 16.

What the result tells you

The network and broadcast values define the usual subnet boundaries. The subnet mask is the dotted-decimal form of the CIDR prefix, while the wildcard mask is its inverse and is commonly used in access-control rules.

  • Normalized IP address and prefix
  • Network, broadcast, and usable host range
  • Subnet and wildcard masks
  • Total addresses, usable hosts, and address type

Verify before changing a live network

Use the calculation as a planning aid, then confirm the assigned prefix with your hosting provider or network administrator before changing a server interface, router, DHCP range, route, or firewall rule. A wrong prefix can interrupt connectivity or create overlapping networks.

IPv4 Subnet Calculator FAQ

Enter a dotted-decimal IPv4 address, a slash, and a prefix from 0 to 32. For example, 10.20.30.40/16 is valid. A subnet mask without a CIDR prefix is not accepted in the input.
In traditional IPv4 subnets from /0 through /30, the first address identifies the network and the last is the broadcast address. Hosts normally use the addresses between them.
A /31 is treated as a point-to-point subnet where both addresses can be endpoints and no broadcast address is used. A /32 represents one host route, so its single address is the only usable host.
A wildcard mask is the bitwise inverse of the subnet mask. A subnet mask of 255.255.255.0 has a wildcard mask of 0.0.0.255. Some routers and access-control lists use this format.
Yes. The address type identifies common private, public, shared, loopback, link-local, documentation, benchmarking, multicast, and reserved ranges. It classifies the entered address; it does not guarantee that a public address is reachable.
No. Validation, calculation, and result formatting happen locally in your browser. The entered address is not submitted to or stored on VPSLake servers.
No. IPv6 has a different address format and does not use IPv4 broadcast addresses. This calculator intentionally accepts IPv4 CIDR notation only.