IP to Decimal Converter

Convert an IPv4 address into its unsigned 32-bit decimal form and see exactly how the four octets combine into one integer value.

Last updated: August 2026 | By Workshelve Team

The decimal result treats the whole IPv4 address as one unsigned 32-bit number instead of four separate dotted octets.

Input must be a valid IPv4 address using decimal octets separated by periods.

Formula
decimal = a × 256^3 + b × 256^2 + c × 256 + d
Decimal Result
2,130,706,433
Binary reference: 01111111.00000000.00000000.00000001

This is the unsigned form

IPv4 decimal conversion uses the address as one unsigned 32-bit integer, not a signed number.

Octet order matters

The leftmost octet has the highest weight because it is multiplied by 256 to the third power.

Useful for system storage

Some databases, logs, and network utilities store IPv4 addresses as integers rather than dotted text.

How IP to Decimal Conversion Works

The converter reads the IPv4 address as four base-10 octets. Each octet represents one byte, so the full address is really four bytes packed together into a 32-bit value.

To calculate the decimal form, the first octet is multiplied by 256 to the third power, the second by 256 squared, the third by 256, and the last octet is added directly. This is just positional notation in base 256.

The final number is often useful when sorting addresses numerically, storing them efficiently, or comparing IPv4 ranges in backend systems.

Worked Example: 192.168.1.1

192 × 256^3 = 3,221,225,472
168 × 256^2 = 11,010,048
1 × 256 = 256
1 = 1
Total = 3,232,235,777

That is why 192.168.1.1 becomes 3232235777.

Common IPv4 Decimal Values

IPv4 Address
Decimal
0.0.0.0
0
127.0.0.1
2,130,706,433
192.168.1.1
3,232,235,777
255.255.255.255
4,294,967,295

IP to Decimal FAQs

Is the result signed or unsigned?

Unsigned. Valid IPv4 addresses can exceed the positive range of a signed 32-bit integer.

Why does 255.255.255.255 become such a large number?

Because it is the maximum possible 32-bit unsigned IPv4 value: 4294967295.

Does this work for IPv6?

No. IPv6 uses 128 bits and needs a different conversion model.

Why show the binary reference too?

It helps confirm how the same address is laid out at the byte level before being combined into one integer.

Related Tools