The classic internet addressing system, IPv4, uses 32-bit addresses. How many different addresses does that allow?

Try it yourself first

💾 Tech · addresses

Enter an estimate in addresses.

Your estimateType 5k, 3.2m, 7e9, or drag the slider.
Notepad

End a line with = to calculate it.

Show the answer and the method

Answer

About 4.3 billion addresses

The central pool of free addresses ran dry in 2011, and blocks of them are now bought and sold for tens of dollars per address.

How to estimate it

Each bit doubles the number of possible addresses, so the answer is 2 multiplied by itself 32 times. A handy shortcut: 2^10 is 1,024, about a thousand. So 2^30 is about a billion, and 2^32 is 4 times that: roughly 4 billion. The exact value is 4,294,967,296, or about 4.3 billion addresses, fewer than one per living person.

Source: IETF RFC 791; IANA

More questions: Tech

Question libraryDaily Question