I've seen this question but unfortunately it doesn't contain an answer to my question.

The question is: how can I calculate actual hashrate of the whole network? As far as I understand, it depends on difficulty in some way but I can not understand that dependency.

1 Answer 1


The hash rate can only be estimated from the difficulty, which is itself adjusted up and down based on how fast blocks are found compared to the 120 second target. This estimation is the difficulty (currently 7462457559) divided by the target (currently 120 seconds), so currently about 62 MH/s.

  • Great, thank you. And what is the magic number 120? Is this target hardcoded somewhere in Monero software or it depends on some conditions in external world? Commented Apr 28, 2017 at 0:46
  • 1
    Moneros network tries to maintain 120 second block times (its block target) so the difficulty adjusts dynamically based on the MH/s of the network.
    – Studnt
    Commented Apr 28, 2017 at 6:18
  • @ValeryRyaboshapko Yes it's hardcoded - you can find it in the DIFFICULTY_TARGET_V2 constant in the code.
    – assylias
    Commented Apr 28, 2017 at 8:28

Your Answer

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

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