🍋 Developer Tools

IP Subnet Calculator

Calculate subnet ranges, broadcast addresses, and CIDR notation

Free 仅在浏览器中 No sign-up
chars words sentences lines

Type or paste something into the Input box to enable this button.

结果

结果

关于 IP Subnet Calculator

Calculate IPv4 subnet details from an IP address and subnet mask or CIDR notation. View network address, broadcast address, usable host range, and total hosts.

工作原理

Converts the IP address and subnet mask to 32-bit integers, then performs bitwise AND for the network address and bitwise OR with the inverted mask for the broadcast address. Host range is derived from these boundaries.

分步教程

  1. 1 ['Enter an IP address with CIDR notation (e.g., 192.168.1.0/24)', 'Or enter an IP with subnet mask (e.g., 192.168.1.0 255.255.255.0)', 'Click Calculate to view subnet details']

提示

  • [
  • '
  • /
  • 2
  • 4
  • (
  • 2
  • 5
  • 5
  • .
  • 2
  • 5
  • 5
  • .
  • 2
  • 5
  • 5
  • .
  • 0
  • )
  • g
  • i
  • v
  • e
  • s
  • 2
  • 5
  • 4
  • u
  • s
  • a
  • b
  • l
  • e
  • h
  • o
  • s
  • t
  • s
  • —
  • t
  • h
  • e
  • m
  • o
  • s
  • t
  • c
  • o
  • m
  • m
  • o
  • n
  • s
  • u
  • b
  • n
  • e
  • t
  • '
  • ,
  • '
  • /
  • 3
  • 2
  • i
  • s
  • a
  • s
  • i
  • n
  • g
  • l
  • e
  • h
  • o
  • s
  • t
  • a
  • d
  • d
  • r
  • e
  • s
  • s
  • ,
  • u
  • s
  • e
  • f
  • u
  • l
  • f
  • o
  • r
  • f
  • i
  • r
  • e
  • w
  • a
  • l
  • l
  • r
  • u
  • l
  • e
  • s
  • '
  • ,
  • '
  • /
  • 1
  • 6
  • g
  • i
  • v
  • e
  • s
  • 6
  • 5
  • ,
  • 5
  • 3
  • 4
  • u
  • s
  • a
  • b
  • l
  • e
  • h
  • o
  • s
  • t
  • s
  • —
  • a
  • C
  • l
  • a
  • s
  • s
  • B
  • e
  • q
  • u
  • i
  • v
  • a
  • l
  • e
  • n
  • t
  • '
  • ]

常见问题