6

I've heard it is not profitable to mine bitcoins on a regular computer via CPU anymore. I accept that.

However, if you did install a miner onto a regular computer and that computer randomly generated "guesses" 24/7 (in a non-sequential fashion). Isn't it quite possible that it could make a lucky guess and beat everyone else mining?

Or, is that absolutely impossible?

I'm thinking about trying my luck at this (without joining a pool) (for fun) if it is possible. If impossible, then please explain why.

3
  • 3
    It is possible that the very first hash it tries could be successful, and then it "earns" 12.5 BTC for a few seconds of work. However, the odds of that happening are roughly larger than the age of the universe.
    – abelenky
    Dec 16, 2017 at 0:49
  • 1
    @abelenky: "the odds of that happening are roughly larger than the age of the universe". Ever heard of dimensional analysis? Dec 16, 2017 at 10:01
  • Possible duplicate of bitcoin.stackexchange.com/questions/24185/lottery-mining
    – Murch
    Feb 9, 2020 at 17:52

2 Answers 2

7

It is theoretically possible.

Blockchain.com estimates that the hashrate of bitcoin is 13,000,000,000,000,000,000 hashes/second. Any one of those hashes could be "The lucky one" that earns 12.5BTC. Your CPU can get on the order of 2,000,000 hashes/second (plus or minus). This means your computer has roughly a 1 in 65,000,000,000,000 chance of being the lucky one that mines the block. The remaining 64,999,999,999,999 times, it's someone else (typically someone with a huge ASIC rig). If you mined for a billion years, you could actually expect to mine a block (using "expect" as in the statistical "expectation" of a random variable).

A bitcoin block is mined roughly every 10 minutes. At $20k per bitcoin (extrapolating a bit, based on its current excitement), that's $250k generated every 10 minutes. You have a 1 in 65,000,000,000,000 chance of being that one. Accordingly, your expected earnings (due to that random luck chance of getting the right chance) is .0000003846 cents/10minutes, or .0000023 cents/hr. If you are spending more on electricity than that, you're wasting your money.

1
  • 1
    Mathemagician! !
    – David
    Jan 12, 2018 at 22:39
10

It is of course possible... however it is incredibly unlikely!

Mining with a CPU has not been profitable since the earliest days of bitcoin, the expected time to find a block is likely on the order of centuries at this point, and by that time you'll have burned much more in electricity costs than the eventual block reward.

So, as an experiment you could try, but if it costs you even just $5 worth of electricity a month, you would actually have better odds spending that money on a lottery ticket!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.