IP calculator for Excel, LibreOffice and Google Sheets

online tools

Select a function, paste your data in the left box and clic [ Submit ]. If you don't know how to use a function, just clic [ Example ].

This tool is based on my JavaScript library ip-calc.js. The same JS code is running is the ip-calc for Google Sheets template.

IPv4

sort IP @ sort networks and IP @
convert IP @ to numbers convert numbers to IP @ check valid IP @ check private IP @
find opverlapping networks summarize networks summarize routes
divide network in smaller subnets - subnetting
convert IP range to 1 or more CIDR networks
subtract subnets to a list of networks intersection of 2 subnet lists

IPv6

sort IPv6 expand IPv6 shorten IPv6 check IPv6 format

valid IPv4 networks are:
10.0.0.0/24
10.0.0.0 255.255.255.0

a valid IPv4 route is a network followed by any character sequence such as a next hop or route parameters
some valid routes:
10.0.0.0/24 1.2.3.4
10.0.0.0 255.255.255.0 1.2.3.4
1.2.3.128/25 anything here is fine
[ >> ip-calc home ] [ last update: march 15th, 2023 ] [ contact: ipcalc(a)rohmer.fr ]