There are more Bitcoin private keys than there are grains of sand on Earth

Two to the power of two hundred and fifty-six (2²⁵⁶). That’s how many private keys are possible on the Bitcoin network, but what does that mean for your wallet’s security?

The title of this article is not hyperbole, there are more possibilities for Bitcoin private keys than there are grains of sand on Earth. Or, in other words, it is easier for you to find a specific grain of sand in the world than to find my wallet key and steal my bitcoins.

How many grains of sand are there in the world?

Grains of sand. Photo: Unsplash.

Obviously we won’t have an exact answer for this, but it is possible to estimate the order of magnitude of this number.

According to an estimate published in “State of art“, there are about ten to the power of twenty-three (10²³) grains of sand on Earth. The calculation to estimate this order of magnitude comes from the assumption that all coasts in the world are surrounded by beaches 100 meters wide and 10 meters deep.

Taking into account that they estimate that there are about 1,000,000 kilometers of total length of coastline in the world, this would result in a volume of sand on the planet of one thousand billion cubic meters. Assuming an average grain size of 0.2 millimeters, we have 100 billion grains of sand per cubic meter.

The accounts arrived at the result reported above. But going through this whole account is interesting to give you a sense of how big this number really is.

Now imagine a number 10000000000000000000000000000000000000000000000000000000 times larger (this number contains 54 zeros after the 1).

How many private keys are possible on the Bitcoin network

bitcoin private keys
Keys and Bitcoin. Photo: Unsplash

Creating a Bitcoin wallet is just generating a private key associated with a public key, which in turn can generate receiving addresses. But generating a private key is simply choosing one out of 2²⁵⁶ (which can also be written as 10⁷⁷) possible choices and proceeding to use it.

But, unlike what most people might think, it’s not like picking a grain of sand and putting it in your pocket. It’s like picking a grain of sand and throwing it back on the beach. Theoretically anyone can find the same private key you use.

Nothing prevents a malicious agent from walking along “Bitcoin beach” and hunting for grains of sand that are associated with a wallet with a balance. This is what we call a brute force attack.

But what is the chance of a brute force attack succeeding? Extremely low. It is practically impossible for an attacker to succeed in finding your private key, and the explanation for this is this huge number of possibilities.

According to calculations previously shared on Cointimes, a computer would need 200,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000 years to break a private key in brute force.

This attack has a cost of three hundred and forty eight decillion reais. By the way, forget about grains of sand, it’s easier to look for an atom in a galaxy than it is to find the private key of a Bitcoin wallet.

But, as a popular saying goes, a string always breaks on the weaker side. It’s no use being enchanted by all this security and being vulnerable to a $5 dollar attack. Learn about the $5 attack that can take your bitcoins forever by clicking here.

See too:

Buy and Sell Bitcoin and Other Cryptocurrencies on Coinext
The complete broker to safely and conveniently invest in the most traded cryptocurrencies in the world.
Sign up and see how simple it is, go to:


Thomas Miles

Cryptocurrency is the most recently discovered currency which will be likely at the help of modernization across the next few decades. With a limited control from the government, the crypto market is independent of many features of a sound market as we know it. Thomas brings these stories to us by weaving them into articles of general importance to all those looking at the fluctuations in the market, or new entries. Thomas is also the founder of Bulletin Bits and is an excellent leader. His leadership is the kind that makes him the most knowledgeable and experienced on the team. His wonderful work ethic and attitude are worthy of imitation!

Leave a Reply

Your email address will not be published.