Home · Everyday · Tech, Text & Media · IP Address Converter

IP Address Converter

An IPv4 address as an integer, in hex or in binary — and back — the same 32 bits in four notations.

Your figures

Example result — edit the figures to make it yours

3232235777

Integer form

An IPv4 address is a 32-bit number; the dotted form is just its four bytes written in decimal. All three representations name the same address.

Integer3232235777
Hexadecimal0xC0A80101

What this calculator does

An IPv4 address as an integer, in hex or in binary — and back — the same 32 bits in four notations. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

Dotted-quad = the four bytes of a 32-bit number in decimal

The subnet is computed from the address and prefix length; the network address zeroes the host bits.

Usable hosts exclude the network and broadcast addresses (except /31 and /32 point-to-point cases).

IPv4 addresses are 32-bit numbers, which is what the converter shows.

Worked example

With the example inputs this page opens with (integer 3232235777), the result is 3232235777 — integer form. An IPv4 address is a 32-bit number; the dotted form is just its four bytes written in decimal. All three representations name the same address.

Quick reference

Quick reference — varying integer
IntegerInteger form
1616117888.53232235777
2585788621.63232235777
32322357773232235777
4040294721.253232235777
4848353665.53232235777
64644715543232235777

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the IP Address Converter work?

An IPv4 address as an integer, in hex or in binary — and back — the same 32 bits in four notations. Address or integer · Direction → Converted. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the IP Address Converter need?

Address or integer · Direction → Converted. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the IP Address Converter free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.