Net Run Rate Cricket Calculator

.nrr-calculator-container { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; max-width: 800px; margin: 20px auto; padding: 25px; border: 1px solid #e1e4e8; border-radius: 12px; background-color: #ffffff; box-shadow: 0 4px 6px rgba(0,0,0,0.05); } .nrr-calc-header { text-align: center; margin-bottom: 30px; } .nrr-calc-header h2 { color: #1a472a; margin-bottom: 10px; } .nrr-input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 25px; } .nrr-input-group { display: flex; flex-direction: column; } .nrr-input-group label { font-weight: 600; margin-bottom: 8px; color: #333; font-size: 14px; } .nrr-input-group input { padding: 12px; border: 2px solid #ddd; border-radius: 6px; font-size: 16px; transition: border-color 0.3s; } .nrr-input-group input:focus { border-color: #2e7d32; outline: none; } .nrr-calc-btn { width: 100%; background-color: #2e7d32; color: white; padding: 15px; border: none; border-radius: 6px; font-size: 18px; font-weight: bold; cursor: pointer; transition: background-color 0.3s; } .nrr-calc-btn:hover { background-color: #1b5e20; } .nrr-result-box { margin-top: 25px; padding: 20px; border-radius: 8px; text-align: center; display: none; } .nrr-positive { background-color: #e8f5e9; border: 1px solid #c8e6c9; color: #2e7d32; } .nrr-negative { background-color: #ffebee; border: 1px solid #ffcdd2; color: #c62828; } #nrrValue { font-size: 32px; font-weight: 800; display: block; margin-top: 5px; } .nrr-article { margin-top: 40px; line-height: 1.6; color: #444; } .nrr-article h2, .nrr-article h3 { color: #1a472a; } .nrr-example { background: #f9f9f9; padding: 15px; border-left: 4px solid #2e7d32; margin: 20px 0; } @media (max-width: 600px) { .nrr-input-grid { grid-template-columns: 1fr; } }

Cricket Net Run Rate Calculator

Calculate your team's NRR for IPL, ICC World Cup, or local tournaments.

Your Team's Net Run Rate: 0.000

What is Net Run Rate (NRR) in Cricket?

Net Run Rate (NRR) is a statistical method used in cricket to rank teams with equal points in league tables. It is primarily used in limited-overs cricket formats like One Day Internationals (ODI) and T20s (including the IPL). Essentially, it measures how much faster or slower a team scores compared to the rate at which they concede runs.

The Net Run Rate Formula

The formula for NRR is calculated as follows:

NRR = (Average Runs Scored Per Over) – (Average Runs Conceded Per Over)

To calculate the average runs per over, you divide the total runs scored by the total overs faced. However, there is a crucial "All Out" rule to remember.

The "All Out" Rule

If a team is bowled out before completing their full quota of overs (e.g., bowled out in 18 overs in a 20-over match), the calculation for NRR uses the full quota of overs (20 overs) for that innings. This penalizes the team for losing all their wickets by assuming they used all their available resources.

Step-by-Step Calculation Example

Scenario: Team A plays one T20 match.

  • Team A scores 160 runs in 20 overs.
  • They bowl out Team B for 120 runs in 15 overs.

Calculation:

  1. Runs Scored Average: 160 / 20 = 8.00
  2. Runs Conceded Average: 120 / 20 (Note: We use 20 because Team B was all out) = 6.00
  3. Net Run Rate: 8.00 – 6.00 = +2.000

How to Convert Cricket Overs for Math

In cricket, "15.3 overs" means 15 overs and 3 balls. For mathematical calculation, you must convert the balls into a decimal of 6.

  • .1 ball = 0.166
  • .2 balls = 0.333
  • .3 balls = 0.500
  • .4 balls = 0.666
  • .5 balls = 0.833

Our calculator handles this conversion automatically so you can enter overs in the standard cricket format (X.Y).

function convertOversToDecimal(overs) { var oversString = overs.toString(); if (oversString.indexOf('.') === -1) { return parseFloat(overs); } var parts = oversString.split('.'); var wholeOvers = parseFloat(parts[0]); var balls = parseFloat(parts[1]); // Cricket balls can only be 1-5. If someone enters .6, it's a whole over. if (balls >= 6) { wholeOvers += Math.floor(balls / 6); balls = balls % 6; } return wholeOvers + (balls / 6); } function calculateCricketNRR() { var runsScored = parseFloat(document.getElementById('runsScored').value); var rawOversFaced = parseFloat(document.getElementById('oversFaced').value); var runsAgainst = parseFloat(document.getElementById('runsAgainst').value); var rawOversBowled = parseFloat(document.getElementById('oversBowled').value); var resultBox = document.getElementById('resultBox'); var nrrValueDisplay = document.getElementById('nrrValue'); if (isNaN(runsScored) || isNaN(rawOversFaced) || isNaN(runsAgainst) || isNaN(rawOversBowled) || rawOversFaced <= 0 || rawOversBowled 0) { formattedNRR = "+" + formattedNRR; resultBox.className = "nrr-result-box nrr-positive"; } else if (nrr < 0) { resultBox.className = "nrr-result-box nrr-negative"; } else { resultBox.className = "nrr-result-box nrr-positive"; } nrrValueDisplay.innerText = formattedNRR; resultBox.style.display = "block"; }

Leave a Comment