Convert IPv4 addresses to their 32-bit numeric representation and vice versa
Learn how to use the IPv4 to numeric conversion calculator and its working principles
An IPv4 address consists of four octets separated by dots (e.g., 192.168.1.1). Each octet represents a byte in the 32-bit numeric representation. To convert an IPv4 address to a numeric value, each octet is multiplied by 256 raised to the power of its position (starting from 0 on the right) and then summed together.
For example, the IPv4 address 192.168.1.1 is converted to numeric as follows:
(192 × 256³) + (168 × 256²) + (1 × 256¹) + (1 × 256⁰) = 3232235777