man > ipcalc(1)

TLDR: ipcalc (tldr-pages)

Calculate IP information (subnet, broadcast, host range) from an IP address and netmask.

  • Display network info for an IP address
    ipcalc {{192.168.0.1}}
  • Display network info using CIDR notation
    ipcalc {{192.168.0.1}}/{{24}}
  • Display network info using a dotted decimal netmask
    ipcalc {{192.168.0.1}} {{255.255.255.0}}
  • Suppress bitwise output
    ipcalc {{-b|--nobinary}} {{192.168.0.1}}
  • Split a network into specified sized blocks
    ipcalc {{-s|--split}} {{size1 size2 size3 ...}} {{192.168.0.1}}
  • Display version
    ipcalc {{-v|--version}}
ipcalc(1)                              General Commands Manual                             ipcalc(1)

NAME
       ipcalc - An IPv4 Netmask/broadcast/etc calculator

SYNOPSIS
        ipcalc  [options] ADDRESS[[/]NETMASK] [NETMASK]

DESCRIPTION
       ipcalc  takes  an  IPv4  address and netmask and calculates the resulting broadcast, network,
       Cisco wildcard mask, and host range. By giving a second netmask, you can design sub- and  su‐
       pernetworks.  It  is also intended to be a teaching tool and presents the results as easy-to-
       understand binary values.

       --help Display help usage

       -n, --nocolor
              Don't display ANSI color codes

       -b, --nobinary
              Suppress the bitwise output

       -c, --class
              Just print bit-count-mask of given address

       -h, --html
              Display results as HTML

       -v, --version
              Print Version

       -s, --split n1 n2 n3.
              Split into networks of size n1, n2, n3

       -r, --range
              Deaggregate address range

EXAMPLES
       ipcalc 192.168.0.1/24

       ipcalc 192.168.0.1/255.255.128.0

       ipcalc 192.168.0.1 255.255.128.0 255.255.192.0

       ipcalc 192.168.0.1 0.0.63.255

       deaggregate address range
              ipcalc <ADDRESS1> - <ADDRESS2>

       split network to subnets where a b c fits in
              ipcalc <ADDRESS>/<NETMASK> -s a b c

AUTHOR
            Written by Krischan Jodies <krischan AT jodies.de>

SEE ALSO
       ipsc(1) gipsc(1)

       The ipcalc website: http://jodies.de/ipcalc


                                                  .                                        ipcalc(1)

Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-03 09:13 @216.73.216.239
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!