How the run rate is worked out
Current run rate is runs divided by overs. The catch is the overs figure: on a scoreboard 14.2 means 14 overs and 2 balls, which is 86 balls or 14⅓ overs, not fourteen point two. The calculator turns overs into balls first, so 112 runs off 14.2 overs is 112 × 6 ÷ 86 = 7.81 an over. Dividing by 14.2 would give 7.89.
Required run rate is the runs still needed divided by the overs left. The target is one more than the side batting first made: 170 sets a target of 171. Needing 59 with 34 balls left (5.4 overs) means 59 × 6 ÷ 34 = 10.41 an over.
Projected total adds what the remaining balls would bring at a steady rate. At the current 7.81 an over, 34 more balls add about 44 runs, for 156. The fixed rates beside it (6, 8, 10 and 12 an over in a 20-over game, 4 to 7 in a 50-over game) are the comparison a broadcaster shows.
Wides and no-balls add runs but don't count as balls of the over, so take the runs and overs straight from the scoreboard and the sums come out right. An innings ends at ten wickets or when its overs run out; then the board shows the outcome instead of a projection.