as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
do capital gains get factored into agi?
user
i believe that capital gains do affect agi, but if she sells $40k of stock, then the agi doesn't go up by $40k, it only goes up by the gains (gross proceeds of the sale minus cost basis). so if she paid $30k for that stock, then the agi goes up by $10k not $40k.
assistant