How Net Run Rate is Calculated in Cricket

Cricket Net Run Rate (NRR) Calculator .nrr-calculator-container { max-width: 800px; margin: 0 auto; padding: 20px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #333; background: #fdfdfd; border: 1px solid #e0e0e0; border-radius: 8px; } .nrr-header { text-align: center; margin-bottom: 30px; background-color: #0b4f28; /* Cricket Green */ color: white; padding: 20px; border-radius: 6px; } .nrr-header h2 { margin: 0; font-size: 24px; } .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } @media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } } .input-group { margin-bottom: 15px; } .input-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; } .input-group input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 16px; box-sizing: border-box; } .input-group .hint { font-size: 12px; color: #666; margin-top: 4px; display: block; } .calc-btn { display: block; width: 100%; background-color: #d32f2f; /* Cricket Ball Red */ color: white; border: none; padding: 15px; font-size: 18px; font-weight: bold; border-radius: 4px; cursor: pointer; margin-top: 20px; transition: background-color 0.3s; } .calc-btn:hover { background-color: #b71c1c; } .result-box { margin-top: 25px; padding: 20px; background-color: #e8f5e9; border: 1px solid #c8e6c9; border-radius: 4px; display: none; } .result-value { font-size: 32px; font-weight: bold; text-align: center; color: #0b4f28; margin: 10px 0; } .result-breakdown { font-size: 14px; color: #555; border-top: 1px solid #ccc; margin-top: 15px; padding-top: 15px; } .article-content { margin-top: 40px; line-height: 1.6; } .article-content h3 { color: #0b4f28; border-bottom: 2px solid #ddd; padding-bottom: 10px; margin-top: 30px; } .article-content p { margin-bottom: 15px; } .article-content ul { margin-bottom: 15px; padding-left: 20px; } .example-box { background: #f5f5f5; padding: 15px; border-left: 4px solid #0b4f28; margin: 20px 0; }

Net Run Rate (NRR) Calculator

Calculate team standings for IPL, World Cup, and League Cricket

Total runs your team has made in the tournament.
Use standard notation (e.g. 10.4 is 10 overs 4 balls). If All Out, enter full quota.
Total runs scored by opponent teams against you.
Total overs your team has bowled.
Your Net Run Rate
0.000

How is Net Run Rate (NRR) Calculated in Cricket?

Net Run Rate (NRR) is the preferred method for ranking cricket teams with equal points in limited-overs tournaments like the ICC World Cup, T20 World Cup, and leagues like the IPL. It serves as a tie-breaker by analyzing a team's scoring rate relative to how quickly they concede runs.

The NRR Formula

The calculation involves two primary components: your team's scoring rate and the rate at which you concede runs.

NRR = (Run Rate For) – (Run Rate Against)

Where:
  • Run Rate For: Total Runs Scored ÷ Total Overs Faced
  • Run Rate Against: Total Runs Conceded ÷ Total Overs Bowled

Critical Rule: The "All Out" Scenario

There is one crucial rule that often confuses fans. If a team is bowled out (all out) before completing their full quota of overs (e.g., all out in 35 overs in a 50-over match), the calculation does not use the actual overs faced (35). Instead, it uses the full quota of overs (50).

This penalizes teams for losing wickets quickly and prevents a team from artificially inflating their run rate by getting out fast while slogging.

Calculation Example

Let's assume Team A has played 2 matches in a T20 tournament:

  • Match 1: Scored 180/4 in 20 overs. Conceded 160/8 in 20 overs.
  • Match 2: Scored 150/10 (All Out) in 18 overs. Conceded 140/5 in 20 overs.

Step 1: Calculate "For" Metrics

  • Total Runs Scored: 180 + 150 = 330 runs.
  • Total Overs Faced: 20 (Match 1) + 20 (Match 2, due to All Out rule) = 40 overs.
  • Run Rate For: 330 / 40 = 8.25

Step 2: Calculate "Against" Metrics

  • Total Runs Conceded: 160 + 140 = 300 runs.
  • Total Overs Bowled: 20 + 20 = 40 overs.
  • Run Rate Against: 300 / 40 = 7.50

Step 3: Final NRR

NRR = 8.25 – 7.50 = +0.750

Why NRR Can Be Negative

If your team concedes runs faster than it scores them, the result will be negative. A negative NRR puts a team at a significant disadvantage on the points table compared to teams with positive NRR.

function calculateCricketNRR() { // Get input values var runsScored = document.getElementById('runsScored').value; var oversFaced = document.getElementById('oversFaced').value; var runsConceded = document.getElementById('runsConceded').value; var oversBowled = document.getElementById('oversBowled').value; // Validation if (runsScored === "" || oversFaced === "" || runsConceded === "" || oversBowled === "") { alert("Please fill in all fields to calculate NRR."); return; } var rScored = parseFloat(runsScored); var oFaced = parseFloat(oversFaced); var rConceded = parseFloat(runsConceded); var oBowled = parseFloat(oversBowled); // Helper function to convert cricket overs (e.g., 10.4) to decimal (10.666) function convertOversToDecimal(oversInput) { var oversInt = Math.floor(oversInput); // Get the decimal part, multiply by 10 to get balls (e.g., 0.4 -> 4) // Fix floating point precision issues var balls = Math.round((oversInput – oversInt) * 10); // Standard cricket balls are 0-5. If user enters .6, treat as next over or invalid. // Here we assume standard valid input. 6 balls = 1 over. var ballsFraction = balls / 6; return oversInt + ballsFraction; } var facedDecimal = convertOversToDecimal(oFaced); var bowledDecimal = convertOversToDecimal(oBowled); if (facedDecimal === 0 || bowledDecimal === 0) { alert("Overs cannot be zero."); return; } // Calculate Run Rates var runRateFor = rScored / facedDecimal; var runRateAgainst = rConceded / bowledDecimal; // Calculate NRR var nrr = runRateFor – runRateAgainst; // Display results var resultBox = document.getElementById('resultBox'); var nrrDisplay = document.getElementById('nrrResult'); var breakdown = document.getElementById('breakdown'); resultBox.style.display = "block"; // Formatting NRR: Always show + sign if positive, usually 3 decimal places var sign = nrr > 0 ? "+" : ""; nrrDisplay.innerHTML = sign + nrr.toFixed(3); // Dynamic styling for positive/negative if (nrr >= 0) { nrrDisplay.style.color = "#0b4f28"; // Green } else { nrrDisplay.style.color = "#d32f2f"; // Red } // Detailed Breakdown breakdown.innerHTML = "Breakdown:" + "Run Rate For: " + rScored + " / " + facedDecimal.toFixed(4) + " = " + runRateFor.toFixed(4) + "" + "Run Rate Against: " + rConceded + " / " + bowledDecimal.toFixed(4) + " = " + runRateAgainst.toFixed(4) + "" + "(" + runRateFor.toFixed(4) + " – " + runRateAgainst.toFixed(4) + " = " + nrr.toFixed(4) + ")"; }

Leave a Comment