Subnet Calculator

IP Subnetting & CIDR Tool

This subnet calculator is based on standard subnet calculation logic and is designed for accuracy and ease of use.

Parameters

  • IP Address: The IPv4 address to subnet (e.g., 192.168.1.1).
  • Subnet Mask: The subnet mask (e.g., 255.255.255.0 or /24).

How It Works

  • Enter the IP address and subnet mask (as mask or CIDR).
  • The calculator computes the network address, broadcast address, first/last host, number of hosts, and wildcard mask.
  • Supports both mask and CIDR notation for easy entry.

FAQs

  • What is a subnet?
    A subnet is a segmented piece of a larger network, defined by a subnet mask.
  • What is CIDR?
    Classless Inter-Domain Routing, a way to specify IP ranges using a slash (e.g., /24).
  • How do I enter the subnet mask?
    You can use either the mask (e.g., 255.255.255.0) or CIDR (e.g., /24).
  • What is a wildcard mask?
    The inverse of the subnet mask, used in some networking configs.
  • Can I compare different scenarios?
    Change the inputs and recalculate to compare outcomes.

Subnetting Tips

  • Double-check your IP and mask for accuracy.
  • Use CIDR for quick subnet entry (e.g., /24).
  • Review your results for network planning or troubleshooting.

Subnet Calculator