Hard to Borrow Rate Calculator

.htb-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); } .htb-header { text-align: center; margin-bottom: 30px; } .htb-header h2 { color: #1a1a1a; font-size: 24px; margin-bottom: 10px; } .htb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 25px; } @media (max-width: 600px) { .htb-grid { grid-template-columns: 1fr; } } .htb-input-group { display: flex; flex-direction: column; } .htb-input-group label { font-weight: 600; margin-bottom: 8px; color: #444; font-size: 14px; } .htb-input-group input { padding: 12px; border: 1px solid #ccc; border-radius: 6px; font-size: 16px; } .htb-button { width: 100%; background-color: #0052cc; color: white; padding: 15px; border: none; border-radius: 6px; font-size: 18px; font-weight: bold; cursor: pointer; transition: background-color 0.2s; } .htb-button:hover { background-color: #0041a3; } .htb-result-box { margin-top: 30px; padding: 20px; background-color: #f8f9fa; border-radius: 8px; border-left: 5px solid #0052cc; } .htb-result-item { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 16px; } .htb-result-value { font-weight: bold; color: #0052cc; } .htb-article { margin-top: 40px; line-height: 1.6; color: #333; } .htb-article h3 { color: #1a1a1a; margin-top: 25px; } .htb-article ul { padding-left: 20px; }

Hard to Borrow (HTB) Fee Calculator

Calculate the daily and total locate costs for short selling restricted stocks.

Total Position Value:
Daily HTB Fee:
Total Estimated HTB Cost:

What is a Hard to Borrow (HTB) Rate?

In the world of stock trading, "Hard to Borrow" refers to a security that is in high demand for short selling but has a limited supply for lending. When you want to short a stock, your broker must find shares to "borrow" so you can sell them. If the stock is on the HTB list, the broker charges a fee, known as the HTB rate, to cover the costs of locating these shares.

How HTB Fees Are Calculated

HTB fees are typically quoted as an annualized percentage rate. However, these fees are accrued daily, including weekends and holidays. The standard industry formula used by most prime brokers and retail platforms like Interactive Brokers or Fidelity is:

(Market Value of Shares × Annual Rate) / 360 = Daily Fee

Note: Most financial institutions use a 360-day year (Actual/360) for these calculations, though some may use 365. This calculator defaults to the standard 360-day financial convention.

Key Factors Influencing HTB Rates

  • Short Interest: The higher the percentage of the float that is shorted, the higher the HTB rate usually climbs.
  • Institutional Ownership: Stocks primarily held by retail investors are harder to borrow than those held by large institutions that participate in lending programs.
  • Corporate Actions: Mergers, acquisitions, or upcoming dividends can suddenly spike HTB rates.
  • Volatility: High-volatility "meme stocks" often see HTB rates exceeding 100% or even 200% annually.

Real-World Example

Imagine you want to short 200 shares of a stock priced at $50.00. The current annual HTB rate is 30%. You plan to hold the position for 5 days.

  • Position Value: 200 shares × $50.00 = $10,000
  • Annual Fee: $10,000 × 0.30 = $3,000
  • Daily Fee: $3,000 / 360 = $8.33
  • Total Cost for 5 days: $8.33 × 5 = $41.65

This cost is deducted from your account balance regardless of whether the stock price goes up or down. It is a critical "overhead" cost that short sellers must factor into their break-even analysis.

function calculateHTB() { var price = parseFloat(document.getElementById('stockPrice').value); var shares = parseFloat(document.getElementById('shareQuantity').value); var rate = parseFloat(document.getElementById('htbRate').value); var days = parseFloat(document.getElementById('holdingPeriod').value); var resultArea = document.getElementById('resultArea'); if (isNaN(price) || isNaN(shares) || isNaN(rate) || isNaN(days) || price <= 0 || shares <= 0 || rate < 0 || days <= 0) { alert("Please enter valid positive numbers for all fields."); resultArea.style.display = "none"; return; } // 1. Calculate Total Position Value var totalValue = price * shares; // 2. Calculate Daily Fee (Using 360-day convention) var annualDecimal = rate / 100; var dailyFee = (totalValue * annualDecimal) / 360; // 3. Calculate Total Cost for the period var totalCost = dailyFee * days; // Display results document.getElementById('posValue').innerText = "$" + totalValue.toLocaleString(undefined, {minimumFractionDigits: 2, maximumFractionDigits: 2}); document.getElementById('dailyFee').innerText = "$" + dailyFee.toLocaleString(undefined, {minimumFractionDigits: 2, maximumFractionDigits: 2}); document.getElementById('totalCost').innerText = "$" + totalCost.toLocaleString(undefined, {minimumFractionDigits: 2, maximumFractionDigits: 2}); resultArea.style.display = "block"; }

Leave a Comment