Thanks for the answer.
Yes I'm solo mining. I just thought that by the achieved difficulty of the share there was a way to find out how many leading zeros the hash created had. Just out of curiosity.
Share difficulty setting is on auto and adjusts to 1 since it's not a powerful device
Still it sometimes happens that the share has a difficulty of 500/1 or apparently one time even 16 million.
So you mean that it's a chances of finding blocks the leading zeros might be " fail finding blocks"?
The chances of finding blocks on solo mining is pretty small that is why most of solo mining only mine for lottery.
If you have a big farm you have a big chance to find blocks to mine. The time or leading zeroes is depends in your hashrate and difficulty to find a valid block.
Here's the formula from wiki
time = difficulty * 2**32 / hashrate where 'difficulty' is the current cryptocurrency difficulty level of BTC difficulty network and 'hashrate' is the amount of hashes a miner finds per second.
Source:
https://en.bitcoinwiki.org/wiki/Difficulty_in_Mining