IP Address and Number Conversion Tool

Convert IP Address to Number

Example: 192.168.1.1 → 3232235777

Convert Number to IP Address

Example: 3232235777 → 192.168.1.1

Common IP Address Examples

IP Address Numeric Representation Description Action
127.0.0.1 2130706433 Local Loopback Address
192.168.1.1 3232235777 Private Network Address
10.0.0.1 167772161 Private Network Address
172.16.0.1 2886729729 Private Network Address
8.8.8.8 134744072 Google DNS
1.1.1.1 16843009 Cloudflare DNS

About IP Address and Number Conversion:

An IPv4 address consists of 4 bytes (32 bits), each ranging from 0 to 255. An IP address can be converted into a 32-bit unsigned integer using the formula: Number = (Segment 1 × 256³) + (Segment 2 × 256²) + (Segment 3 × 256¹) + (Segment 4 × 256⁰)

For example: 192.168.1.1 = (192 × 16777216) + (168 × 65536) + (1 × 256) + 1 = 3232235777

This conversion is useful in scenarios like database storage, network programming, and IP range queries, as the numeric form is easier to compare and calculate.