Run Rate Cricket Calculator

.cricket-calc-container { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; max-width: 800px; margin: 20px auto; padding: 25px; border: 1px solid #ddd; border-radius: 12px; background-color: #f9f9f9; color: #333; box-shadow: 0 4px 15px rgba(0,0,0,0.05); } .cricket-calc-container h2 { color: #1a5e20; text-align: center; margin-bottom: 25px; } .calc-section { background: #fff; padding: 20px; border-radius: 8px; margin-bottom: 20px; border-left: 5px solid #1a5e20; } .calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; } .input-group { display: flex; flex-direction: column; } .input-group label { font-size: 14px; font-weight: 600; margin-bottom: 5px; color: #555; } .input-group input { padding: 10px; border: 1px solid #ccc; border-radius: 6px; font-size: 16px; } .calc-btn { background-color: #1a5e20; color: white; border: none; padding: 12px 20px; border-radius: 6px; cursor: pointer; font-size: 16px; font-weight: bold; width: 100%; transition: background 0.3s; } .calc-btn:hover { background-color: #2e7d32; } .result-box { margin-top: 15px; padding: 15px; background: #e8f5e9; border-radius: 6px; text-align: center; font-weight: bold; font-size: 18px; color: #1b5e20; display: none; } .article-content { margin-top: 30px; line-height: 1.6; color: #444; } .article-content h3 { color: #1a5e20; margin-top: 25px; } .article-content ul { padding-left: 20px; } @media (max-width: 600px) { .calc-grid { grid-template-columns: 1fr; } }

Run Rate Cricket Calculator

Calculate Current Run Rate (CRR)

Calculate Required Run Rate (RRR)

What is Run Rate in Cricket?

In cricket, the Run Rate (RR) is the average number of runs scored per over by a batting side. It is a vital statistic used to measure the scoring pace of a team during an innings. Whether it's a T20 match, an ODI, or a Test match, understanding the run rate helps fans and players gauge the momentum of the game.

How is Run Rate Calculated?

The formula for Run Rate is simple: Total Runs Scored / Total Overs Faced. However, there is a catch when dealing with partial overs. In cricket, an over consists of 6 balls. Therefore, 10.1 overs means 10 overs and 1 ball, not 10.1 in decimal terms.

To calculate accurately, you must convert the balls into a decimal of 6:

  • .1 over = 1/6 = 0.166
  • .2 overs = 2/6 = 0.333
  • .3 overs = 3/6 = 0.500
  • .4 overs = 4/6 = 0.666
  • .5 overs = 5/6 = 0.833

Required Run Rate (RRR)

The Required Run Rate is the pace at which the team batting second must score to reach the target set by the team batting first. It is calculated by dividing the remaining runs needed by the number of overs remaining in the innings.

Formula: (Target Runs – Current Runs) / Overs Remaining.

Example Calculation

If a team is chasing 300 runs and they have scored 150 runs in 25 overs:

  • Runs Required: 300 – 150 = 150
  • Overs Remaining: 25
  • RRR: 150 / 25 = 6.00 runs per over.

Why Does Net Run Rate (NRR) Matter?

In tournaments, Net Run Rate acts as a tie-breaker. It is calculated by subtracting the average runs per over conceded by a team from the average runs per over scored by that team throughout the tournament. A positive NRR suggests a team is performing better than their opponents on average.

function cricketOversToDecimal(oversInput) { var oversString = oversInput.toString(); var parts = oversString.split('.'); var wholeOvers = parseInt(parts[0]) || 0; var balls = 0; if (parts.length > 1) { balls = parseInt(parts[1].substring(0, 1)) || 0; } // Handle case where user might enter .6 or more if (balls >= 6) { wholeOvers += Math.floor(balls / 6); balls = balls % 6; } return wholeOvers + (balls / 6); } function calculateCRR() { var runs = parseFloat(document.getElementById('crr_runs').value); var oversRaw = document.getElementById('crr_overs').value; var resultDiv = document.getElementById('crr_result'); if (isNaN(runs) || isNaN(parseFloat(oversRaw)) || parseFloat(oversRaw) <= 0) { resultDiv.style.display = 'block'; resultDiv.innerHTML = "Please enter valid numbers."; resultDiv.style.color = "red"; return; } var decimalOvers = cricketOversToDecimal(oversRaw); var crr = runs / decimalOvers; resultDiv.style.display = 'block'; resultDiv.style.color = "#1b5e20"; resultDiv.innerHTML = "Current Run Rate (CRR): " + crr.toFixed(2); } function calculateRRR() { var target = parseFloat(document.getElementById('rrr_target').value); var current = parseFloat(document.getElementById('rrr_current').value); var oversRemRaw = document.getElementById('rrr_overs_rem').value; var resultDiv = document.getElementById('rrr_result'); if (isNaN(target) || isNaN(current) || isNaN(parseFloat(oversRemRaw)) || parseFloat(oversRemRaw) <= 0) { resultDiv.style.display = 'block'; resultDiv.innerHTML = "Please enter valid numbers."; resultDiv.style.color = "red"; return; } var runsNeeded = target – current; if (runsNeeded <= 0) { resultDiv.style.display = 'block'; resultDiv.innerHTML = "Target already achieved!"; resultDiv.style.color = "#1b5e20"; return; } var decimalOversRem = cricketOversToDecimal(oversRemRaw); var rrr = runsNeeded / decimalOversRem; resultDiv.style.display = 'block'; resultDiv.style.color = "#1b5e20"; resultDiv.innerHTML = "Required Run Rate (RRR): " + rrr.toFixed(2); }

Leave a Comment