ipcalc
« Back to VersTracker
Description:
Calculate various network masks, etc. from a given IP address
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Networking
Tags: networking cli ipv4 ipv6 subnet sysadmin
Install: brew install ipcalc
About:
ipcalc is a command-line utility for performing network calculations based on an IPv4 or IPv6 address. It provides detailed information about network masks, broadcast addresses, and address ranges. The tool is useful for network engineers and system administrators to quickly validate network configurations.
Key Features:
  • Supports both IPv4 and IPv6 address calculations
  • Outputs network class, netmask, broadcast, and host ranges
  • Provides CIDR notation conversion and validation
  • Color-coded output for better readability
Use Cases:
  • Validating subnet configurations for server deployments
  • Calculating address ranges for firewall rules
  • Converting between subnet mask formats
Alternatives:
  • ipcalc-ng – Modern fork with IPv6 support and additional features
  • netmask – Focuses on converting netmasks between different formats
Version History
Detected Version Rev Change Commit