IP Address & CIDR Calculator

Calculate IPv4 network ranges, subnet masks, and usable hosts from an address and CIDR prefix

Network details

Input CIDR192.168.1.42/24
Subnet mask255.255.255.0
Wildcard mask0.0.0.255
Network address192.168.1.0
Broadcast address192.168.1.255
First usable address192.168.1.1
Last usable address192.168.1.254
Total addresses256
Usable hosts254
Address scope
Private

About this tool

The IP Address & CIDR Calculator derives the subnet mask, wildcard mask, network and broadcast addresses, usable range, and host counts for an IPv4 address. Calculations run entirely in your browser.

Common use cases

  • Plan a private IPv4 subnet before configuring a router, firewall, or cloud network.
  • Verify whether an address belongs to the expected network during troubleshooting.
  • Check usable address ranges and host capacity when reviewing network documentation.
  • Practice CIDR notation and subnetting for certifications, coursework, or interviews.