MoaKit
All tools

Subnet Calculator

Work out network address, broadcast, host range and host count from an IPv4 address and CIDR or mask, split into subnets, and find the CIDR for a host count.

네트워크 주소

192.168.1.0/24

서브넷 마스크 255.255.255.0

사용 가능한 호스트

254

전체 주소 256개

호스트 범위

192.168.1.1

~ 192.168.1.254

입력한 IP
서브넷 마스크
와일드카드 마스크
네트워크 주소
브로드캐스트 주소
첫 호스트
마지막 호스트
IP 종류
사설 IP · 클래스 C
정수·16진수
3232235786 · 0xC0A8010A

이진수로 보기

IP11000000.10101000.00000001.0000101011000000101010000000000100001010
마스크11111111.11111111.11111111.0000000011111111111111111111111100000000
네트워크11000000.10101000.00000001.0000000011000000101010000000000100000000

파란색 = 네트워크 비트 (24) · 회색 = 호스트 비트 (8)

서브넷으로 나누기

/

필요한 호스트 수로 CIDR 찾기

/25 (255.255.255.128)사용 가능한 호스트 126개

마스크가 이미 있다면 접두어 길이로 바꿔 보세요: 255.255.255.0 → /24

  • IPv4 만 계산해요. /31 은 점대점 링크(RFC 3021)로 두 주소를 모두 쓰고, /32 는 한 대만 가리켜요.
  • 입력한 값은 이 브라우저에서만 계산하고 서버로 보내지 않아요.

What is Subnet Calculator?

Calculates the network address, broadcast address, usable host range and count from an IP address plus a CIDR prefix or subnet mask. It also helps split a large network into smaller subnets.

How to use

  1. Enter an IP address and CIDR such as 192.168.1.10/24 (or a mask such as 255.255.255.0).
  2. Check the network, broadcast and host range.
  3. If needed, enter a longer prefix length to split into subnets.

Tips

  • The mask 255.255.255.0 is the same as /24; count the 1 bits to get the prefix length.
  • Leave room for growth. Allow 1.5 to 2 times the number of hosts you need today.

FAQ

Why are there two fewer usable hosts than total addresses?
The first address is the network address and the last is the broadcast address. /31 and /32 are exceptions.
Does it handle IPv6?
Only IPv4 is supported for now.