Skip to main content
Calcimator

IP Subnet Calculator

Calculate IP subnet information including subnet mask, hosts per subnet, and network configuration.

Inputs

bits

Results

IP Address

192.168.1.1

Subnet Mask255.255.255.0
Hosts Per Subnet254
CIDR Notation/24
How to Use This Calculator
  1. Enter each of the four IP Address Octets (0–255) that form the IPv4 address you want to analyze.
  2. Set the Subnet Mask (CIDR) bits — common values are 24 (/24 = 254 hosts), 16 (/16 = 65,534 hosts), or 8 (/8 = 16M+ hosts).
  3. The calculator shows the full Subnet Mask in dotted-decimal format and CIDR notation.
  4. Review Hosts Per Subnet to confirm the network can accommodate your required number of devices.
  5. Use the Network Bits and Host Bits outputs to understand how the address space is divided.

What each input means

IP Address Octet 1
First octet of IP address.
IP Address Octet 2
Second octet of IP address.
IP Address Octet 3
Third octet of IP address.
IP Address Octet 4
Fourth octet of IP address.
Subnet Mask (CIDR)
Subnet mask in CIDR notation (0-32).

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    4 parameters
    IP Address Octet 1 = 192, IP Address Octet 2 = 168, IP Address Octet 3 = 1, IP Address Octet 4 = 1 = 5 input(s) provided
  2. Calculate IP Address
    IP Address
    192.168.1.1 = 192.168.1.1
  3. Calculate Subnet Mask
    255.255.255.0 = 255.255.255.0
  4. Calculate Hosts Per Subnet
    Hosts Per Subnet
    254 = 254

Engine last updated . Checked against 3 independently-derived tests how we verify calculators.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Technology & Computing.