Passive Foreign Investment Company (PFIC) Analyzer
Understanding PFICs and Elections
A Passive Foreign Investment Company (PFIC) is a foreign corporation that meets certain tests related to passive income or passive assets. U.S. persons who own stock in a PFIC are subject to special, often unfavorable, tax rules unless they make one of several available elections.
This tool helps illustrate the *tax treatment* of your PFIC investment under the three primary U.S. tax regimes, *assuming* you already know you own a PFIC. You must determine if the foreign company is indeed a PFIC and if a particular election (QEF or Mark-to-Market) is available or appropriate for your situation.
The three main tax treatments/elections are:
- Default/Excess Distribution (Section 1291): The standard, often punitive, regime. Gains and certain distributions are treated as ordinary income allocated over your holding period and subject to an interest charge.
- Qualified Electing Fund (QEF) (Section 1295): Requires the PFIC to provide necessary information. You include your share of the PFIC's ordinary earnings and net capital gains in your gross income annually.
- Mark-to-Market (MTM) (Section 1296): Available only for "marketable stock". You treat the stock as if sold at fair market value at year-end, recognizing ordinary gain or loss.
Disclaimer: This tool is for informational purposes only and does not provide tax advice. PFIC rules are highly complex. Consult with a qualified tax professional regarding your specific circumstances, determining PFIC status, election eligibility, and calculating actual tax liabilities and interest charges.
Excess Distribution (Section 1291) Analysis
Use this tab to analyze the tax treatment under the default PFIC rules (Section 1291).
Enter the average of distributions received in the prior 3 years (or your holding period if shorter). Enter 0 if no prior distributions or holding period is less than 3 years.
Analysis Results (Section 1291):
QEF Election (Section 1295) Analysis
Use this tab if you have a valid QEF election in place for the PFIC for all years of your holding period (or since the QEF election was made) and received a PFIC Annual Information Statement.
Enter the amount from your PFIC Annual Information Statement (Form 8621, Part I).
Enter the amount from your PFIC Annual Information Statement (Form 8621, Part I). These are generally treated as long-term capital gains.
Distributions are generally treated as previously taxed income if received in a year after the QEF election was made and the amounts were previously included in income. They typically reduce your basis.
Under QEF, your basis is adjusted annually by amounts included/excluded from income and distributions received. Use your calculated adjusted basis.
Analysis Results (Section 1295 - QEF):
Mark-to-Market Election (Section 1296) Analysis
Use this tab if you have a valid Mark-to-Market election in place for marketable PFIC stock.
Generally treated as ordinary income under MTM.
Under Mark-to-Market, your basis is adjusted annually. Use your calculated adjusted basis.
Analysis Results (Section 1296 - Mark-to-Market):
Excess Distribution (Distribution Portion): ${formatCurrency(excessDistributionPortion)}
Total Amount Treated as Excess Distribution (Subject to Section 1291 Rules): ${formatCurrency(totalExcessDistributionAmount)}
Under the default Section 1291 rules, "excess distributions" (which include gain on the sale of PFIC stock) are subject to a special tax and interest charge. This total amount (${formatCurrency(totalExcessDistributionAmount)}) is allocated ratably over your holding period. Portions allocated to prior tax years are taxed at the highest ordinary income rate for those years, plus an interest charge. The portion allocated to the current year is taxed as ordinary income.
This tool does NOT calculate the actual tax or the interest charge. Consult a tax professional.
Share of PFIC Ordinary Earnings (from Statement): ${formatCurrency(ordinaryEarnings)}
Share of PFIC Net Capital Gains (from Statement): ${formatCurrency(capitalGains)}
Total Distributions Received This Year: ${formatCurrency(distributions)}
${sold ? `Sale Proceeds: ${formatCurrency(saleProceeds)}
Adjusted Basis at Time of Sale: ${formatCurrency(basis)}
` : 'Stock Sold This Year: No
'} ${sold ? `Gain/Loss on Sale: ${formatCurrency(gainOrLossOnSale)}
` : ''}Amount Treated as Ordinary Income (from Earnings): ${formatCurrency(ordinaryEarnings)}
Amount Treated as Long-Term Capital Gain (from PFIC CG + Sale Gain): ${formatCurrency(totalCapitalGain)}
${totalCapitalLoss > 0 ? `Amount Treated as Capital Loss (on Sale): ${formatCurrency(totalCapitalLoss)}
` : ''}
Under a valid QEF election, you include your share of the PFIC's ordinary earnings as ordinary income and net capital gains as long-term capital gains annually, regardless of whether distributed. Distributions received from previously taxed amounts are generally non-taxable (but reduce basis). Gain or loss on the sale of QEF stock is generally capital gain or loss. This analysis assumes you have a valid QEF election in place for all relevant years and received the required PFIC Annual Information Statement.
This tool does NOT calculate your final tax liability or track basis adjustments. Consult a tax professional.
Fair Market Value at Beginning of Year: ${formatCurrency(beginFmv)}
Fair Market Value at End of Year: ${formatCurrency(endFmv)}
FMV Change (End FMV - Begin FMV): ${formatCurrency(fmvChange)}
Total Distributions Received This Year: ${formatCurrency(distributions)}
${sold ? `Sale Proceeds: ${formatCurrency(saleProceeds)}
Adjusted Basis at Time of Sale: ${formatCurrency(basis)}
` : 'Stock Sold This Year: No
'} ${sold ? `Gain/Loss on Sale: ${formatCurrency(gainOrLossOnSale)}
` : ''}FMV Change Treatment: ${fmvChange >= 0 ? `Amount treated as Ordinary Income (limited by prior MTM losses): ${formatCurrency(fmvChange)}` : `Amount treated as Ordinary Loss (limited by prior MTM gains and overall income): ${formatCurrency(Math.abs(fmvChange))}` }
Distributions Treatment: Amount generally treated as Ordinary Income: ${formatCurrency(distributions)}
${sold ? (gainOrLossOnSale >= 0 ? `Gain on Sale Treatment: Amount treated as Ordinary Income (subject to basis adjustment): ${formatCurrency(gainOrLossOnSale)}
` : `Loss on Sale Treatment: Amount treated as Ordinary Loss (subject to basis adjustment and limitations): ${formatCurrency(Math.abs(gainOrLossOnSale))}
`) : ''}
Under a valid Mark-to-Market election for marketable PFIC stock, the increase (or decrease) in FMV at year-end is treated as ordinary income (or loss). Losses are limited to prior MTM gains. Distributions are generally ordinary income. Gain or loss on sale is also ordinary income or loss, with basis adjustments for prior MTM recognition. This analysis assumes you have a valid Mark-to-Market election in place.
This tool does NOT track prior MTM gains/losses for limitation purposes and does NOT calculate your final tax liability. Consult a tax professional.
Unknown analysis regime.
'; } } catch (e) { console.error("Calculation Error:", e); resultsHtml = `An error occurred during calculation. Please check your inputs.
`; } displayResults(regime, resultsHtml); } function downloadPdf(regime) { // Ensure jsPDF is loaded if (typeof window.jspdf === 'undefined') { console.error('jsPDF library not loaded.'); alert('PDF generation library not loaded. Please try again.'); return; } const { jsPDF } = window.jspdf; const doc = new jsPDF(); let yPos = 15; // Starting Y position const margin = 15; // Title doc.setFontSize(18); doc.setTextColor(0, 86, 179); // RGB for #0056b3 (Accent color) doc.text('Passive Foreign Investment Company (PFIC) Analysis', margin, yPos); yPos += 20; // Regime Title or Basics Title let regimeTitle = ''; let filenameRegime = ''; let contentSourceElement = null; // Element containing the main content if (regime === 'basics') { regimeTitle = 'PFIC Basics and Election Overview'; filenameRegime = 'Basics'; contentSourceElement = document.getElementById('basics-tab'); } else { if (regime === 's1291') regimeTitle = 'Excess Distribution Regime (Section 1291) Analysis'; else if (regime === 'qef') regimeTitle = 'QEF Election Regime (Section 1295) Analysis'; else if (regime === 'mtm') regimeTitle = 'Mark-to-Market Election Regime (Section 1296) Analysis'; filenameRegime = regime.toUpperCase(); contentSourceElement = document.getElementById(`${regime}_results_content`); // For calculation tabs, check if results are displayed before proceeding const resultsSection = document.getElementById(`${regime}_results`); if (!resultsSection || resultsSection.style.display === 'none' || contentSourceElement.innerHTML.trim() === '' || contentSourceElement.textContent.includes('Error:')) { doc.setFontSize(12); doc.setTextColor(51, 51, 51); doc.text(`No calculation results available for ${regimeTitle.replace(' Analysis', '')} or an error occurred.`, margin, yPos); doc.save(`pfic_analysis_${filenameRegime}.pdf`); return; } } // Add Regime Title doc.setFontSize(14); doc.setTextColor(0, 86, 179); doc.text(regimeTitle, margin, yPos); yPos += 15; // Add content to PDF by iterating through paragraphs, handling bolding doc.setFontSize(10); doc.setTextColor(51, 51, 51); // Text color const paragraphs = contentSourceElement.querySelectorAll('p, li'); // Include list items for basics tab paragraphs.forEach(p => { let lineText = p.textContent.trim(); if (lineText) { // Handle list item bullet for basics tab if (p.tagName === 'LI' && regime === 'basics') { lineText = '- ' + lineText; } // Identify strong tags for potential bolding const strongElement = p.querySelector('strong'); const strongText = strongElement ? strongElement.textContent.trim() : ''; const splitText = doc.splitTextToSize(lineText, 180); splitText.forEach((segment, index) => { let currentX = margin; let remainingSegment = segment; // Attempt to bold the beginning of the segment if it matches the strong text if (strongText && index === 0 && lineText.startsWith(strongText.replace('','').replace('','').trim())) { // Find where the bold text ends within the current segment const boldEndIndex = segment.indexOf(strongText.replace('','').replace('','').trim()) + strongText.replace('','').replace('','').trim().length; const boldPart = segment.substring(0, boldEndIndex); const normalPart = segment.substring(boldEndIndex); if (boldPart) { doc.setFont(undefined, 'bold'); doc.text(boldPart, currentX, yPos); currentX += doc.getTextWidth(boldPart); } if (normalPart) { doc.setFont(undefined, 'normal'); doc.text(normalPart, currentX, yPos); } } else { // No bolding needed for this segment or it's not the start of the text doc.setFont(undefined, 'normal'); // Ensure normal font doc.text(segment, currentX, yPos); } yPos += 7; // Move to the next line segment position }); yPos += 3; // Extra space between paragraphs/list items } }); // Add the primary Note section for calculation tabs if (regime !== 'basics') { const noteElement = document.querySelector(`#${regime}-tab .results-section .note`); // Get the note *within* the results section if (noteElement) { yPos += 10; // Space before note doc.setFontSize(9); doc.setTextColor(85, 85, 85); // RGB for #555 (Note color) const noteText = noteElement.textContent.trim(); const splitNote = doc.splitTextToSize(noteText, 180); doc.text(splitNote, margin, yPos); // yPos += (splitNote.length * 6); // Space after note } } // Save the PDF doc.save(`pfic_analysis_${filenameRegime}.pdf`); } // Initial state setup // Hide all results sections initially pficAnalyzerDiv.querySelectorAll('.results-section').forEach(resultsDiv => { resultsDiv.style.display = 'none'; }); // Hide sale details sections initially document.getElementById('s1291_saleDetails').style.display = 'none'; document.getElementById('qef_saleDetails').style.display = 'none'; document.getElementById('mtm_saleDetails').style.display = 'none'; // Trigger change event on radio buttons to set initial display state pficAnalyzerDiv.querySelectorAll('input[type="radio"][name="s1291_sold"][checked]').forEach(radio => radio.dispatchEvent(new Event('change'))); pficAnalyzerDiv.querySelectorAll('input[type="radio"][name="qef_sold"][checked]').forEach(radio => radio.dispatchEvent(new Event('change'))); pficAnalyzerDiv.querySelectorAll('input[type="radio"][name="mtm_sold"][checked]').forEach(radio => radio.dispatchEvent(new Event('change'))); });The Passive Foreign Investment Company (PFIC) Analyzer is an essential tool for US taxpayers with investments in foreign mutual funds, trusts, or other passive income-generating foreign entities. PFIC rules impose complex tax and reporting obligations designed to discourage deferral of US tax on foreign passive income. Navigating these rules can be challenging, but this analyzer simplifies the process.
By entering your investment details, including ownership percentage, distributions, and gains, the tool helps determine whether your foreign investment qualifies as a PFIC under IRS guidelines. It then estimates your tax liabilities, including excess distribution taxes, interest charges, and the impact of various elections such as the Qualified Electing Fund (QEF) or Mark-to-Market (MTM) elections.
Understanding PFIC classification and tax consequences is critical for compliance with IRS regulations and avoiding unexpected tax burdens. Failure to report PFIC holdings properly can result in severe penalties and increased tax costs.
This analyzer is valuable for individual investors, tax professionals, and financial advisors managing international portfolios. It offers clear insights into PFIC taxation and assists in strategic planning to minimize tax liabilities and ensure timely reporting.
With the Passive Foreign Investment Company (PFIC) Analyzer, you can confidently manage your foreign investments’ tax aspects and stay compliant with complex US tax rules.
Use this tool today to simplify your PFIC tax analysis and make informed decisions about your international investment portfolio.
