IPv4 subnet calculator

Parse your IPv4 CIDR blocks and get all the info you need about your subnet.

Netmask192.168.0.0/24
Network address192.168.0.0
Network mask255.255.255.0
Network mask in binary11111111.11111111.11111111.00000000
CIDR notation/24
Wildcard mask0.0.0.255
Network size256
First address192.168.0.1
Last address192.168.0.254
Broadcast address192.168.0.255
IP classC

About IPv4 Subnet Calculator

This calculator tool helps network administrators and IT professionals quickly determine subnet information from an IPv4 address with CIDR notation. It provides essential network details including network addresses, usable IP range, subnet masks, and more.

How to Use This Calculator

To use this calculator, simply enter an IPv4 address with optional CIDR notation (e.g., 192.168.1.1/24). If you don't include the CIDR notation, the calculator will assume a default based on the IP class:

  • Class A: /8
  • Class B: /16
  • Class C: /24

The calculator will automatically display all subnet information. You can navigate to adjacent network blocks using the "Previous block" and "Next block" buttons.

Understanding CIDR Notation

CIDR (Classless Inter-Domain Routing) notation consists of an IP address followed by a slash and a number (1-32) that represents the number of consecutive 1's in the subnet mask.

For example:

  • /24 represents a subnet mask of 255.255.255.0 (24 consecutive 1's)
  • /16 represents a subnet mask of 255.255.0.0 (16 consecutive 1's)
  • /8 represents a subnet mask of 255.0.0.0 (8 consecutive 1's)

The CIDR notation determines how many IP addresses are available in a subnet. The formula is 2^(32-prefix), where 'prefix' is the number after the slash.