CIDR // ALLOWEDIPS
WireGuard Calc IP
Turn a list of addresses into the smallest set of prefixes that covers exactly them. Runs entirely in your browser — nothing is uploaded.
Paste addresses, subnets, or both — separated by spaces, commas or new lines. Bare addresses are treated as host routes.
Use this for the AllowedIPs line of a peer. Fewer prefixes is
usually better — a contiguous run of hosts collapses into one entry.
Inspect one prefix — addresses, masks and usable host counts.
A /31 or /32 reports every address as usable —
RFC 3021 point-to-point and host routes are how WireGuard peers are normally addressed.
Carve one prefix into equal subnets — the usual way to hand out address space per peer.
Build wg0.conf peer blocks. Each peer gets its own
AllowedIPs — paste an aggregated result from the first tab.
Keys are stored only in this page and never sent anywhere.