# Mining Calculator

Estimating Riecoin earnings precisely is very difficult, and the best way is to actually mine during some time and use these results. You will find below a calculator that estimates the earnings.

Start mining with rieMiner (be sure to read the instructions carefully). This calculator is only valid for rieMiner 0.92.

With at .

## How it works

This calculator is based on a few measures, empirical observations and some assumptions. It is an application of the principles explained here.

• The calculator assumes default parameters; tweaking the rieMiner.conf may yield better or worse results, alter the ratios and c/s;
• For each relevant architecture, a normalized rieMiner Benchmark (at Difficulty 1024) was run with a representative processor if available, and from the benchmark result, a value a which would be the c/s for 1 core (without HT/SMT) at 1 GHz was extrapolated and associated to the architecture. HT/SMT speedups t were also estimated. If such processor was not available, a was estimated according to IPC reports from various sources. You can see the benchmarks here;
• It is assumed that the performance scales proportionally to the frequency f and number c of cores. In practice, starting from ~16 cores or at very low Difficulties, there may be some parallelization issues (CPU Underuse). Some trial and error adjustments were done for Difficulties < 1024;
• Empirical testing showed that the actual mining difficulty with the rieMiner's algorithm is proportional to the Difficulty to the power 7 + ~2.2-2.6 (9.3 in the calculator). The c/s alone would be proportional to the Difficulty to the power ~2.2-2.6;
• Due to how the algorithm is constructed, the n/(n + 1)-tuples ratios do not depend on n (if rieMiner finds a 2-tuple every 20 prime numbers, it would find a block every 20 6-tuples). It is however proportional to the difficulty (at 1024, the ratio is ~18.546).

From these points, it is fairly easy to extrapolate the number bpd0 of blocks found per day at Difficulty 1024: bpd0 = 86400*a*t*c*f/18.546^7. Due to the fact that a smaller Primorial has to be used while Mining, the performance is a bit lower at the current difficulties, and the bpd0 value is reduced by 20% in the calculator to take this in account. The second-to-last point gives an easy way to estimate the blocks/day bpd for a given Difficulty d, bpd = bpd0/(d/1024)^9.3. Calculating the earnings in RIC, BTC, and USD is now trivial.