user128423: I have been struggling with this quite a bit. From what I understand is that a miner generates nonces to find a nonce that is smaller than the target hash. However, how does one determine the size of that nonce/hash? Does every digit has a different size or how should I interpret this?

user13866: 
From what I understand is that a miner generates nonces to find a nonce that is smaller than the target hash.

No a miner repeatedly assembles data and chooses a value for one datum called a nonce, then calculates the hash of this data (including the nonce). The miner repeats this until the calculated hash, not the nonce, is smaller than the target value.

However, how does one determine the size of that nonce/hash?

The hash is a number. You can compare numbers numerically to see which is larger. For example, 52 is smaller than 57. The original code was
if (hash <= hashTarget)

See How does solving a block work in relation to the first letter/number after the 0's?

128423: <p>I have been struggling with this quite a bit. From what I understand is that a miner generates nonces to find a nonce that is smaller than the target hash. However, how does one determine the size of that nonce/hash? Does every digit has a different size or how should I interpret this?</p>
 13866: <blockquote>
<p><strong>From what I understand is that a miner generates nonces to find a nonce that is smaller than the target hash.</strong></p>
</blockquote>
<p>No a miner repeatedly assembles data and chooses a value for one datum called a nonce, then calculates the hash of this data (including the nonce). The miner repeats this until the calculated <strong>hash</strong>, not the nonce, is smaller than the target value.</p>
<blockquote>
<p><strong>However, how does one determine the size of that nonce/hash?</strong></p>
</blockquote>
<p>The hash is a number. You can compare numbers numerically to see which is larger. For example, 52 is smaller than 57. The original code was</p>
<pre><code>if (hash &lt;= hashTarget)
</code></pre>
<p>See <a href="https://bitcoin.stackexchange.com/q/102414/13866">How does solving a block work in relation to the first letter/number after the 0&#39;s?</a></p>
