Online calculator of IP addresses and subnets for IPv4 and IPv6. Calculate the network, first and last IP, CIDR and number of hosts. Support for reverse range calculation.
Calculate network parameters, IP range and number of hosts
Online calculator of IP addresses and subnets for IPv4 and IPv6. Calculate the network, first and last IP, CIDR and number of hosts. Support for reverse range calculation. All network addressing parameters are taken into account.
For example, need to calculate the parameters of the network 192.168.1.0/24
The calculator will determine: subnet mask 255.255.255.0, number of hosts 254, first IP 192.168.1.1, last IP 192.168.1.254, broadcast address 192.168.1.255The network can contain 254 hosts with addresses from 192.168.1.1 to 192.168.1.254
For example, you need to divide the 10.0.0.0/16 network into 4 subnets
The calculator will create subnets: 10.0.0.0/18, 10.0.64.0/18, 10.0.128.0/18, 10.0.192.0/18Each subnet can contain up to 16,382 hosts
For example, you need to find the CIDR for the range from 172.16.0.1 to 172.16.255.254
The calculator will determine: network 172.16.0.0/16, mask 255.255.0.0, number of hosts 65,534The range corresponds to network 172.16.0.0/16
For example, you need to calculate the subnet 2001:db8::/64
The calculator will determine: prefix 2001:db8::, prefix length 64, number of addresses 2^64A subnet can contain 18,446,744,073,709,551,616 addresses
For example, you need to define network parameters for IP 203.0.113.42/28
The calculator will determine: network 203.0.113.32, mask 255.255.255.240, first IP 203.0.113.33, last IP 203.0.113.46, broadcast 203.0.113.47The network contains 14 hosts with addresses from 203.0.113.33 to 203.0.113.46
The calculator uses standard network calculation formulas:
Basic functions
Full calculation of IPv4 subnet parameters
Support for modern IPv6 addresses
Working with CIDR notation for accurate calculations
Determining CIDR by IP Range
Graphical representation of a subnet
Saving results to PDF or Excel
Our IP calculator provides many benefits for network calculations.
Uses current network addressing standards
Supports various input formats
Accounting for all network addressing parameters
Ability to save results in PDF or Excel
Network address = IP & mask, number of hosts = 2^(32-CIDR) - 2.
CIDR shows the number of bits in the subnet mask, for example /24 means 255.255.255.0.
First IP = network address + 1, last IP = broadcast address - 1.
Number of hosts = 2^(32-CIDR) - 2 for IPv4, 2^(128-CIDR) for IPv6.
Yes, the calculator supports both IPv4 and IPv6 addresses.