CGNAT Calculator

Size your public IPv4 pool and per-subscriber port blocks for carrier-grade NAT, check for port exhaustion, and understand the lawful intercept logging volume PTA expects you to retain.

What this tool does

Most ISPs do not have enough public IPv4 addresses to give one to every customer, so many customers share each public address. This sharing is called CGNAT (carrier-grade NAT). This tool works out how many public addresses you need, how many customers can safely share one, and the customer-to-address logging PTA expects you to keep.

Your CGNAT plan

The number of subscribers sitting behind CGNAT
A higher number saves public IPs, but gives each customer fewer ports to work with
Each customer gets a block of ports. 512 is a common choice. Bigger blocks suit heavy users (many apps and streams at once) but fit fewer customers per IP.

Running CGNAT on MikroTik?

Our MikroTik CGNAT configuration guide covers the RouterOS implementation end to end, and our Network Design service reviews your CGNAT architecture and logging for PTA compliance.

Read the MikroTik CGNAT guideCGNAT design review