CalKit

IP Calculator

Calculate IP address and subnet info.

네트워크 주소
192.168.1.0

/24

네트워크 정보

네트워크 주소192.168.1.0
브로드캐스트 주소192.168.1.255
서브넷 마스크255.255.255.0
호스트 시작192.168.1.1
호스트 끝192.168.1.254
사용 가능 호스트 수254개
IP 이진수11000000101010000000000101100100

Overview

Calculate network address, broadcast address, usable host range, and CIDR notation based on an IP address and subnet mask. An essential tool for network design and subnetting.

Formula

Subnet calculation: Network address = IP AND subnet mask. Broadcast address = IP OR (NOT subnet mask). Usable hosts = 2^(32−CIDR) − 2 (excluding network and broadcast addresses). First host = network address + 1. Last host = broadcast address − 1. Example: 192.168.1.100/24 → subnet mask 255.255.255.0, network 192.168.1.0, broadcast 192.168.1.255, host range 192.168.1.1–254, 254 usable hosts.

How to Use

  1. 1Enter an IP address (e.g., 192.168.1.100).
  2. 2Enter a subnet mask or CIDR prefix length (e.g., 255.255.255.0 or /24).
  3. 3Review the calculated network information.
  4. 4Use the subnetting option if subnet division is needed.

Tips

  • CIDR notation (/24) indicates the number of leading bits in the subnet mask. /24 = 255.255.255.0.
  • Private IP ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16.
  • /31 represents 2 hosts (point-to-point), and /32 represents a single host.
  • Using VLSM (Variable Length Subnet Masking) allows more efficient IP address allocation.

FAQ

Q. What is a subnet mask?

A subnet mask is a 32-bit value that separates the network and host portions of an IP address. Bits set to 1 represent the network portion, and bits set to 0 represent the host portion. Example: 255.255.255.0 = upper 24 bits are the network.

Q. What is CIDR notation?

CIDR (Classless Inter-Domain Routing) represents subnets by appending a slash (/) and prefix length after the IP address. Example: 192.168.1.0/24 means the upper 24 bits are the network address. It allows more flexible address allocation than class-based addressing.

Q. What is the difference between IPv4 and IPv6?

IPv4 is 32-bit (approximately 4.3 billion addresses), while IPv6 is 128-bit (approximately 3.4×10^38 addresses). IPv6 was introduced to solve IPv4's address exhaustion problem and can assign a unique public IP to every device without NAT.

Related Calculators