Skip to content

CIDR Calculator

Other
0.0(0)

Converts between CIDR notation, subnet masks, and IP address ranges for network planning.

How To Use

How to use this calculator

Start with your values, or try a preset.

Step 1

Enter CIDR Notation (/) in the units shown.

Step 2

Read Number of Usable Hosts, IP Range (Example), Broadcast Address (Example), Network Address (Example), and Subnet Mask in the results panel. Results update as you change the inputs.

Step 3

Choose a preset to load an example, then adjust the values for your situation.

Worked Examples

Example calculations

See the inputs and their calculated results.

Class C (/24)

CIDR Notation (/): 24

Number of Usable Hosts: 254 hosts; IP Range (Example): 192.168.1.1 - 192.168.1.254; Broadcast Address (Example): 192.168.1.255; Network Address (Example): 192.168.1.0; Subnet Mask: 255.255.255.0

Class B (/16)

CIDR Notation (/): 16

Number of Usable Hosts: 65,534 hosts; IP Range (Example): 192.168.0.1 - 192.168.255.254; Broadcast Address (Example): 192.168.255.255; Network Address (Example): 192.168.0.0; Subnet Mask: 255.255.0.0

Class A (/8)

CIDR Notation (/): 8

Number of Usable Hosts: 16,777,214 hosts; IP Range (Example): 10.0.0.1 - 10.255.255.254; Broadcast Address (Example): 10.255.255.255; Network Address (Example): 10.0.0.0; Subnet Mask: 255.0.0.0

People Also Calculate

Related Calculators

Continue with another tool on a related topic.