# Profitability Calculator

## How to use it

Estimating Riecoin earnings is very difficult, unless you run your miner during a really long time. This profitability calculator allows you to estimate how many Riecoins you would earn.

For this, you will need to fix a difficulty, and then do a Benchmark with rieMiner↗️. It will give you the required block(s)/day metric to calculate your earnings.

block(s)/day

## Sample Standard Benchmark values

Done with rieMiner 0.9, 100000 2-tuples. Data: primes/s, ratio -> block(s)/day.

• AMD Ryzen R7 2700X @4 GHz, DDR4 2400 CL15: 0.990626
• AMD Ryzen R7 2700X @3 GHz, DDR4 2400 CL15: 0.748018
• Intel Core i7 6700K @3 GHz, DDR4 2400 CL15: 0.383791

## How it works

rieMiner estimates the block(s) found per day speed while benchmarking from the number s of primes (1-tuples) found per s and the ratio r between the 1-tuples/s and 2-tuples/s find rate. It was empirically determined that the ratios do not depend whether it is this one or the 5 to 6-tuples/s one instead, so we can extrapolate fairly easily the number bpd1 of blocks found per day for the testing difficulty d1: bpd1 = 86400*s/r^5.

Then, the calculator

• Calculates how more or less difficult is to mine at the projected difficulty d2. Theoretically, we should be able to assume that the ratio from the Benchmark difficulty d1 is given by f = (d2/d1)^6 as corollary of the Hardy-Littlewood k-tuple conjecture. In practice, empirical testing in rieMiner seem to indicate a power to ~8 instead for some reason. So, f = (d2/d1)^8;
• Computes the block(s)/day metric bpd2 for difficulty d2: bpd2 = bpd1/f;
• Computes the earnings e = r*bpd2 in Riecoins/day, Bitcoins/day and dollars/day (r is the block reward, i.e. 25 RIC).