Because the reward for mining blocks is so high (currently at 12.5 BTC), the competition to win that reward is also fierce among miners. At any moment, hundreds of thousands of supercomputers all around the world are competing to mine the next block and win that reward. In fact, according to, ” the total power of all the computers mining Bitcoin is over 1000 times more powerful than the world’s top 500 supercomputers combined”.
Bitcoin mining is the process by which the transaction information distributed within the Bitcoin network is validated and stored on the blockchain. Bitcoin mining serves to both add transactions to the block chain and to release new Bitcoin. The concept of Bitcoin mining is simply the process of generating additional Bitcoins until the supply cap of 21 million coins has been reached.  What makes the validation process for Bitcoin different from traditional electronic payment networks is the absence of middle man in the architecture. The process of validating transactions and committing them to the blockchain involves solving a series of specialized math puzzles. In the process of adding transactions to the network and securing them into the blockchain, each set of transactions that are processed is called block, and multiple chains of blocks is referred to as the blockchain.
The Bitcoin mining network difficulty is the measure of how difficult it is to find a new block compared to the easiest it can ever be. It is recalculated every 2016 blocks to a value such that the previous 2016 blocks would have been generated in exactly two weeks had everyone been mining at this difficulty. This will yield, on average, one block every ten minutes.

Welcome to the Investopedia Bitcoin Center, where you can find the current price of Bitcoin as well as real-time updated news on the world’s most important cryptocurrency. For good or for ill, Bitcoin is being explored by every major world bank and may very well be the backbone of our global financial system in the near future. Use charts, watch videos, learn new Bitcoin related terms, and get all of your questions answered about Bitcoin here at Investopedia.
Bitcoin is an increasingly popular cryptocurrency that utilizes blockchain technology to facilitate transactions. Basically, a user obtains a Bitcoin wallet that can be used for storing bitcoins and both sending and receiving of payments. The blockchain technology used by Bitcoin is really just a shared public ledger that is used by the entire public network. The technology used is secured through cryptography, a branch of mathematics that provides a highly secure means of facilitating and recording transactions on the network.
According to the Internet Watch Foundation, a UK-based charity, bitcoin is used to purchase child pornography, and almost 200 such websites accept it as payment. Bitcoin isn't the sole way to purchase child pornography online, as Troels Oertling, head of the cybercrime unit at Europol, states, "Ukash and paysafecard... have [also] been used to pay for such material." However, the Internet Watch Foundation lists around 30 sites that exclusively accept bitcoins.[31] Some of these sites have shut down, such as a deep web crowdfunding website that aimed to fund the creation of new child porn.[47][better source needed] Furthermore, hyperlinks to child porn websites have been added to the blockchain as arbitrary data can be included when a transaction is made.[48][49]

As more and more miners competed for the limited supply of blocks, individuals found that they were working for months without finding a block and receiving any reward for their mining efforts. This made mining something of a gamble. To address the variance in their income miners started organizing themselves into pools so that they could share rewards more evenly. See Pooled mining and Comparison of mining pools.
Jump up ^ Beikverdi, A.; Song, J. (June 2015). "Trend of centralization in Bitcoin's distributed network". 2015 IEEE/ACIS 16th International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing (SNPD): 1–6. doi:10.1109/SNPD.2015.7176229. ISBN 978-1-4799-8676-7. Archived from the original on 26 January 2018.
Yes it can—but it won’t do it much good. The reason is that Google’s servers aren’t fit for solving the Bitcoin mining problem in the same way that ASICs are. For reference, if Google harnesses all of its servers for the sole purpose of mining Bitcoin (and abandons all other business operations), it will account for a very small percent (less than 0.001%) of the total mining power the Bitcoin network currently has.
Your machine, right now, is actually working as part of a bitcoin mining collective that shares out the computational load. Your computer is not trying to solve the block, at least not immediately. It is chipping away at a cryptographic problem, using the input at the top of the screen and combining it with a nonce, then taking the hash to try to find a solution. Solving that problem is a lot easier than solving the block itself, but doing so gets the pool closer to finding a winning nonce for the block. And the pool pays its members in bitcoins for every one of these easier problems they solve.

But due to the volatility of bitcoin, it’s impossible to predict the annual revenue of a mining farm. On my flight from China back to the United States, the price of bitcoin crashed 25 percent, from $2,400 to $1,800. In no time at all the operation I visited was bringing in $50,000 less per day. Within a week it was back up, and approaching an all-time high.
While senders of traditional electronic payments are usually identified (for verification purposes, and to comply with anti-money laundering and other legislation), users of bitcoin in theory operate in semi-anonymity. Since there is no central "validator," users do not need to identify themselves when sending bitcoin to another user. When a transaction request is submitted, the protocol checks all previous transactions to confirm that the sender has the necessary bitcoin as well as the authority to send them. The system does not need to know his or her identity.
Every 2,016 blocks (approximately 14 days at roughly 10 min per block), the difficulty target is adjusted based on the network's recent performance, with the aim of keeping the average time between new blocks at ten minutes. In this way the system automatically adapts to the total amount of mining power on the network.[3]:ch. 8 Between 1 March 2014 and 1 March 2015, the average number of nonces miners had to try before creating a new block increased from 16.4 quintillion to 200.5 quintillion.[80]
Bitcoin Mining is a peer-to-peer computer process used to secure and verify bitcoin transactions—payments from one user to another on a decentralized network. Mining involves adding bitcoin transaction data to Bitcoin's global public ledger of past transactions. Each group of transactions is called a block. Blocks are secured by Bitcoin miners and build on top of each other forming a chain. This ledger of past transactions is called the blockchain. The blockchain serves to confirm transactions to the rest of the network as having taken place. Bitcoin nodes use the blockchain to distinguish legitimate Bitcoin transactions from attempts to re-spend coins that have already been spent elsewhere.
The process of mining bitcoins works like a lottery. Bitcoin miners are competing to produce hashes—alphanumeric strings of a fixed length that are calculated from data of an arbitrary length. They’re producing the hashes from a combination of three pieces of data: new blocks of Bitcoin transactions; the last block on the blockchain; and a random number. These are collectively referred to as the “block header” for the current block. Each time miners perform the hash function on the block header with a new random number, they get a new result. To win the lottery, a miner must find a hash that begins with a certain number of zeroes. Just how many zeroes are required is a shifting parameter determined by how much computing power is attached to the Bitcoin network. Every two weeks, on average, the mining software automatically readjusts the number of leading zeros needed—the difficulty level—by looking at how fast new blocks of Bitcoin transactions were added. The algorithm is aiming for a latency of 10 minutes between blocks. When miners boost the computing power on the network, they temporarily increase the rate of block creation. The network senses the change and then ratchets up the difficulty level. When a miner’s computer finds a winning hash, it broadcasts the block header to its next peers in the Bitcoin network, which check it and then propagate it further.
In the earliest days of Bitcoin, mining was done with CPUs from normal desktop computers.  Graphics cards, or graphics processing units (GPUs), are more effective at mining than CPUs and as Bitcoin gained popularity, GPUs became dominant.  Eventually, hardware known as an ASIC, which stands for Application-Specific Integrated Circuit, was designed specifically for mining bitcoin.  The first ones were released in 2013 and have been improved upon since, with more efficient designs coming to market.  Mining is competitive and today can only be done profitably with the latest ASICs.  When using CPUs, GPUs, or even the older ASICs, the cost of energy consumption is greater than the revenue generated.
Transactions are defined using a Forth-like scripting language.[3]:ch. 5 Transactions consist of one or more inputs and one or more outputs. When a user sends bitcoins, the user designates each address and the amount of bitcoin being sent to that address in an output. To prevent double spending, each input must refer to a previous unspent output in the blockchain.[67] The use of multiple inputs corresponds to the use of multiple coins in a cash transaction. Since transactions can have multiple outputs, users can send bitcoins to multiple recipients in one transaction. As in a cash transaction, the sum of inputs (coins used to pay) can exceed the intended sum of payments. In such a case, an additional output is used, returning the change back to the payer.[67] Any input satoshis not accounted for in the transaction outputs become the transaction fee.[67]