IPv4 Calculator

IPv4 subnet calculator

Input

Calculate network ranges, broadcast addresses, and netmasks from CIDR notation (e.g., /24).

Terminal

Console ready. Execute a command to see output...

About IPv4 Calculator

Mastering the Subnet

Subnetting divides a network into smaller, efficient pieces. This tool accepts CIDR notation (192.168.1.1/24) and breaks it down.

Key Outputs

  • Network Address: The identifier of the subnet.
  • Broadcast Address: The address used to talk to everyone in that subnet.
  • Host Range: The usable IPs for devices.

Private Ranges (RFC 1918)

  • 10.x.x.x: Large enterprise networks.
  • 172.16.x.x: AWS/Cloud defaults.
  • 192.168.x.x: Home routers.

How to use IPv4 Calculator

  1. Enter the IPv4 address
    For example 192.168.1.10. Any host inside the subnet works.
  2. Enter the CIDR prefix length
    A number 0 to 32 (without the slash). 24 is typical for home networks, 30 is a 2-host point-to-point.
  3. Hit Calculate
    Subnet mask, network address, broadcast, first / last usable host, and total host count appear in the terminal panel.

Frequently Asked Questions

The number after the slash is how many bits of the IP are the network prefix. /24 fixes the first 24 bits (network) and leaves the last 8 bits free → 256 addresses. /16 fixes the first 16 bits → 65,536 addresses. Smaller number = bigger network.