Convert IPv4 addresses to decimal (integer) format
An IPv4 address (e.g., 192.168.1.1) is a 32‑bit number typically represented in dotted‑decimal notation. Converting it to its decimal (integer) form is useful for network programming, storing IP addresses in databases as integers (for faster indexing), and performing IP range calculations.
Each of the four octets contributes to the overall decimal value: first octet × 256³ + second × 256² + third × 256 + fourth. This tool does the calculation instantly and shows the result.
All conversions are performed locally in your browser – no data is transmitted.
Step 1: Enter a valid IPv4 address (e.g., 192.168.1.1).
Step 2: Click "Convert to Decimal".
Step 3: The decimal (integer) representation appears.
Step 4: Copy the result using the "Copy Decimal" button.
The tool validates the IP format; if the input is invalid, an error message will be shown.
IP: 192.168.1.1 → Decimal: 3232235777
IP: 10.0.0.1 → 167772161
IP: 255.255.255.255 → 4294967295