How long to mine 1 bitcoin?

Here is an estimated answer on how long to mine 1 bitcoin.

The time it takes to mine a single bitcoin block has no definitive answer. This is because it is primarily influenced by something called the mining difficulty. It is a dynamic parameter that controls the hash power required to mine 1 bitcoin block.
However, it is said that new bitcoins are generated every 10 minutes on average, considering that you sufficient computation power on your equipment and network. Keep in mind, however, that this is only an estimated timeframe for miners and it can take more or less than 10 minutes to mine a single bitcoin, depending on the kind of equipment you use.
For instance, mining a single block of bitcoin without powerful equipment can take you years without even mining one. When you do this, the power consumption that made for all those years outweighs that one bitcoin that you generated.