Automic VaultAutomic Vault

brew

Install ipcalc with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, zypper

Calculate various network masks, etc. from a given IP address. Version 0.51 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install ipcalc

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install ipcalc

MacPorts ports tree · net/ipcalc/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add ipcalc

Alpine Linux edge package indexes · ipcalc · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install ipcalc

Debian stable package indexes · ipcalc · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install ipcalc

Fedora Rawhide package metadata · ipcalc · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#ipcalc

nixpkgs package indexes · pkgs/by-name/ip/ipcalc/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S ipcalc

Arch Linux sync databases · ipcalc · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install ipcalc

openSUSE Tumbleweed package metadata · ipcalc · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/ipcalc

Scoop official bucket manifest trees · bucket/ipcalc.json · source: api.github.com

overview

Package summary

Calculate various network masks, etc. from a given IP address

Commands and aliases

  • ipcalc

history

Project history and usage

ipcalc is Krischan Jodies' IP subnet calculator, later continued with IPv6 support in the kjokjo GitHub repository. It is one of the small networking CLIs administrators reach for when they need broadcast addresses, host ranges, wildcard masks, and subnet splits without opening a spreadsheet.

Project history

The original jodies.de page describes ipcalc as a tool that takes an IP address and netmask, calculates the broadcast, network, Cisco wildcard mask, and host range, and presents subnetting results in binary form as a teaching aid. The page also says the tool works at the shell prompt and was not originally intended for creating HTML.

The source header on the CGI wrapper carries copyright years 2000-2021, while the archive lists releases from 0.34 in 2001 through 0.41 in 2006. The GitHub repository describes itself as the IPv6-capable continuation of the subnet calculator from jodies.de.

Adoption history

ipcalc has broad package-manager reach for such a small script: the supplied metadata lists Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Scoop, Ubuntu, and openSUSE packaging. The original site also calls out Debian installation directly.

That broad distribution reflects the utility's shape: subnet math is universal in operations work, and a dependency-light Perl script is easy for distributions to carry.

How it is used

Users pass an address and mask, optionally with a second mask for subnet or supernet design. ipcalc prints network, broadcast, host minimum and maximum, host count, Cisco wildcard masks, class/private-network notes, and binary layouts.

The GitHub continuation adds IPv6 examples, including prefix calculation for IPv6 addresses, while preserving the familiar command-line output style of the original IPv4 calculator.

Why package nerds care

ipcalc is a canonical tiny admin package: old, scriptable, easy to package, and still useful because IP addressing math does not go out of fashion. Its value is less in novelty than in being available everywhere when a human needs to sanity-check a CIDR block.

It also shows the preservation path of many Unix tools: an original personal web page, tarball archives, distro packages, and a GitHub continuation that adds IPv6 support while keeping the old interface recognizable.

Timeline

  • 2000: Source copyright begins for Krischan Jodies' ipcalc code.
  • 2001-09-13: The archive lists the unpacked ipcalc-0.34 directory.
  • 2005-07-07: Version 0.35.2 appears on the original page and archive.
  • 2006-07-27: Security information was published for the CGI script.
  • 2006-07-27: Archive entries include ipcalc 0.39, 0.40, and 0.41, with 0.41 adding network-range deaggregation.
  • 2021-11-03: The GitHub continuation published release 0.51.
  • 2021: The CGI wrapper copyright range extends through 2021.

Related projects

  • Related tools include distro-specific ipcalc variants, web subnet calculators, Cisco ACL wildcard-mask calculators, and broader network calculators such as sipcalc.
  • The GitHub repository is explicitly a continuation of the original jodies.de calculator, not an unrelated rewrite under the same name.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:network

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
ipcalccliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.51
manager updated
local dataok
upstreamcurrent
latest detected0.51

https://github.com/kjokjo/ipcalc

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:ipcalc
Version0.51
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/ipcalc
Homepagehttps://jodies.de/ipcalc
Repositoryhttps://github.com/kjokjo/ipcalc
Upstream docshttps://github.com/kjokjo/ipcalc#readme
LicenseGPL-2.0-or-later
Source archivehttps://github.com/kjokjo/ipcalc/archive/refs/tags/0.51.tar.gz
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameipcalc
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

ipcalc 0.51-1

parameter calculator for IPv4 addresses

http://jodies.de/ipcalc

sudo apt install ipcalc
  • Section: net
  • Architecture: all
  • 1 dependencies
  • normalized package name match
  • Matched by: Ipcalc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ipcalc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

ipcalc

nix profile install nixpkgs#ipcalc
  • normalized package name match
  • Matched by: Ipcalc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ip/ipcalc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

ipcalc 0.51-1

parameter calculator for IPv4 addresses

http://jodies.de/ipcalc

sudo apt install ipcalc
  • Section: universe/net
  • Architecture: all
  • 1 dependencies
  • normalized package name match
  • Matched by: Ipcalc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ipcalc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

ipcalc 1.0.3-r1

A modern IPv4/IPv6 ipcalc tool, assisting in network calculations in command line and as a tool for scripts.

https://gitlab.com/ipcalc/ipcalc

sudo apk add ipcalc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: ipcalc
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ipcalc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ipcalc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

ipcalc-doc 1.0.3-r1

A modern IPv4/IPv6 ipcalc tool, assisting in network calculations in command line and as a tool for scripts. (documentation)

https://gitlab.com/ipcalc/ipcalc

sudo apk add ipcalc-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: ipcalc
  • normalized package name match
  • Matched by: Ipcalc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ipcalc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

ipcalc 1.0.3-13.fc44

IP network address calculator

https://gitlab.com/ipcalc/ipcalc

sudo dnf install ipcalc
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: ipcalc
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ipcalc
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ipcalc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

ipcalc 0.51-2

Calculates IP broadcast, network, Cisco wildcard mask, and host ranges

https://jodies.de/ipcalc

sudo pacman -S ipcalc
  • License: GPL
  • Architecture: any
  • 1 dependencies
  • normalized package name match
  • Matched by: Ipcalc
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: ipcalc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

ipcalc 1.0.3-2.6

IPv4/IPv6 tool assisting in network calculations on the command line

https://gitlab.com/ipcalc/ipcalc

sudo zypper install ipcalc
  • License: GPL-2.0-or-later
  • Category: Productivity/Networking/System
  • Architecture: x86_64
  • Source Package: ipcalc
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ipcalc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ipcalc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

ipcalc

sudo port install ipcalc
  • normalized package name match
  • Matched by: Ipcalc
MacPorts ports tree · api.github.com · MacPorts ports tree: net/ipcalc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/ipcalc

scoop install main/ipcalc
  • normalized package name match
  • Matched by: Ipcalc
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/ipcalc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment