netutilus

Subnet Calculator for Mac

Subnet Calculator in Netutilus for Mac works out a subnet's network address, usable range, broadcast and size from however it is written: CIDR, a netmask, a hex mask or a whole line pasted from ifconfig. It splits a block into equal subnets or by host counts (VLSM), and handles IPv6. Free and offline: nothing leaves your Mac.

Updated

Download on the Mac App Store ↗

free to download · macOS 14.6 or later

Key facts

Access
Free
Shows
IPv4 and IPv6 ranges, masks, neighbouring subnets, equal or VLSM splits
Permissions
None
Talks to
Nothing: it works offline
Exports
CSV, text
In Terminal
ipcalc 192.168.1.10/24 · details below

What it’s for

A subnet is a block of addresses, written as an address and a prefix such as 192.168.1.10/24. Subnet Calculator shows everything about the block: where it starts and ends, how many devices fit, its mask in every form, and how to split it.

Use it when

  • You’re setting up a router, a VPN or a server and need the right range and mask.
  • You want to know whether two addresses are on the same network.
  • You’re planning a network and need to divide a block into smaller ones.

Reading the result

Type into the one field. It accepts 192.168.1.10/24, an address and a mask (10.0.0.1 255.255.0.0), a mask as ifconfig prints it (0xffffff00), a whole line pasted from ifconfig or ip addr, and IPv6 prefixes. Results update as you type.

  • Network Address is the block’s first address, and Broadcast Address its last.
  • First and Last Usable Host are the range devices can use, and Usable Hosts how many fit.
  • Netmask, Wildcard Mask and Prefix Length are the same size, written three ways.
  • Classification says whether the block is private, public, or reserved for something else.

Example in the app: The bits of 192.168.1.10/24

  • The first 24 bits, tinted, are the network: the same for every address in the block.
  • The last 8 are the host part, which tells devices in the block apart. Eight bits make 256 addresses.

What you might see

  • Add a prefix (/24) or a netmask. An address alone doesn’t say how big its network is.
  • Invalid netmask (not contiguous). A mask must be ones then zeros. 255.255.0.255 isn’t a mask.

Options worth knowing

  • Neighboring Subnets lists the blocks of the same size around yours, such as the other /28s in its /24.
  • Subnet Splitting divides the block into equal parts, or By Host Requirements: enter 50, 20, 10 and it finds the smallest subnet for each.
  • The field’s menu offers This Mac’s network and your recent calculations. Everything is computed on your Mac.

Calculate a subnet in Terminal: ipcalc and ifconfig

TerminalmacOS
# not built into macOS
$ brew install ipcalc

# network, broadcast and host range
$ ipcalc 192.168.1.10/24

# this Mac's address plus hex netmask; Netutilus accepts this line as is
$ ifconfig en0 | grep "inet "
Example output
$ ifconfig en0 | grep "inet "
	inet 192.0.2.41 netmask 0xffffff00 broadcast 192.0.2.255

Netutilus reads CIDR, a dotted or hex mask, or a whole ifconfig line, splits by host counts (VLSM) and works offline.

Try Subnet Calculator on your Mac

Netutilus puts every network tool in one app. Free to download; Pro is a one-time purchase, never a subscription.

Download on the Mac App Store ↗

See also

  • Subnets and CIDRHow a prefix like /24 says which addresses belong to one network.
  • IP AddressesThe numbers devices are reached by: public and private, IPv4 and IPv6.
  • Network MonitorWatches your Mac's network connection live, logs every change, and shows the routing table.