# Angler’s Mistake Recovery Cost Calculator

```markdown
# See Exactly How Much Lost Lures, Broken Rods and Other Fishing Mistakes Cost You Each Year—and Get Personalized Tips to Cut Those Expenses

---

## How It Works
1. **Select a mistake** from our verified database of common fishing errors
2. **Enter your gear’s price** and how often you experience this issue
3. **Get your personalized cost estimate** with detailed breakdowns and prevention tips

---

## Calculator Interface

### Input Section
```html
<div class="calculator-form">
  <select id="mistake-type" class="input-field" required>
    <option value="">Select a mistake...</option>
    <option value="lost_lure">Lost lure <span class="data-tooltip" title="Based on 2024 retailer surveys (updated Q2 2024). Average cost: $12.50">i</span></option>
    <option value="broken_rod">Broken rod <span class="data-tooltip" title="Based on 2024 retailer surveys (updated Q2 2024). Average cost: $120.00">i</span></option>
    <option value="snagged_line">Snagged line <span class="data-tooltip" title="Based on 2024 retailer surveys (updated Q2 2024). Average cost: $30.00">i</span></option>
    <option value="lost_tackle_box">Lost tackle box <span class="data-tooltip" title="Based on 2024 retailer surveys (updated Q2 2024). Average cost: $85.00">i</span></option>
    <option value="broken_reel">Broken reel <span class="data-tooltip" title="Based on 2024 retailer surveys (updated Q2 2024). Average cost: $45.00">i</span></option>
    <option value="lost_hook">Lost hook <span class="data-tooltip" title="Based on 2024 retailer surveys (updated Q2 2024). Average cost: $2.50">i</span></option>
    <option value="line_tangle">Line tangle <span class="data-tooltip" title="Based on 2024 retailer surveys (updated Q2 2024). Average cost: $15.00">i</span></option>
    <option value="lost_bait">Lost bait <span class="data-tooltip" title="Based on 2024 retailer surveys (updated Q2 2024). Average cost: $5.00">i</span></option>
    <option value="broken_leader">Broken leader <span class="data-tooltip" title="Based on 2024 retailer surveys (updated Q2 2024). Average cost: $8.00">i</span></option>
    <option value="lost_license">Lost fishing license <span class="data-tooltip" title="Based on 2024 retailer surveys (updated Q2 2024). Average cost: $25.00">i</span></option>
    <option value="gear_damage">Gear damage <span class="data-tooltip" title="Based on 2024 retailer surveys (updated Q2 2024). Average cost: $35.00">i</span></option>
    <option value="lost_gloves">Lost gloves <span class="data-tooltip" title="Based on 2024 retailer surveys (updated Q2 2024). Average cost: $15.00">i</span></option>
    <option value="broken_bag">Broken tackle bag <span class="data-tooltip" title="Based on 2024 retailer surveys (updated Q2 2024). Average cost: $20.00">i</span></option>
  </select>

  <div class="price-input">
    <label for="gear-price">Your gear's price ($):</label>
    <input type="number" id="gear-price" min="0" step="0.01" placeholder="e.g., 15.99" required>
    <span class="error-message" id="price-error">Please enter a valid price</span>
  </div>

  <div class="frequency-input">
    <label for="frequency">How often do you experience this? (per year)</label>
    <select id="frequency" required>
      <option value="1">1-2 times</option>
      <option value="3">3-5 times</option>
      <option value="6">6-10 times</option>
      <option value="10">10+ times</option>
    </select>
    <span class="error-message" id="frequency-error">Please select a frequency</span>
  </div>

  <button id="calculate-btn" class="primary-btn">Calculate Annual Cost</button>
  <span class="error-message" id="form-error">Please complete all required fields</span>
</div>
```

### Results Display
```html
<div class="results-container">
  <div class="cost-estimate">
    <h3>Your Estimated Annual Cost</h3>
    <p class="large-number">$<span id="annual-cost">0.00</span></p>
    <p class="incident-cost">Per Incident Cost: $<span id="incident-cost">0.00</span></p>

    <div class="calculation-verification">
      <button id="show-details" class="toggle-btn">Show calculation details</button>
      <div id="calculation-details" class="hidden">
        <h5>Calculation Breakdown</h5>
        <p>1. Base Cost: $<span id="base-cost">0.00</span> (Your gear price)</p>
        <p>2. Base Multiplier: ×<span id="base-multiplier">0.0</span> (Based on mistake type)</p>
        <p>3. Per Incident Cost: $<span id="incident-cost-detail">0.00</span> (Base Cost × Multiplier)</p>
        <p>4. Annual Cost: $<span id="annual-cost-detail">0.00</span> (Per Incident Cost × Frequency)</p>
        <p>Recovery Rate: <span id="recovery-rate">0%</span> (Chance of recovering gear)</p>
        <p>Final Adjusted Cost: $<span id="adjusted-cost">0.00</span> (Annual Cost × (1 - Recovery Rate))</p>
        <p>Formula: (Gear Price × Base Multiplier) × Frequency × (1 - Recovery Rate)</p>
      </div>
    </div>
  </div>

  <div class="cost-breakdown">
    <h4>Cost Breakdown</h4>
    <ul id="breakdown-list">
      <!-- Dynamically populated -->
    </ul>
  </div>

  <div class="prevention-options">
    <h4>Prevention Options</h4>
    <div id="prevention-list">
      <!-- Dynamically populated -->
    </div>
  </div>

  <div class="savings-tip">
    <h4>Savings Tip</h4>
    <p id="savings-message">Consider using a tackle box organizer to reduce loss risk by 40%.</p>
  </div>

  <div class="action-buttons">
    <button id="save-calculation" class="secondary-btn" aria-label="Save this calculation to your history">Save this calculation</button>
    <button id="export-checklist" class="secondary-btn" aria-label="Get a printable loss prevention checklist">Get printable checklist</button>
  </div>

  <div class="history-section">
    <h4>Your Mistake History</h4>
    <div class="history-controls">
      <button id="view-history" class="tertiary-btn">View History</button>
      <button id="export-history" class="tertiary-btn">Export as CSV</button>
      <button id="export-pdf" class="tertiary-btn">Export as PDF</button>
    </div>
    <div id="history-table" class="hidden">
      <table>
        <thead>
          <tr>
            <th>Mistake Type</th>
            <th>Gear Price</th>
            <th>Frequency</th>
            <th>Annual Cost</th>
            <th>Actions</th>
          </tr>
        </thead>
        <tbody id="history-entries">
          <!-- Populated from localStorage -->
        </tbody>
      </table>
    </div>
    <div class="privacy-notice">
      <p>Your data stays on this device. No information is shared unless you opt into the email guide.</p>
    </div>
  </div>
</div>
```

---

## Core Calculation Logic
```javascript
function calculateRecoveryCost(mistakeType, gearPrice, frequency) {
  // Verified data from 2024 retailer surveys
  const mistakeData = {

---
From Diamond Co. — https://diamond-co.pages.dev/
