Federal Income Tax Rate 2020 Calculator

Capital Gains Tax Calculator .cgt-calculator-container { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; max-width: 800px; margin: 20px auto; padding: 20px; border: 1px solid #e0e0e0; border-radius: 8px; background-color: #f9f9f9; box-shadow: 0 4px 6px rgba(0,0,0,0.05); } .cgt-header { text-align: center; margin-bottom: 25px; } .cgt-header h2 { color: #2c3e50; margin: 0; } .cgt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } @media (max-width: 600px) { .cgt-grid { grid-template-columns: 1fr; } } .cgt-input-group { margin-bottom: 15px; } .cgt-input-group label { display: block; font-weight: 600; margin-bottom: 5px; color: #34495e; } .cgt-input-group input, .cgt-input-group select { width: 100%; padding: 10px; border: 1px solid #bdc3c7; border-radius: 4px; font-size: 16px; box-sizing: border-box; } .cgt-input-group input:focus, .cgt-input-group select:focus { border-color: #3498db; outline: none; box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2); } .cgt-btn { width: 100%; padding: 15px; background-color: #27ae60; color: white; border: none; border-radius: 4px; font-size: 18px; font-weight: bold; cursor: pointer; transition: background-color 0.3s; margin-top: 10px; } .cgt-btn:hover { background-color: #219150; } .cgt-results { margin-top: 25px; background-color: #fff; border: 1px solid #e0e0e0; border-radius: 4px; padding: 20px; display: none; } .cgt-result-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f0f0f0; } .cgt-result-row:last-child { border-bottom: none; } .cgt-result-label { color: #7f8c8d; } .cgt-result-value { font-weight: bold; color: #2c3e50; } .cgt-final-tax { color: #c0392b; font-size: 1.2em; } .cgt-net-profit { color: #27ae60; font-size: 1.2em; } .cgt-content-section { max-width: 800px; margin: 40px auto; line-height: 1.6; color: #333; } .cgt-content-section h3 { color: #2c3e50; margin-top: 30px; } .cgt-content-section ul { margin-bottom: 20px; } .cgt-content-section li { margin-bottom: 10px; }

Capital Gains Tax Calculator (USA)

Estimate your tax liability on asset sales for the 2024-2025 tax year.

Single Married Filing Jointly Head of Household
Short Term (Less than 1 year) Long Term (More than 1 year)
Total Capital Gain: $0.00
Tax Type Applied:
Estimated Tax Rate: 0%
Estimated Tax Amount: $0.00
Net Profit After Tax: $0.00

Understanding Capital Gains Tax

Capital gains tax is a levy on the profit realized from the sale of a non-inventory asset that was purchased at a cost amount that was lower than the amount realized on the sale. The most common capital gains are realized from the sale of stocks, bonds, precious metals, and property.

Short-Term vs. Long-Term Capital Gains

The tax rate you pay depends heavily on how long you held the asset before selling it:

  • Short-Term Capital Gains: Applied to assets held for one year or less. These are taxed as ordinary income, meaning they are subject to your regular income tax bracket (ranging from 10% to 37% depending on your total income).
  • Long-Term Capital Gains: Applied to assets held for more than one year. These rates are generally more favorable, typically 0%, 15%, or 20%, depending on your filing status and taxable income.

2024 Long-Term Capital Gains Tax Brackets

For the 2024 tax year, the long-term capital gains tax rates are determined by your taxable income thresholds:

  • 0% Rate: Income up to $47,025 (Single) or $94,050 (Married Jointly).
  • 15% Rate: Income between $47,026 and $518,900 (Single) or $94,051 and $583,750 (Married Jointly).
  • 20% Rate: Income exceeding $518,900 (Single) or $583,750 (Married Jointly).

How to Use This Calculator

To get an accurate estimate of your potential tax bill, follow these steps:

  1. Enter Purchase Price: The total amount you paid for the asset, including commissions or fees (your cost basis).
  2. Enter Sale Price: The total amount you received from the sale, minus any selling expenses.
  3. Select Filing Status: Choose whether you file taxes as Single, Married Filing Jointly, or Head of Household.
  4. Input Annual Income: Enter your taxable income from other sources (wages, interest, etc.). This determines your tax bracket.
  5. Select Duration: Indicate if you owned the asset for more or less than a year.
function calculateCapitalGains() { // Get Input Values var purchasePrice = parseFloat(document.getElementById('cgtPurchasePrice').value); var salePrice = parseFloat(document.getElementById('cgtSalePrice').value); var filingStatus = document.getElementById('cgtFilingStatus').value; var annualIncome = parseFloat(document.getElementById('cgtIncome').value); var duration = document.getElementById('cgtDuration').value; // Validation if (isNaN(purchasePrice) || isNaN(salePrice) || isNaN(annualIncome)) { alert("Please enter valid numbers for prices and income."); return; } // 1. Calculate Gross Gain var gain = salePrice – purchasePrice; // Display Result Container var resultsDiv = document.getElementById('cgtResults'); resultsDiv.style.display = 'block'; // Update Gain UI document.getElementById('displayGain').innerText = formatCurrency(gain); // If Loss or Break Even if (gain 609350) return 0.37; if (income > 243725) return 0.35; if (income > 191950) return 0.32; if (income > 100525) return 0.24; if (income > 47150) return 0.22; if (income > 11600) return 0.12; return 0.10; } else if (status === 'married') { if (income > 731200) return 0.37; if (income > 487450) return 0.35; if (income > 383900) return 0.32; if (income > 201050) return 0.24; if (income > 94300) return 0.22; if (income > 23200) return 0.12; return 0.10; } else { // Head of Household if (income > 609350) return 0.37; if (income > 243700) return 0.35; if (income > 191950) return 0.32; if (income > 100500) return 0.24; if (income > 63100) return 0.22; if (income > 16550) return 0.12; return 0.10; } } // Long Term Capital Gains Brackets (2024 Estimates) // Based on taxable income BEFORE the gain is added (simplified standard method) function getLongTermRate(income, status) { if (status === 'single') { if (income > 518900) return 0.20; if (income > 47025) return 0.15; return 0.0; } else if (status === 'married') { if (income > 583750) return 0.20; if (income > 94050) return 0.15; return 0.0; } else { // Head of Household if (income > 551350) return 0.20; if (income > 63000) return 0.15; return 0.0; } }

Leave a Comment