Subnet Calculator

Calculate network subnet details including network address, broadcast address, usable host range, and subnet mask from an IP address and CIDR prefix.

isCalculator Editorial Team Published by:
Reviewed by: Review Board
Last Updated:

Was this calculator helpful?

How to use this tool?

This subnet calculator computes key network details from an IP address and CIDR prefix.

  1. Enter an IPv4 address (e.g., 192.168.1.0) in the IP Address field.
  2. Enter a CIDR prefix (e.g., 24) between 0 and 32 in the CIDR Prefix field.
  3. Click Calculate or press Enter in either input field.
  4. Review the results:
    • Network Address – the first address in the subnet.
    • Broadcast Address – the last address in the subnet.
    • Usable Hosts – number of assignable IPs (total minus network and broadcast).
    • Subnet Mask – dotted decimal mask and its CIDR notation.
    • Usable Host Range – the range of IPs available for devices.
  5. Check the Formula Breakdown section for a step-by-step explanation of the calculations.

Note: The calculator expects standard IPv4 addresses (e.g., 192.168.1.0) and a CIDR value from 0 to 32. For /31 (point-to-point) or /32 (single host), host range and usable host count adjust accordingly.

Previous Results

Generate Charts
Result Inputs Date

Frequently Asked Questions

A subnet mask is a 32-bit number that divides an IP address into network and host parts. It is used to identify which part of an IP address is the network and which part is the host.

CIDR (Classless Inter-Domain Routing) notation is a compact way to specify an IP address and its subnet mask, e.g., 192.168.1.0/24. The number after the slash is the prefix length, indicating how many bits are used for the network portion.

A /24 subnet has 256 total addresses, but the network address and broadcast address are reserved, leaving 254 usable host addresses.

Quick Convert
Length Converter
0
Weight/Mass Converter
0
Area Converter
0
Volume Converter
0
Speed Converter
0
Temperature Converter
0
Pressure Converter
0
Energy Converter
0
Power Converter
0
Force Converter
0
Time Converter
0
Angle Converter
0
Fuel Consumption Converter
0
Data Storage Converter
0
Base Numbers Converter
0
Dry Volume Converter
0
Currency Converter
0
Text Case Converter
0